forked from pool/python-pyOpenSSL
Accepting request 1189233 from system:homeautomation:home-assistant:unstable
- 24.2.1: * Deprecated OpenSSL.crypto.X509Req, OpenSSL.crypto.load_certificate_request, OpenSSL.crypto.dump_certificate_request. Instead, cryptography.x509.CertificateSigningRequest,s cryptography.x509.CertificateSigningRequestBuilder,s cryptography.x509.load_der_x509_csr,s or cryptography.x509.load_pem_x509_csr should be used. * Added type hints for the SSL module. #1308. * Changed OpenSSL.crypto.PKey.from_cryptography_key to accept public and private EC, ED25519, ED448 keys OBS-URL: https://build.opensuse.org/request/show/1189233 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=114
This commit is contained in:
@@ -26,12 +26,12 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyOpenSSL%{psuffix}
|
||||
Version: 24.1.0
|
||||
Version: 24.2.1
|
||||
Release: 0
|
||||
Summary: Python wrapper module around the OpenSSL library
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/pyca/pyopenssl
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyopenssl/pyopenssl-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM skip-networked-test.patch gh#pyca/pyopenssl#68 mcepl@suse.com
|
||||
# Mark tests requiring network access
|
||||
Patch0: skip-networked-test.patch
|
||||
@@ -40,11 +40,12 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-cffi
|
||||
Requires: (python-cryptography >= 41.0.5 with python-cryptography < 43)
|
||||
Requires: (python-cryptography >= 41.0.5 with python-cryptography < 44)
|
||||
Provides: pyOpenSSL = %{version}
|
||||
Provides: pyopenssl = %{version}-%release
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 43}
|
||||
BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 44}
|
||||
BuildRequires: %{python_module pretend}
|
||||
BuildRequires: %{python_module pyOpenSSL >= %version}
|
||||
BuildRequires: %{python_module pytest >= 3.0.1}
|
||||
@@ -64,7 +65,7 @@ cryptography (<https://github.com/pyca/cryptography>), which provides (among
|
||||
other things) a cffi-based interface to OpenSSL.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pyOpenSSL-%{version}
|
||||
%autosetup -p1 -n pyopenssl-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user