14
0

Accepting request 922968 from system:homeautomation:home-assistant:unstable

- update to 3.4.8
- keep new rust support disabled for now to avoid new dependencies

OBS-URL: https://build.opensuse.org/request/show/922968
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=138
This commit is contained in:
2021-10-04 21:39:33 +00:00
committed by Git OBS Bridge
parent b02abbbf1c
commit 235e4ac2e6
6 changed files with 25 additions and 16 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-cryptography
Version: 3.3.2
Version: 3.4.8
Release: 0
Summary: Python library which exposes cryptographic recipes and primitives
License: Apache-2.0 OR BSD-3-Clause
@@ -39,6 +39,7 @@ BuildRequires: %{python_module idna >= 2.1}
BuildRequires: %{python_module pyasn1-modules}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools >= 11.3}
BuildRequires: %{python_module setuptools_rust}
BuildRequires: %{python_module six >= 1.4.1}
BuildRequires: fdupes
BuildRequires: libopenssl-devel
@@ -63,6 +64,7 @@ BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyasn1 >= 0.1.8}
BuildRequires: %{python_module pytest > 3.3.0}
BuildRequires: %{python_module pytest-subtests}
# /SECTION
# python-base is not enough, we need the _ssl module
Requires: python
@@ -89,6 +91,7 @@ functions.
%patch2 -p1
%build
export CRYPTOGRAPHY_DONT_BUILD_RUST=1
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
@@ -105,7 +108,7 @@ find . -name .keep -print -delete
%files %{python_files}
%license LICENSE LICENSE.APACHE LICENSE.BSD
%doc AUTHORS.rst CONTRIBUTING.rst CHANGELOG.rst README.rst
%doc CONTRIBUTING.rst CHANGELOG.rst README.rst
%{python_sitearch}/*
%changelog