[packages/flake8] - added dependencies patch (bump maximum pyflakes version)

qboosh qboosh at pld-linux.org
Fri Mar 25 21:42:00 CET 2016


commit 19c415b3afd9f2a695f16ced797561b5a7622cd7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Mar 25 21:46:23 2016 +0100

    - added dependencies patch (bump maximum pyflakes version)

 flake8-dependencies.patch | 11 +++++++++++
 flake8.spec               |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/flake8.spec b/flake8.spec
index 9b57263..27df3e8 100644
--- a/flake8.spec
+++ b/flake8.spec
@@ -14,6 +14,7 @@ Group:		Development/Tools
 #Source0Download: https://pypi.python.org/simple/flake8/
 Source0:	https://pypi.python.org/packages/source/f/flake8/%{name}-%{version}.tar.gz
 # Source0-md5:	a4585b3569b95c3f66acb8294a7f06ef
+Patch0:		%{name}-dependencies.patch
 URL:		https://pypi.python.org/pypi/flake8
 BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	rpm-pythonprov
@@ -99,6 +100,7 @@ dla narzędzi:
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/flake8-dependencies.patch b/flake8-dependencies.patch
new file mode 100644
index 0000000..f55e0e8
--- /dev/null
+++ b/flake8-dependencies.patch
@@ -0,0 +1,11 @@
+--- flake8-2.5.4/setup.py.orig	2016-02-10 23:07:13.000000000 +0100
++++ flake8-2.5.4/setup.py	2016-03-25 21:33:58.870220887 +0100
+@@ -49,7 +49,7 @@
+     url="https://gitlab.com/pycqa/flake8",
+     packages=["flake8", "flake8.tests"],
+     install_requires=[
+-        "pyflakes >= 0.8.1, < 1.1",
++        "pyflakes >= 0.8.1, < 1.2",
+         "pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2",
+         "mccabe >= 0.2.1, < 0.5",
+     ],
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/flake8.git/commitdiff/19c415b3afd9f2a695f16ced797561b5a7622cd7



More information about the pld-cvs-commit mailing list