]> git.pld-linux.org Git - packages/python3-tinycss2.git/commitdiff
- --cov option does not exist now
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 1 Apr 2022 20:24:32 +0000 (22:24 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 1 Apr 2022 20:24:32 +0000 (22:24 +0200)
no-cov.patch [new file with mode: 0644]
python3-tinycss2.spec

diff --git a/no-cov.patch b/no-cov.patch
new file mode 100644 (file)
index 0000000..d4c4fa6
--- /dev/null
@@ -0,0 +1,10 @@
+--- tinycss2-1.1.0/pyproject.toml~     2022-04-01 22:22:20.000000000 +0200
++++ tinycss2-1.1.0/pyproject.toml      2022-04-01 22:23:35.249327438 +0200
+@@ -44,7 +44,6 @@
+ exclude = ['.*']
+ [tool.pytest.ini_options]
+-addopts = '--cov'
+ norecursedirs = ['tests/css-parsing-tests']
+ [tool.coverage.run]
index fd2f6aa77f0a3240f54a1485cfc7b29724a4c968..faa3ba65ca75932c0238d35d9daee965a5e4e4d9 100644 (file)
@@ -15,6 +15,7 @@ Source0:      https://files.pythonhosted.org/packages/source/t/tinycss2/tinycss2-%{ve
 # Source0-md5: 7caf513c4e87fc2449dcfbf407a8416f
 Patch0:                disable-flake8-isort-for-pytest.patch
 Patch1:                disable-missing-data-tests.patch
+Patch2:                no-cov.patch
 URL:           https://pypi.org/project/tinycss2/
 BuildRequires: python3-modules >= 1:3.6
 BuildRequires: python3-setuptools
@@ -58,6 +59,7 @@ Dokumentacja API modułu Pythona tinycss2.
 %setup -n tinycss2-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # for pythonegg dependencies
 %{__sed} -i -e 's/distutils.core/setuptools/' setup.py
This page took 0.241336 seconds and 4 git commands to generate.