From 031ee039b593fd595c1a2be3890ee5201793895702d132e271c5a5105322c9f4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 09:54:29 +0000 Subject: [PATCH] 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 --- python-plyvel.changes | 5 +++++ python-plyvel.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-plyvel.changes b/python-plyvel.changes index 9005a95..4f5dcd6 100644 --- a/python-plyvel.changes +++ b/python-plyvel.changes @@ -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 diff --git a/python-plyvel.spec b/python-plyvel.spec index 4fbdeeb..0259f00 100644 --- a/python-plyvel.spec +++ b/python-plyvel.spec @@ -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