[packages/flake8] - added req patch: adjust entrypoints versions to be compatible with rpm dependency generators

qboosh qboosh at pld-linux.org
Tue Oct 22 22:05:36 CEST 2019


commit 7b99a73b28dd819ae20b1d0331ee328e7229fd7a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 22 22:09:08 2019 +0200

    - added req patch: adjust entrypoints versions to be compatible with rpm dependency generators

 flake8-req.patch | 11 +++++++++++
 flake8.spec      |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/flake8.spec b/flake8.spec
index 6bcfc96..a853860 100644
--- a/flake8.spec
+++ b/flake8.spec
@@ -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}
diff --git a/flake8-req.patch b/flake8-req.patch
new file mode 100644
index 0000000..ed78e84
--- /dev/null
+++ b/flake8-req.patch
@@ -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",
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/flake8.git/commitdiff/7b99a73b28dd819ae20b1d0331ee328e7229fd7a



More information about the pld-cvs-commit mailing list