From 8a9f37920b827343dcdf3087ebbdcd8b6c98f9c012adccc4820a3846be954fee Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 15 Feb 2021 22:01:02 +0000 Subject: [PATCH] Accepting request 872655 from home:bnavigator:branches:devel:languages:python - Remove remnant requirements of six and numpy: These are neither used anywhere in the package code, nor in the tests. OBS-URL: https://build.opensuse.org/request/show/872655 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=22 --- python-pyrsistent.changes | 6 ++++++ python-pyrsistent.spec | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/python-pyrsistent.changes b/python-pyrsistent.changes index 78d1c10..17d2ac9 100644 --- a/python-pyrsistent.changes +++ b/python-pyrsistent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 15 21:26:17 UTC 2021 - Ben Greiner + +- Remove remnant requirements of six and numpy: These are neither + used anywhere in the package code, nor in the tests. + ------------------------------------------------------------------- Mon Sep 28 11:11:31 UTC 2020 - Dirk Mueller diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 8f3f81b..5129047 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyrsistent # -# 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 @@ -28,13 +28,10 @@ URL: http://github.com/tobgu/pyrsistent/ Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module hypothesis} -BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six %python_subpackages %description @@ -59,12 +56,15 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -export PYTHONDONTWRITEBYTECODE=1 -%pytest_arch +%pytest_arch -ra %files %{python_files} %license LICENCE.mit -%doc CHANGES.txt README README.rst -%{python_sitearch}/* +%doc CHANGES.txt README.rst +%pycache_only %{python_sitearch}/__pycache__/_pyrsistent* +%{python_sitearch}/_pyrsistent* +%{python_sitearch}/pvectorc* +%{python_sitearch}/pyrsistent +%{python_sitearch}/pyrsistent-%{version}*-info %changelog