Группа :: Development/Python3
Пакет: python3-module-scramp
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname scramp
%def_with check
Name: python3-module-%oname
Version: 1.4.4
Release: alt1
Summary: Python implementation of the SCRAM protocol
License: MIT-0
Group: Development/Python3
URL: https://pypi.org/project/scramp/
VCS: https://github.com/tlocke/scramp
Source: %oname-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-wheel
%if_with check
BuildRequires: python3-module-asn1crypto
BuildRequires: python3-module-passlib
BuildRequires: python3-module-pytest-mock
%endif
%description
%summary.
%prep
%setup -n %oname-%version
sed -i '/dynamic = /d' pyproject.toml
sed -i '9a version = "%version"' pyproject.toml
%build
%pyproject_build
%install
%pyproject_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v -x test
%files
%doc *.rst LICENSE
%python3_sitelibdir/%oname/
%python3_sitelibdir/%{pyproject_distinfo %oname}
%changelog
…
Полный changelog можно просмотреть здесь
%def_with check
Name: python3-module-%oname
Version: 1.4.4
Release: alt1
Summary: Python implementation of the SCRAM protocol
License: MIT-0
Group: Development/Python3
URL: https://pypi.org/project/scramp/
VCS: https://github.com/tlocke/scramp
Source: %oname-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-wheel
%if_with check
BuildRequires: python3-module-asn1crypto
BuildRequires: python3-module-passlib
BuildRequires: python3-module-pytest-mock
%endif
%description
%summary.
%prep
%setup -n %oname-%version
sed -i '/dynamic = /d' pyproject.toml
sed -i '9a version = "%version"' pyproject.toml
%build
%pyproject_build
%install
%pyproject_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v -x test
%files
%doc *.rst LICENSE
%python3_sitelibdir/%oname/
%python3_sitelibdir/%{pyproject_distinfo %oname}
%changelog
…
Полный changelog можно просмотреть здесь