forked from pool/python-flake8
Accepting request 534933 from home:alarrosa:branches:devel:languages:python
- update to 3.4.1 - Add 0001-Update-pyflakes-range-and-include-doc-links.patch from upstream in order to allow using pyflakes >= 1.6.0 OBS-URL: https://build.opensuse.org/request/show/534933 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=28
This commit is contained in:
parent
8e0c1d341a
commit
1e77eb5aeb
50
0001-Update-pyflakes-range-and-include-doc-links.patch
Normal file
50
0001-Update-pyflakes-range-and-include-doc-links.patch
Normal file
@ -0,0 +1,50 @@
|
||||
From b714bdff0bba39f653ded12b70f41b0f04cc003f Mon Sep 17 00:00:00 2001
|
||||
From: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
|
||||
Date: Sun, 6 Aug 2017 14:16:12 -0500
|
||||
Subject: [PATCH] Update pyflakes range and include doc links
|
||||
|
||||
---
|
||||
setup.cfg | 6 +++++-
|
||||
setup.py | 6 +++++-
|
||||
2 files changed, 10 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index aca586c..c035d56 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -5,10 +5,14 @@ test=pytest
|
||||
universal = 1
|
||||
|
||||
[metadata]
|
||||
+# We document the reasoning for using ranges here:
|
||||
+# 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
|
||||
requires-dist =
|
||||
enum34; python_version<"3.4"
|
||||
configparser; python_version<"3.2"
|
||||
- pyflakes >= 1.5.0, < 1.6.0
|
||||
+ pyflakes >= 1.5.0, < 1.7.0
|
||||
pycodestyle >= 2.0.0, < 2.4.0
|
||||
mccabe >= 0.6.0, < 0.7.0
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 4d40862..aa45e43 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -17,7 +17,11 @@ tests_require = ['mock >= 2.0.0', 'pytest']
|
||||
# NOTE(sigmavirus24): When updating these requirements, update them in
|
||||
# setup.cfg as well.
|
||||
requires = [
|
||||
- "pyflakes >= 1.5.0, < 1.6.0",
|
||||
+ # We document the reasoning for using ranges here:
|
||||
+ # 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
|
||||
+ "pyflakes >= 1.5.0, < 1.7.0",
|
||||
"pycodestyle >= 2.0.0, < 2.4.0",
|
||||
"mccabe >= 0.6.0, < 0.7.0",
|
||||
"setuptools >= 30",
|
||||
--
|
||||
libgit2 0.26.0
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b907a26dcf5580753d8f80f1be0ec1d5c45b719f7bac441120793d1a70b03f12
|
||||
size 134345
|
3
flake8-3.4.1.tar.gz
Normal file
3
flake8-3.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c20044779ff848f67f89c56a0e4624c04298cd476e25253ac0c36f910a1a11d8
|
||||
size 137066
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 11:28:20 UTC 2017 - alarrosa@suse.com
|
||||
|
||||
- update to 3.4.1
|
||||
- Add 0001-Update-pyflakes-range-and-include-doc-links.patch from upstream
|
||||
in order to allow using pyflakes >= 1.6.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 15:29:36 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
|
@ -18,13 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-flake8
|
||||
Version: 3.3.0
|
||||
Version: 3.4.1
|
||||
Release: 0
|
||||
Summary: Modular source code checker: pep8, pyflakes and co
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://gitlab.com/pycqa/flake8
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz
|
||||
Patch0: 0001-Update-pyflakes-range-and-include-doc-links.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@ -63,6 +64,7 @@ Flake8 runs all the tools by launching the single ``flake8`` script.
|
||||
|
||||
%prep
|
||||
%setup -q -n flake8-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
Reference in New Issue
Block a user