- Add remove-nose.patch:

* Stop using nose to skip tests.
- Adjust Requires from python-nose to python-pytest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=10
This commit is contained in:
2021-09-15 04:40:19 +00:00
committed by Git OBS Bridge
parent dadb02a190
commit 4a14df258f
3 changed files with 23 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-case
#
# 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
@@ -27,11 +27,12 @@ URL: http://github.com/celery/case
Source: https://files.pythonhosted.org/packages/source/c/case/case-%{version}.tar.gz
Patch0: remove_unittest2.patch
Patch1: remove_coverage.patch
Patch2: remove-nose.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mock >= 2.0
Requires: python-nose >= 1.3.7
Requires: python-pytest
Requires: python-setuptools
Requires: python-six
BuildArch: noarch