From 721f3ae8e1a8f83cd37431de83608d5c3c8eb67e6b1facc54a057554950ce1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 4 Oct 2019 07:42:37 +0000 Subject: [PATCH] Accepting request 734831 from home:jayvdb:python38-packages - Remove dependency on coverage Add remove_coverage.patch to facilitate that OBS-URL: https://build.opensuse.org/request/show/734831 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=6 --- python-case.changes | 6 ++++++ python-case.spec | 10 +++++----- remove_coverage.patch | 6 ++++++ 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 remove_coverage.patch diff --git a/python-case.changes b/python-case.changes index 49c68aa..daa1748 100644 --- a/python-case.changes +++ b/python-case.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 3 16:35:14 UTC 2019 - John Vandenberg + +- Remove dependency on coverage + Add remove_coverage.patch to facilitate that + ------------------------------------------------------------------- Mon Aug 13 14:07:19 UTC 2018 - mcepl@suse.com diff --git a/python-case.spec b/python-case.spec index e144bcb..852b74c 100644 --- a/python-case.spec +++ b/python-case.spec @@ -1,7 +1,7 @@ # # spec file for package python-case # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,8 +25,8 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: http://github.com/celery/case Source: https://files.pythonhosted.org/packages/source/c/case/case-%{version}.tar.gz -Patch: remove_unittest2.patch -BuildRequires: %{python_module coverage} +Patch0: remove_unittest2.patch +Patch1: remove_coverage.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} @@ -41,7 +41,7 @@ BuildArch: noarch %python_subpackages %description -Python unittest Utilities +Python unittest Utilities. %prep %setup -q -n case-%{version} diff --git a/remove_coverage.patch b/remove_coverage.patch new file mode 100644 index 0000000..1f21d3b --- /dev/null +++ b/remove_coverage.patch @@ -0,0 +1,6 @@ +Index: case-1.5.3/requirements/test.txt +=================================================================== +--- case-1.5.3.orig/requirements/test.txt ++++ case-1.5.3/requirements/test.txt +@@ -1 +0,0 @@ +-coverage>=3.0