14
0
forked from pool/python-PyNaCl

- Add missing runtime dependency on cffi

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyNaCl?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2019-09-25 14:20:55 +00:00
committed by Git OBS Bridge
parent 5d3741dade
commit 1debb1f328
2 changed files with 12 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 25 14:15:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Add missing runtime dependency on cffi
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 18 11:12:47 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> Thu Jul 18 11:12:47 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -23,25 +23,25 @@ Release: 0
Summary: Python binding to the Networking and Cryptography (NaCl) library Summary: Python binding to the Networking and Cryptography (NaCl) library
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/pyca/pynacl/ URL: https://github.com/pyca/pynacl/
Source: https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz Source: https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
# https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7 # https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
Patch0: python-PyNaCl-hypothesis-remove-average_size.patch Patch0: python-PyNaCl-hypothesis-remove-average_size.patch
Patch1: fix_tests.patch Patch1: fix_tests.patch
BuildRequires: %{python_module base}
BuildRequires: %{python_module cffi} BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pycparser} BuildRequires: %{python_module pycparser}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module hypothesis >= 3.27.0}
BuildRequires: %{python_module pytest >= 3.2.1}
# /SECTION
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libsodium) BuildRequires: pkgconfig(libsodium)
Requires: python-cffi
Requires: python-six Requires: python-six
# SECTION test requirements
BuildRequires: %{python_module hypothesis >= 3.27.0}
BuildRequires: %{python_module pytest >= 3.2.1}
# /SECTION
%python_subpackages %python_subpackages
%description %description
@@ -63,7 +63,7 @@ export SODIUM_INSTALL="system"
%python_expand %fdupes %{buildroot}/%{$python_sitearch} %python_expand %fdupes %{buildroot}/%{$python_sitearch}
%check %check
%pytest_arch -v %pytest_arch
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE