15
0
forked from pool/python-case

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
This commit is contained in:
Tomáš Chvátal
2019-10-04 07:42:37 +00:00
committed by Git OBS Bridge
parent e95384ab07
commit 721f3ae8e1
3 changed files with 17 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 3 16:35:14 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Remove dependency on coverage
Add remove_coverage.patch to facilitate that
-------------------------------------------------------------------
Mon Aug 13 14:07:19 UTC 2018 - mcepl@suse.com

View File

@@ -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}

6
remove_coverage.patch Normal file
View File

@@ -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