automatic version update by autodist [release 2.10.1-1mamba;Wed Dec 04 2024]

This commit is contained in:
Automatic Build System 2024-12-05 11:21:13 +01:00
parent 02f1874ced
commit a93c14c536

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@openmamba.org> 2.10.1-1mamba
- automatic version update by autodist
* Sun Nov 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-1mamba
- update to 2.10.0
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.8.0-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba