From a93c14c536c9c982ca4d44e7b9736cd010a6394d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Thu, 5 Dec 2024 11:21:13 +0100 Subject: [PATCH] automatic version update by autodist [release 2.10.1-1mamba;Wed Dec 04 2024] --- python-pyjwt.spec | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/python-pyjwt.spec b/python-pyjwt.spec index 208a310..1097663 100644 --- a/python-pyjwt.spec +++ b/python-pyjwt.spec @@ -1,14 +1,14 @@ -%define pkgname %(echo %name | cut -d- -f2-) +%define pkgname PyJWT Name: python-pyjwt -Version: 2.8.0 -Release: 2mamba +Version: 2.10.1 +Release: 1mamba Summary: JSON Web Token implementation in Python Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/jpadilla/pyjwt -Source: https://pypi.debian.net/PyJWT/PyJWT-%{version}.tar.gz +Source: https://pypi.debian.net/PyJWT/pyjwt-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel @@ -26,29 +26,37 @@ Obsoletes: python-jwt%{?pyappend:-%pyappend} < 2.3.0 %endif %prep -%setup -q -n PyJWT-%{version} +%setup -q -n pyjwt-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/pdm; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done +#%endif -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/PyJWT-%{version}-py*.egg-info -%{python_sitearch}/PyJWT-%{version}-py*.egg-info/* +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/jwt +%{python_sitelib}/jwt/* %doc LICENSE %changelog +* Wed Dec 04 2024 Automatic Build System 2.10.1-1mamba +- automatic version update by autodist + +* Sun Nov 24 2024 Silvan Calarco 2.10.0-1mamba +- update to 2.10.0 + * Tue Sep 26 2023 Automatic Build System 2.8.0-2mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba