15
0
forked from pool/python-plyvel

Accepting request 895708 from home:pgajdos:python

setup.py test replacement

OBS-URL: https://build.opensuse.org/request/show/895708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-plyvel?expand=0&rev=19
This commit is contained in:
2021-05-27 09:54:29 +00:00
committed by Git OBS Bridge
parent f38be54eae
commit 031ee039b5
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 27 07:28:42 UTC 2021 - pgajdos@suse.com
- %check: do not call setup.py test, use %pytest_arch macro
-------------------------------------------------------------------
Wed Mar 18 07:35:14 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-plyvel
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -46,6 +46,7 @@ cache sizes, custom comparators.
%prep
%setup -q -n plyvel-%{version}
mkdir tests
%build
%python_build
@@ -55,8 +56,8 @@ cache sizes, custom comparators.
%fdupes %{buildroot}
%check
%python_exec setup.py test
%pytest
mv plyvel plyvel.hide
%pytest_arch
%files %{python_files}
%license LICENSE.rst