Do not patch in a test extra downstream
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
diff -Naur re-assert-1.1.0.orig/setup.cfg re-assert-1.1.0/setup.cfg
|
||||
--- re-assert-1.1.0.orig/setup.cfg 2022-10-13 16:11:49.695696821 +0100
|
||||
+++ re-assert-1.1.0/setup.cfg 2022-10-13 16:13:32.453753495 +0100
|
||||
@@ -23,6 +23,10 @@
|
||||
regex
|
||||
python_requires = >=3.6.1
|
||||
|
||||
+[options.extras_require]
|
||||
+test =
|
||||
+ pytest >= 3
|
||||
+
|
||||
[bdist_wheel]
|
||||
universal = True
|
||||
|
||||
@@ -8,12 +8,12 @@ License: MIT
|
||||
URL: https://github.com/asottile/re-assert
|
||||
Source: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
|
||||
|
||||
Patch: 0001_adding_pytest_to_the_testing_dependencies.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
|
||||
%global common_description %{expand:
|
||||
%{summary}!}
|
||||
|
||||
@@ -31,7 +31,7 @@ Summary: %{summary}
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x test
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user