Group :: Development/Python3
RPM: python3-module-beren
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%global pypi_name beren
Name: python3-module-%pypi_name
Version: 0.7.1
Release: alt1
Summary: Provides a REST client targeted at Orthanc REST API endpoints
License: GPLv3+
Group: Development/Python3
Packager: Ilya Mashkin <oddity at altlinux.ru>
Url: https://github.com/teffalump/beren
Source: https://files.pythonhosted.org/packages/source/b/%pypi_name/%pypi_name-%version.tar.gz
BuildRequires: rpm-build-python3 python3-module-setuptools rpm-macros-python3 pyproject-build python3-module-build
BuildArch: noarch
%description
python-beren provides a REST client targeted at Orthanc REST API endpoints
%prep
%setup -n %pypi_name-%version
# remove the pinning from the metadata
sed -i 's/apiron==.*$/apiron/' requirements.txt
%build
%python3_build
%install
%python3_install
%files
%doc README.md
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%pypi_name-%version-py?.??.egg-info/
%changelog
…
Todas as alterações você pod ver aqui
%global pypi_name beren
Name: python3-module-%pypi_name
Version: 0.7.1
Release: alt1
Summary: Provides a REST client targeted at Orthanc REST API endpoints
License: GPLv3+
Group: Development/Python3
Packager: Ilya Mashkin <oddity at altlinux.ru>
Url: https://github.com/teffalump/beren
Source: https://files.pythonhosted.org/packages/source/b/%pypi_name/%pypi_name-%version.tar.gz
BuildRequires: rpm-build-python3 python3-module-setuptools rpm-macros-python3 pyproject-build python3-module-build
BuildArch: noarch
%description
python-beren provides a REST client targeted at Orthanc REST API endpoints
%prep
%setup -n %pypi_name-%version
# remove the pinning from the metadata
sed -i 's/apiron==.*$/apiron/' requirements.txt
%build
%python3_build
%install
%python3_install
%files
%doc README.md
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%pypi_name-%version-py?.??.egg-info/
%changelog
…
Todas as alterações você pod ver aqui