]> git.pld-linux.org Git - packages/python3-cssselect2.git/commitdiff
- remove unrecognized --cov arg
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 1 Apr 2022 21:34:25 +0000 (23:34 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 1 Apr 2022 21:34:25 +0000 (23:34 +0200)
no-cov.patch [new file with mode: 0644]
python3-cssselect2.spec

diff --git a/no-cov.patch b/no-cov.patch
new file mode 100644 (file)
index 0000000..d6c14c5
--- /dev/null
@@ -0,0 +1,12 @@
+--- cssselect2-0.4.1/pyproject.toml~   2022-04-01 23:32:49.000000000 +0200
++++ cssselect2-0.4.1/pyproject.toml    2022-04-01 23:33:28.989868314 +0200
+@@ -40,9 +40,6 @@
+ Issues = 'https://github.com/Kozea/cssselect2/issues'
+ Donation = 'https://opencollective.com/courtbouillon'
+-[tool.pytest.ini_options]
+-addopts = '--cov'
+-
+ [tool.coverage.run]
+ branch = true
+ include = ['tests/*', 'cssselect2/*']
index fd3518b9cbe09e6ae0a691297a4b9a19ee840c22..5f053e7b3dedb076e31474b0cb290127acae0921 100644 (file)
@@ -14,6 +14,7 @@ Group:                Libraries/Python
 Source0:       https://files.pythonhosted.org/packages/source/c/cssselect2/cssselect2-%{version}.tar.gz
 # Source0-md5: 6dfd5963c8a5d85f2634d1650b1ddfe1
 Patch0:                disable-flake8-isort-pytest.patch
+Patch1:                no-cov.patch
 URL:           https://cssselect2.readthedocs.io/
 BuildRequires: python3-modules >= 1:3.6
 BuildRequires: python3-setuptools >= 1:39.2.0
@@ -59,6 +60,7 @@ Dokumentacja API modułu Pythona cssselect2.
 %prep
 %setup -n cssselect2-%{version}
 %patch0 -p1
+%patch1 -p1
 
 # for pythonegg dependencies
 %{__sed} -i -e 's/distutils.core/setuptools/' setup.py
This page took 0.184818 seconds and 4 git commands to generate.