diff --git a/_multibuild b/_multibuild deleted file mode 100644 index fcc7b97..0000000 --- a/_multibuild +++ /dev/null @@ -1,3 +0,0 @@ - - test - diff --git a/python-sortedcontainers.changes b/python-sortedcontainers.changes index 6f137ef..1ef3025 100644 --- a/python-sortedcontainers.changes +++ b/python-sortedcontainers.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 22 21:06:24 UTC 2021 - Benjamin Greiner + +- Remove NumPy, SciPy, and Matplotlib requirement. They are not + used in the regular test suite. +- no multibuild needed anymore + ------------------------------------------------------------------- Thu Nov 26 08:40:07 UTC 2020 - Dirk Mueller diff --git a/python-sortedcontainers.spec b/python-sortedcontainers.spec index aecf820..a0e1671 100644 --- a/python-sortedcontainers.spec +++ b/python-sortedcontainers.spec @@ -1,7 +1,7 @@ # # spec file for package python-sortedcontainers # -# 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 @@ -17,31 +17,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "test" -%define psuffix -test -%bcond_without test -%else -%define psuffix %{nil} -%bcond_with test -%endif -Name: python-sortedcontainers%{psuffix} +Name: python-sortedcontainers Version: 2.3.0 Release: 0 Summary: Sorted container data types License: Apache-2.0 URL: https://github.com/grantjenks/python-sortedcontainers Source: https://github.com/grantjenks/python-sortedcontainers/archive/v%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module matplotlib} -BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module scipy} -%endif %python_subpackages %description @@ -67,21 +54,15 @@ rm -rf sortedcontainers.egg-info %python_build %install -%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%endif %check -%if %{with test} %pytest tests -%endif -%if !%{with test} %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/* -%endif %changelog