]> git.pld-linux.org Git - packages/flake8.git/commitdiff
- added req patch: adjust entrypoints versions to be compatible with rpm dependency... auto/th/flake8-3.7.8-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Oct 2019 20:09:08 +0000 (22:09 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Oct 2019 20:09:08 +0000 (22:09 +0200)
flake8-req.patch [new file with mode: 0644]
flake8.spec

diff --git a/flake8-req.patch b/flake8-req.patch
new file mode 100644 (file)
index 0000000..ed78e84
--- /dev/null
@@ -0,0 +1,11 @@
+--- flake8-3.7.8/setup.py.orig 2019-07-08 20:05:23.000000000 +0200
++++ flake8-3.7.8/setup.py      2019-10-22 22:07:31.791565818 +0200
+@@ -19,7 +19,7 @@
+     # http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
+     # And in which releases we will update those ranges here:
+     # http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
+-    "entrypoints >= 0.3.0, < 0.4.0",
++    "entrypoints >= 0.3, < 0.4",
+     "pyflakes >= 2.1.0, < 2.2.0",
+     "pycodestyle >= 2.5.0, < 2.6.0",
+     "mccabe >= 0.6.0, < 0.7.0",
index 6bcfc9689f5b16f57012a5f1a464bcd853a3e492..a853860eb72afaa6eaddf2d35129abde37632356 100644 (file)
@@ -15,6 +15,7 @@ Group:                Development/Tools
 #Source0Download: https://pypi.org/simple/flake8/
 Source0:       https://files.pythonhosted.org/packages/source/f/flake8/%{name}-%{version}.tar.gz
 # Source0-md5: 147957dd7f8af16117ae5c3e6b82df74
+Patch0:                %{name}-req.patch
 URL:           https://gitlab.com/pycqa/flake8
 BuildRequires: rpmbuild(macros) >= 1.714
 BuildRequires: rpm-pythonprov
@@ -130,6 +131,7 @@ Dokumentacja API moduĊ‚u Pythona flake8.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with python2}
This page took 0.127347 seconds and 4 git commands to generate.