public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jwcrypto] f44: Update to 1.6.0
@ 2026-09-01 17:23 Simo Sorce
0 siblings, 0 replies; only message in thread
From: Simo Sorce @ 2026-09-01 17:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-jwcrypto
Branch : f44
Commit : dcf3e043faa610c51f2e538c685d19d42a5e324d
Author : Simo Sorce <simo@redhat.com>
Date : 2026-09-01T13:16:51-04:00
Stats : +26/-36 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-jwcrypto/c/dcf3e043faa610c51f2e538c685d19d42a5e324d?branch=f44
Log:
Update to 1.6.0
Signed-off-by: Simo Sorce <simo@redhat.com>
---
diff --git a/.gitignore b/.gitignore
index 4f906ef..c2fa4b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/jwcrypto-1.4.tar.gz
/jwcrypto-1.4.1.tar.gz
/jwcrypto-1.4.2.tar.gz
+/jwcrypto-1.6.0.tar.gz
diff --git a/python-jwcrypto.spec b/python-jwcrypto.spec
index d5338ad..650d49f 100644
--- a/python-jwcrypto.spec
+++ b/python-jwcrypto.spec
@@ -1,69 +1,58 @@
-%global srcname jwcrypto
-
-Name: python-%{srcname}
-Version: 1.4.2
+Name: python-jwcrypto
+Version: 1.6.0
Release: %autorelease
Summary: Implements JWK, JWS, JWE specifications using python-cryptography
License: LGPL-3.0-or-later
-URL: https://github.com/latchset/%{srcname}
-Source0: https://github.com/latchset/%{srcname}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
+URL: https://github.com/latchset/jwcrypto
+Source0: https://github.com/latchset/jwcrypto/releases/download/v%{version}/jwcrypto-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
-BuildRequires: python%{python3_pkgversion}-cryptography >= 2.3
-BuildRequires: python%{python3_pkgversion}-pytest
-%if %{undefined rhel}
-BuildRequires: python%{python3_pkgversion}-deprecated
-%endif
+BuildRequires: python3-pytest
+BuildRequires: python3-devel
+
+%generate_buildrequires
+%pyproject_buildrequires
+
%description
Implements JWK, JWS, JWE specifications using python-cryptography
-%package -n python%{python3_pkgversion}-%{srcname}
+%package -n python3-jwcrypto
Summary: Implements JWK, JWS, JWE specifications using python-cryptography
-Requires: python%{python3_pkgversion}-cryptography >= 2.3
-%if %{undefined rhel}
-Requires: python%{python3_pkgversion}-deprecated
-%endif
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
+Requires: python3-cryptography >= 2.3
+%{?python_provide:%python_provide python3-jwcrypto}
-%description -n python%{python3_pkgversion}-%{srcname}
+%description -n python3-jwcrypto
Implements JWK, JWS, JWE specifications using python-cryptography
%prep
-%setup -q -n %{srcname}-%{version}
-%if %{defined rhel}
-# avoid python-deprecated dependency
-sed -i -e '/deprecated/d' setup.py %{srcname}.egg-info/requires.txt
-sed -i -e '/^from deprecated/d' -e '/@deprecated/d' %{srcname}/*.py
-%endif
+%setup -q -n jwcrypto-%{version}
%build
-%py3_build
+%pyproject_wheel
%check
-%{__python3} -bb -m pytest %{srcname}/test*.py
+%{__python3} -bb -m pytest jwcrypto/test*.py
%install
-%py3_install
+%pyproject_install
-rm -rf %{buildroot}%{_docdir}/%{srcname}
-rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/tests{,-cookbook}.py*
-rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/tests{,-cookbook}.*.py*
+rm -rf %{buildroot}%{_docdir}/jwcrypto
+rm -rf %{buildroot}%{python3_sitelib}/jwcrypto/tests{,-cookbook}.py*
+rm -rf %{buildroot}%{python3_sitelib}/jwcrypto/__pycache__/tests{,-cookbook}.*.py*
-%files -n python%{python3_pkgversion}-%{srcname}
+%files -n python3-jwcrypto
%doc README.md
%license LICENSE
-%{python3_sitelib}/%{srcname}
-%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
+%{python3_sitelib}/jwcrypto
+%{python3_sitelib}/jwcrypto-%{version}.dist-info
%changelog
diff --git a/sources b/sources
index a5676a5..42dafa9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jwcrypto-1.4.2.tar.gz) = dbf86edea8bb11023a0f6e35020bf728ea341b084db2178e105de27ce81ede013ae1cd8bfb061d66cf53fc9f628cbd58a55ce9a201ce49f94179d04be18eda41
+SHA512 (jwcrypto-1.6.0.tar.gz) = c12c1453f8d1e44592bc6ca95690a902cf6c3b64228df04fe47f02227b1c0a99bd3a4c73c2e0f6b343495abe475c26aa4bdd892834f5ae6093ce33e54d938c70
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-01 17:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01 17:23 [rpms/python-jwcrypto] f44: Update to 1.6.0 Simo Sorce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox