python-pylint 2.15.4-1 (aarch64;znver1;x86_64) 2022-15866
1

Status rejected
Submitter alexander [@T] mezon.ru
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/239946
Packages
python-pylint-2.15.4-1.aarch64.binary
python-pylint-2.15.4-1.aarch64.source
python-pylint-2.15.4-1.znver1.source
python-pylint-2.15.4-1.znver1.binary
python-pylint-2.15.4-1.x86_64.source
python-pylint-2.15.4-1.x86_64.binary
Build Date 2022-10-13 12:49:54 +0000 UTC
Last Updated 2022-10-13 19:39:38.548825453 +0000 UTC
$ git diff --patch-with-stat --summary c0f7bc6e2ca13f5d06d8b36a4a628412cea4e713..da58725b3b7184771605c1746f4c73e537f94a3b

 .abf.yml                                            |  2 +-
 pylint-2.6.0-allow-to-work-with-astroid-2.5.8.patch | 21 ---------------------
 python-pylint.spec                                  | 20 +++++++++-----------
 3 files changed, 10 insertions(+), 33 deletions(-)
 delete mode 100644 pylint-2.6.0-allow-to-work-with-astroid-2.5.8.patch

diff --git a/.abf.yml b/.abf.yml
index 41b7802..be3b18d 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  pylint-2.8.3.tar.gz: a17bfe3b938da9c73d1a937c104baa5dee4f56bd
+  pylint-2.15.4.tar.gz: 75c4cfab7701a8f28d99f0a5770ba8f9ce05a282
diff --git a/pylint-2.6.0-allow-to-work-with-astroid-2.5.8.patch b/pylint-2.6.0-allow-to-work-with-astroid-2.5.8.patch
deleted file mode 100644
index c6ed011..0000000
--- a/pylint-2.6.0-allow-to-work-with-astroid-2.5.8.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -uraN pylint-2.8.3/requirements_test_min.txt omv-pylint-2.8.3/requirements_test_min.txt
---- pylint-2.8.3/requirements_test_min.txt	2021-05-31 20:59:33.000000000 +0200
-+++ omv-pylint-2.8.3/requirements_test_min.txt	2021-06-17 12:52:44.507954285 +0200
-@@ -1,4 +1,4 @@
- -e .
--astroid==2.5.6  # Pinned to a specific version for tests
-+astroid==2.5.7  # Pinned to a specific version for tests
- pytest~=6.2
- pytest-benchmark~=3.4
-diff -uraN pylint-2.8.3/setup.cfg omv-pylint-2.8.3/setup.cfg
---- pylint-2.8.3/setup.cfg	2021-05-31 21:00:00.000000000 +0200
-+++ omv-pylint-2.8.3/setup.cfg	2021-06-17 12:52:23.132356324 +0200
-@@ -41,7 +41,7 @@
- [options]
- packages = find:
- install_requires = 
--	astroid==2.5.6
-+	astroid==2.5.7
- 	isort>=4.2.5,<6
- 	mccabe>=0.6,<0.7
- 	toml>=0.7.1
diff --git a/python-pylint.spec b/python-pylint.spec
index 079f4c6..bf77199 100644
--- a/python-pylint.spec
+++ b/python-pylint.spec
@@ -2,36 +2,34 @@
   
 Summary:	Python source code analyzer
 Name:		python-pylint
-Version:	2.8.3
+Version:	2.15.4
 Release:	1
 Group:		Development/Python
 License:	Python
 Url:		http://pylint.org/
 # Also: https://pypi.python.org/pypi/pylint
-Source0:	https://github.com/PyCQA/pylint/archive/pylint-%{version}.tar.gz
-Patch0:   pylint-2.6.0-allow-to-work-with-astroid-2.5.8.patch
+Source0:	https://files.pythonhosted.org/packages/source/p/pylint/pylint-%{version}.tar.gz
 BuildArch:	noarch 
 BuildRequires:	python-setuptools
 BuildRequires:	pkgconfig(python)
-BuildRequires:  python3dist(pip)
-BuildRequires:  python3dist(pytest-runner)
-BuildRequires:  python3dist(wheel)
+BuildRequires:  python%{pyver}dist(pip)
+BuildRequires:  python%{pyver}dist(pytest-runner)
+BuildRequires:  python%{pyver}dist(wheel)
  
 %description 
 A Python source code analyzer which looks for programming errors, helps
 enforcing a coding standard and sniffs for some code smells.
 
 %prep
-%setup -qn %{module}-%{version}
-%autopatch -p1
+%autosetup -p1 -n %{module}-%{version}
   
 %build
-%__python setup.py build
+%py_build
 
 %install 
-%__python setup.py install --root=%{buildroot} --record=FILE_LIST
+%py_install
 
 %files
 %{_bindir}/*
 %{py_sitedir}/pylint
-%{py_sitedir}/pylint*.egg-info
+%{py_sitedir}/pylint*.dist-info
Not Available

benbullard79 [@T] cox.netNo Comment.107d 17hrs
benbullard79 [@T] cox.netNo Comment.107d 16hrs