public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jwcrypto] rawhide: Update to 1.5.7
@ 2026-06-03 18:56 Simo Sorce
  0 siblings, 0 replies; only message in thread
From: Simo Sorce @ 2026-06-03 18:56 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-jwcrypto
            Branch : rawhide
            Commit : b7f0af6189fac3cf286d0392d33d3f30559331d6
            Author : Simo Sorce <simo@redhat.com>
            Date   : 2026-06-03T14:55:48-04:00
            Stats  : +25/-36 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-jwcrypto/c/b7f0af6189fac3cf286d0392d33d3f30559331d6?branch=rawhide

            Log:
            Update to 1.5.7

Signed-off-by: Simo Sorce <simo@redhat.com>

---
diff --git a/.gitignore b/.gitignore
index 4f906ef..a32fc70 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.5.7.tar.gz

diff --git a/python-jwcrypto.spec b/python-jwcrypto.spec
index d5338ad..6bd517f 100644
--- a/python-jwcrypto.spec
+++ b/python-jwcrypto.spec
@@ -1,69 +1,57 @@
-%global srcname jwcrypto
-
-Name:           python-%{srcname}
-Version:        1.4.2
+Name:           python-jwcrypto
+Version:        1.5.7
 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-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..ad2f739 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jwcrypto-1.4.2.tar.gz) = dbf86edea8bb11023a0f6e35020bf728ea341b084db2178e105de27ce81ede013ae1cd8bfb061d66cf53fc9f628cbd58a55ce9a201ce49f94179d04be18eda41
+SHA512 (jwcrypto-1.5.7.tar.gz) = 9f05edc9c0969c3415fede22cc20bd0036187f7acd0477f82f7288809ccd9af9d00ec9f4bff7c6b47083c158395a3fc11024156ef5f2dc148820288002098ef9

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-03 18:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 18:56 [rpms/python-jwcrypto] rawhide: Update to 1.5.7 Simo Sorce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox