14
0

Accepting request 1178189 from home:mcepl:branches:devel:languages:python

- Clean up the spec
- Unfortunately, the tests are still not run
  (gh#LudovicRousseau/PyKCS11#115).

OBS-URL: https://build.opensuse.org/request/show/1178189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyKCS11?expand=0&rev=8
This commit is contained in:
2024-06-02 21:13:55 +00:00
committed by Git OBS Bridge
parent 0a4de52880
commit 8b069b730b
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jun 2 21:11:10 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the spec
- Unfortunately, the tests are still not run
(gh#LudovicRousseau/PyKCS11#115).
-------------------------------------------------------------------
Fri May 24 16:22:04 UTC 2024 - Richard Rahl <rrahl0@disroot.org>

View File

@@ -26,15 +26,14 @@ URL: https://github.com/LudovicRousseau/PyKCS11
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module asn1crypto}
BuildRequires: %{python_module build}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module python-coveralls}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
BuildRequires: softhsm-devel
BuildRequires: swig
%python_subpackages
@@ -53,13 +52,15 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# test depends on softhsm, which is not in factory
#%%python_exec run_test.py
export $(python3 get_PYKCS11LIB.py)
# Unfortunately the test suite is irrecovabily broken
# gh#LudovicRousseau/PyKCS11#115
# %%pyunittest_arch discover -v test
%files %{python_files}
%doc Changes.txt README.md
%license COPYING
%{python_sitearch}/PyKCS11
%{python_sitearch}/PyKCS11-%{version}.dist-info
%{python_sitearch}/PyKCS11-%{version}*-info
%changelog