]> git.pld-linux.org Git - packages/python-characteristic.git/commitdiff
- added setup patch (adjust setup.cfg for current setuptools/pytest)
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 15 Mar 2022 21:15:09 +0000 (22:15 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 15 Mar 2022 21:15:09 +0000 (22:15 +0100)
python-characteristic-setup.patch [new file with mode: 0644]
python-characteristic.spec

diff --git a/python-characteristic-setup.patch b/python-characteristic-setup.patch
new file mode 100644 (file)
index 0000000..c7d966f
--- /dev/null
@@ -0,0 +1,8 @@
+--- characteristic-14.3.0/setup.cfg.orig       2014-12-19 14:48:48.000000000 +0100
++++ characteristic-14.3.0/setup.cfg    2022-03-15 06:26:49.668485181 +0100
+@@ -1,4 +1,4 @@
+-[pytest]
++[tool:pytest]
+ minversion = 2.6
+ strict = true
+ norecursedirs = .* build dist test_data *.egg
index cc17bc8fc3e3077edbee1a2759b09150b6678962..26889288e6b4576c335add22a4c5e836028c6cbc 100644 (file)
@@ -15,6 +15,7 @@ Group:                Libraries/Python
 #Source0Download: https://pypi.org/simple/characteristic/
 Source0:       https://files.pythonhosted.org/packages/source/c/characteristic/characteristic-%{version}.tar.gz
 # Source0-md5: b249368dd021fde1c06b4802867c0913
+Patch0:                %{name}-setup.patch
 URL:           https://characteristic.readthedocs.org/
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -118,6 +119,7 @@ Dokumentacja API moduĊ‚u Pythona characteristic.
 
 %prep
 %setup -q -n characteristic-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
This page took 0.128204 seconds and 4 git commands to generate.