#4 Add pyjwt[crypto] subpackage
Merged 9 months ago by churchyard. Opened 9 months ago by churchyard.
rpms/ churchyard/python-jwt extras  into  master

file modified
+10 -2
@@ -21,7 +21,7 @@ 

  

  Name:           python-%{pkgname}

  Version:        1.7.1

- Release:        8%{?dist}

+ Release:        9%{?dist}

  Summary:        JSON Web Token implementation in Python

  License:        MIT

  URL:            https://github.com/jpadilla/pyjwt
@@ -54,11 +54,16 @@ 

  BuildRequires:  python%{python3_pkgversion}-setuptools

  BuildRequires:  python%{python3_pkgversion}-cryptography >= 1.4.0

  BuildRequires:  python%{python3_pkgversion}-pytest

- Requires:       python%{python3_pkgversion}-cryptography >= 1.4.0

+ 

+ %{?python_extras_subpkg:Recommends: python%{python3_pkgversion}-%{pkgname}+crypto}

+ %{!?python_extras_subpkg:Requires:  python%{python3_pkgversion}-cryptography >= 1.4.0}

+ 

  %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}

  

  

  %description -n python%{python3_pkgversion}-%{pkgname} %{common_description}

+ 

+ %{?python_extras_subpkg:%python_extras_subpkg -n python%{python3_pkgversion}-%{pkgname} -i %{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info crypto}

  %endif

  

  
@@ -104,6 +109,9 @@ 

  

  

  %changelog

+ * Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-9

+ - Add pyjwt[crypto] subpackage

+ 

  * Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-8

  - Rebuilt for Python 3.9

  

rebased onto 54fb094

9 months ago

Pull-Request has been merged by churchyard

9 months ago