automatic version update by autodist [release 0.41.0-1mamba;Fri Feb 16 2024]

This commit is contained in:
Automatic Build System 2024-02-17 11:15:07 +01:00
parent e51887b32f
commit d798826c74

View File

@ -1,12 +1,13 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-M2Crypto Name: python-M2Crypto
Version: 0.40.1 Version: 0.41.0
Release: 1mamba Release: 1mamba
Summary: A python wrapper for OpenSSL featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers and more Summary: A python wrapper for OpenSSL featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers and more
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/M2Crypto/ URL: https://gitlab.com/m2crypto/m2crypto
Source: http://pypi.debian.net/M2Crypto/M2Crypto-%{version}.tar.gz Source: http://pypi.debian.net/M2Crypto/M2Crypto-%{version}.tar.gz
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -14,9 +15,6 @@ BuildRequires: glibc-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpython311-devel BuildRequires: libpython311-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
BuildRequires: libpython-devel
Requires: python >= %python_version
%description %description
M2Crypto is the most complete Python wrapper for OpenSSL featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers (including AES); SSL functionality to implement clients and servers; HTTPS extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web session management; FTP/TLS client and server; S/MIME; ZServerSSL: A HTTPS server for Zope and ZSmime: An S/MIME messenger for Zope. M2Crypto can also be used to provide SSL for Twisted. Smartcards supported through the Engine interface. M2Crypto is the most complete Python wrapper for OpenSSL featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers (including AES); SSL functionality to implement clients and servers; HTTPS extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web session management; FTP/TLS client and server; S/MIME; ZServerSSL: A HTTPS server for Zope and ZSmime: An S/MIME messenger for Zope. M2Crypto can also be used to provide SSL for Twisted. Smartcards supported through the Engine interface.
@ -26,27 +24,34 @@ M2Crypto is the most complete Python wrapper for OpenSSL featuring RSA, DSA, DH,
%endif %endif
%prep %prep
%setup -q -c %{name}-%{version} %setup -q -n %{pkgname}-%{version}
%build %build
cd M2Crypto-%{version} CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
CFLAGS="%{optflags}" %{__python} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd M2Crypto-%{version} %{__python} -m installer --destdir=%{buildroot} dist/*.whl
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
%files %{?pyappend} -f M2Crypto-%{version}/%{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}
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%doc LICENCE
%changelog %changelog
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 0.41.0-1mamba
- automatic version update by autodist
* Thu Oct 26 2023 Automatic Build System <autodist@mambasoft.it> 0.40.1-1mamba * Thu Oct 26 2023 Automatic Build System <autodist@mambasoft.it> 0.40.1-1mamba
- automatic version update by autodist - automatic version update by autodist