diff --git a/0001-Remove-optional-or-unpackaged-test-deps.patch b/0001-Remove-optional-or-unpackaged-test-deps.patch deleted file mode 100644 index 43e7610..0000000 --- a/0001-Remove-optional-or-unpackaged-test-deps.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 4612fd1b6b7f9d3fdbfad34863e5b04535bb44cc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= -Date: Wed, 8 Dec 2021 10:22:37 +0100 -Subject: [PATCH] Remove optional or unpackaged test deps - ---- - setup.cfg | 10 ---------- - 1 file changed, 10 deletions(-) - -diff --git a/setup.cfg b/setup.cfg -index 0bc0101..442da7a 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -37,21 +37,11 @@ exclude = - [options.extras_require] - testing = - pytest >= 6 -- pytest-checkdocs >= 2.4 -- pytest-flake8 -- pytest-black >= 0.3.7; \ -- python_implementation != "PyPy" -- pytest-cov -- pytest-mypy; \ -- python_implementation != "PyPy" -- pytest-enabler >= 1.0.1 - - mock -- flake8-2020 - virtualenv>=13.0.0 - pytest-virtualenv>=1.2.7 # TODO: Update once man-group/pytest-plugins#188 is solved - wheel -- paver - pip>=19.1 # For proper file:// URLs support. - jaraco.envs>=2.2 - pytest-xdist --- -2.33.1 - diff --git a/Remove-optional-or-unpackaged-test-deps.patch b/Remove-optional-or-unpackaged-test-deps.patch new file mode 100644 index 0000000..43e7610 --- /dev/null +++ b/Remove-optional-or-unpackaged-test-deps.patch @@ -0,0 +1,38 @@ +From 4612fd1b6b7f9d3fdbfad34863e5b04535bb44cc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= +Date: Wed, 8 Dec 2021 10:22:37 +0100 +Subject: [PATCH] Remove optional or unpackaged test deps + +--- + setup.cfg | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/setup.cfg b/setup.cfg +index 0bc0101..442da7a 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -37,21 +37,11 @@ exclude = + [options.extras_require] + testing = + pytest >= 6 +- pytest-checkdocs >= 2.4 +- pytest-flake8 +- pytest-black >= 0.3.7; \ +- python_implementation != "PyPy" +- pytest-cov +- pytest-mypy; \ +- python_implementation != "PyPy" +- pytest-enabler >= 1.0.1 + + mock +- flake8-2020 + virtualenv>=13.0.0 + pytest-virtualenv>=1.2.7 # TODO: Update once man-group/pytest-plugins#188 is solved + wheel +- paver + pip>=19.1 # For proper file:// URLs support. + jaraco.envs>=2.2 + pytest-xdist +-- +2.33.1 + diff --git a/python-setuptools.spec b/python-setuptools.spec index f4025da..e8c6c74 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -40,7 +40,7 @@ Source0: %{pypi_source %{srcname} %{version}} # Some test deps are optional and either not desired or not available in Fedora, thus this patch removes them. # For future reference, these packages were removed: pytest-(checkdocs|black|cov|mypy|enabler), flake8-2020, paver -Patch1: 0001-Remove-optional-or-unpackaged-test-deps.patch +Patch: Remove-optional-or-unpackaged-test-deps.patch BuildArch: noarch