3 %bcond_with tests # unit tests (not included in dist)
5 Summary: JSON Web Token library for Python 3
6 Summary(pl.UTF-8): Biblioteka JSON Web Token dla Pythona 3
11 Group: Libraries/Python
12 #Source0Download: https://pypi.org/simple/jwt/
13 Source0: https://files.pythonhosted.org/packages/source/j/jwt/jwt-%{version}.tar.gz
14 # Source0-md5: d430b0a659660e43e0bd4ec92ad323d9
15 Patch0: %{name}-requirements.patch
16 URL: https://pypi.org/project/jwt/
17 BuildRequires: python3-modules >= 1:3.6
18 BuildRequires: python3-setuptools
20 BuildRequires: python3-cryptography >= 2.9.3
22 BuildRequires: rpm-pythonprov
23 BuildRequires: rpmbuild(macros) >= 1.714
24 Requires: python3-modules >= 1:3.6
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is a JSON Web Token library for Python developed at Gehirn Inc.
31 %description -l pl.UTF-8
32 Ten pakiet zawiera bibliotekÄ™ JSON Web Token dla Pythona, rozwijanÄ… w
36 %setup -q -n jwt-%{version}
43 %{__python3} -m unittest discover -s jwt/tests
47 rm -rf $RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{py3_sitescriptdir}/jwt
58 %{py3_sitescriptdir}/jwt-%{version}-py*.egg-info