2024-01-05 16:22:55 +01:00
|
|
|
Name: python-pyOpenSSL
|
2024-01-24 10:43:51 +01:00
|
|
|
Version: 24.0.0
|
2024-02-12 09:06:06 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:22:55 +01:00
|
|
|
Summary: Python interface to the OpenSSL library
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:22:55 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:22:56 +01:00
|
|
|
URL: https://www.pyopenssl.org/en/stable/
|
2024-01-05 16:22:55 +01:00
|
|
|
Source: https://pypi.debian.net/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
2024-01-05 16:22:55 +01:00
|
|
|
Patch0: python-pyOpenSSLL-0.7-openssl.patch
|
|
|
|
Patch1: python-pyOpenSSL-elinks.patch
|
|
|
|
Patch2: python-pyOpenSSL-nopdfout.patch
|
|
|
|
Patch3: python-pyOpenSSL-threadsafe.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:23:00 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(cryptography)
|
2024-01-05 16:22:55 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:23:00 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:23:00 +01:00
|
|
|
BuildRequires: python-pytest-py3
|
|
|
|
BuildRequires: python-flaky-py3
|
|
|
|
BuildRequires: python-pretend-py3
|
2024-01-05 16:22:55 +01:00
|
|
|
BuildRequires: elinks
|
|
|
|
BuildRequires: tetex-dvips
|
|
|
|
BuildRequires: tetex-latex
|
|
|
|
BuildRequires: latex2html
|
|
|
|
|
|
|
|
%description
|
|
|
|
Python wrapper around a small subset of the OpenSSL library. Includes: X509 Certificates, SSL Context objects, SSL Connection objects using Python sockets as transport layer. The Connection object wraps all the socket methods and can therefore be used in
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n pyOpenSSL-%{version}
|
2024-01-05 16:22:55 +01:00
|
|
|
#%patch0 -p1 -b .openssl097
|
|
|
|
#%patch1 -p1 -b .elinks
|
|
|
|
#%patch2 -p1 -b .nopdfout
|
2024-01-05 16:22:55 +01:00
|
|
|
#%patch3 -p1 -b .threadsafe
|
|
|
|
|
|
|
|
# Fix permissions for debuginfo package
|
2024-01-05 16:22:55 +01:00
|
|
|
#%{__chmod} -x src/ssl/connection.c
|
2024-01-05 16:22:55 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
2024-01-05 16:22:55 +01:00
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
2024-01-05 16:22:55 +01:00
|
|
|
-O1 --skip-build \
|
2024-01-05 16:22:55 +01:00
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
2024-01-05 16:22:55 +01:00
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:22:55 +01:00
|
|
|
|
2024-01-05 16:23:00 +01:00
|
|
|
%ifnarch %{ix86} arm
|
|
|
|
%check
|
|
|
|
%if "%{?with_pyver}" == "3"
|
|
|
|
PYTHONPATH=${PWD}/build/lib pytest%{?with_pyver!="3":-py%{pyver}}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:22:55 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:22:55 +01:00
|
|
|
%dir %{python_sitearch}/pyOpenSSL-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/pyOpenSSL-%{version}-py*.egg-info/*
|
2024-01-05 16:22:55 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-12 09:06:06 +01:00
|
|
|
* Sun Feb 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.0.0-2mamba
|
|
|
|
- removed py310 build requirements
|
|
|
|
|
2024-01-24 10:43:51 +01:00
|
|
|
* Tue Jan 23 2024 Automatic Build System <autodist@openmamba.org> 24.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:01 +01:00
|
|
|
* Thu Oct 26 2023 Automatic Build System <autodist@mambasoft.it> 23.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:23:00 +01:00
|
|
|
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 23.2.0-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:23:00 +01:00
|
|
|
* Tue Aug 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 23.2.0-2mamba
|
|
|
|
- rebuilt with cryptography 41.0.3
|
|
|
|
|
2024-01-05 16:22:59 +01:00
|
|
|
* Wed May 31 2023 Automatic Build System <autodist@mambasoft.it> 23.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:58 +01:00
|
|
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 23.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:58 +01:00
|
|
|
* Fri Mar 24 2023 Automatic Build System <autodist@mambasoft.it> 23.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:57 +01:00
|
|
|
* Mon Jan 02 2023 Automatic Build System <autodist@mambasoft.it> 23.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:57 +01:00
|
|
|
* Mon Sep 26 2022 Automatic Build System <autodist@mambasoft.it> 22.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:56 +01:00
|
|
|
* Sun Jan 30 2022 Automatic Build System <autodist@mambasoft.it> 22.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:56 +01:00
|
|
|
* Sat Oct 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.0-1mamba
|
|
|
|
- update to 21.0.0
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20.0.1-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 20.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 19.1.0-1mamba
|
|
|
|
- update to 19.1.0
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 17.5.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Thu Nov 23 2017 Automatic Build System <autodist@mambasoft.it> 17.4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 17.3.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Wed Oct 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.2.0-1mamba
|
|
|
|
- update to 16.2.0
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
|
|
|
|
- update to 0.15.1
|
|
|
|
|
2024-01-05 16:22:55 +01:00
|
|
|
* Sat Jun 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 29 2008 gil <puntogil@libero.it> 0.8-2mamba
|
|
|
|
- rebuilt with python 2.6
|
|
|
|
|
|
|
|
* Tue Nov 18 2008 gil <puntogil@libero.it> 0.8-1mamba
|
|
|
|
- package created by autospec
|