]> git.pld-linux.org Git - packages/pylint.git/commitdiff
- added deps patch: fix python_requires (broke distlib: '.*' not allowed for '>=... auto/th/pylint-2.4.4-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Mar 2020 09:47:55 +0000 (11:47 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Mar 2020 09:47:55 +0000 (11:47 +0200)
- release 2

pylint-deps.patch [new file with mode: 0644]
pylint.spec

diff --git a/pylint-deps.patch b/pylint-deps.patch
new file mode 100644 (file)
index 0000000..3af1a91
--- /dev/null
@@ -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
index 43c9ddf4edbee229cea3114894d1c20d050fb024..ce1bbde7909d3a8609afa1ec18ffc91f0038cde4 100644 (file)
@@ -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
This page took 0.20812 seconds and 4 git commands to generate.