[packages/pylint] - added deps patch: fix python_requires (broke distlib: '.*' not allowed for '>=' constraints) - rel
qboosh
qboosh at pld-linux.org
Sun Mar 29 11:48:05 CEST 2020
commit 9b3953ed295b68ecfc8baf574ae3a5b2474e3bea
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 29 11:47:55 2020 +0200
- added deps patch: fix python_requires (broke distlib: '.*' not allowed for '>=' constraints)
- release 2
pylint-deps.patch | 11 +++++++++++
pylint.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/pylint.spec b/pylint.spec
index 43c9ddf..ce1bbde 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -7,12 +7,13 @@ Summary: Python tool that checks if a module satisfy a coding standard
Summary(pl.UTF-8): Narzędzie Pythona sprawdzające zgodność modułu ze standardem kodowania
Name: pylint
Version: 2.4.4
-Release: 1
+Release: 2
License: GPL v2+
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/pylint/
Source0: https://github.com/PyCQA/pylint/archive/%{name}-%{version}.tar.gz
# Source0-md5: 21edaf9a0e5d836a23731f81c6bc48c2
+Patch0: %{name}-deps.patch
URL: http://www.pylint.org/
BuildRequires: python3-astroid >= 2.3.0
BuildRequires: python3-astroid < 2.4
@@ -89,6 +90,7 @@ Dokumentacja do pylinta.
%prep
%setup -q -n pylint-pylint-%{version}
+%patch0 -p1
%build
%py3_build
diff --git a/pylint-deps.patch b/pylint-deps.patch
new file mode 100644
index 0000000..3af1a91
--- /dev/null
+++ b/pylint-deps.patch
@@ -0,0 +1,11 @@
+--- pylint-pylint-2.4.4/setup.py.orig 2019-11-13 08:34:55.000000000 +0100
++++ pylint-pylint-2.4.4/setup.py 2020-03-29 11:42:25.260627325 +0200
+@@ -142,7 +142,7 @@
+ cmdclass=cmdclass,
+ extras_require=extras_require,
+ test_suite="test",
+- python_requires=">=3.5.*",
++ python_requires=">=3.5.0",
+ setup_requires=["pytest-runner"],
+ tests_require=["pytest"],
+ **kwargs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pylint.git/commitdiff/9b3953ed295b68ecfc8baf574ae3a5b2474e3bea
More information about the pld-cvs-commit
mailing list