Группа :: Development/Python3
Пакет: python3-module-jwcrypto
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name jwcrypto
%def_with check
%define pypi_version 1.1
Name: python3-module-%pypi_name
Version: 1.4.2
Release: alt1
Summary: JWCrypto is an implementation of the Javascript Object Signing and Encryption (JOSE) Web Standards
Group: Development/Python3
License: LGPL-3
Url: https://github.com/latchset/jwcrypto
BuildArch: noarch
Source: %name-%version.tar
Patch: %name-%version.patch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
# install_requires
BuildRequires: python3(cryptography)
BuildRequires: python3(deprecated)
%endif
%description
An implementation of the JOSE Working Group documents:
RFC 7515 - JSON Web Signature (JWS)
RFC 7516 - JSON Web Encryption (JWE)
RFC 7517 - JSON Web Key (JWK)
RFC 7518 - JSON Web Algorithms (JWA)
RFC 7519 - JSON Web Token (JWT)
RFC 7520 - Examples of Protecting Content Using JSON Object Signing and
Encryption (JOSE)
%prep
%setup
%autopatch -p1
%build
%pyproject_build
%install
%pyproject_install
#do not pack docs and tests
rm -rfv %buildroot%_defaultdocdir/jwcrypto/
rm -rfv %buildroot%python3_sitelibdir/jwcrypto/tests*
%check
%tox_check_pyproject -- -vra
%files
%python3_sitelibdir/jwcrypto/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь
%define pypi_name jwcrypto
%def_with check
%define pypi_version 1.1
Name: python3-module-%pypi_name
Version: 1.4.2
Release: alt1
Summary: JWCrypto is an implementation of the Javascript Object Signing and Encryption (JOSE) Web Standards
Group: Development/Python3
License: LGPL-3
Url: https://github.com/latchset/jwcrypto
BuildArch: noarch
Source: %name-%version.tar
Patch: %name-%version.patch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
# install_requires
BuildRequires: python3(cryptography)
BuildRequires: python3(deprecated)
%endif
%description
An implementation of the JOSE Working Group documents:
RFC 7515 - JSON Web Signature (JWS)
RFC 7516 - JSON Web Encryption (JWE)
RFC 7517 - JSON Web Key (JWK)
RFC 7518 - JSON Web Algorithms (JWA)
RFC 7519 - JSON Web Token (JWT)
RFC 7520 - Examples of Protecting Content Using JSON Object Signing and
Encryption (JOSE)
%prep
%setup
%autopatch -p1
%build
%pyproject_build
%install
%pyproject_install
#do not pack docs and tests
rm -rfv %buildroot%_defaultdocdir/jwcrypto/
rm -rfv %buildroot%python3_sitelibdir/jwcrypto/tests*
%check
%tox_check_pyproject -- -vra
%files
%python3_sitelibdir/jwcrypto/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь