[packages/python3-astroid] - updated to 2.12.9 (for pylint 2.15.x)

qboosh qboosh at pld-linux.org
Wed Sep 14 21:50:58 CEST 2022


commit a60a1d43358a15bd9da3aac280a239887cd623bc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 14 21:51:13 2022 +0200

    - updated to 2.12.9 (for pylint 2.15.x)

 python3-astroid.spec | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index 12137bc..31ead94 100644
--- a/python3-astroid.spec
+++ b/python3-astroid.spec
@@ -6,34 +6,39 @@
 Summary:	An abstract syntax tree for Python 3 with inference support
 Summary(pl.UTF-8):	Abstrakcyjnego drzewa składniowe dla Pythona 3 z obsługą wywodu
 Name:		python3-%{module}
-# keep version compatible with pylint.spec (2.9.x for 2.12.x)
-Version:	2.9.3
-Release:	3
+# keep version compatible with pylint.spec (2.12.x for pylint 2.15.x)
+Version:	2.12.9
+Release:	1
 License:	LGPL v2.1+
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/astroid/
 Source0:	https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
-# Source0-md5:	5194ffb97eafaff6afbe1869606b7d4d
+# Source0-md5:	5aba64ba978ad52fc19e80c0a93ff223
 URL:		https://github.com/PyCQA/astroid
-BuildRequires:	python3-devel >= 1:3.6.2
-BuildRequires:	python3-modules >= 1:3.6.2
-BuildRequires:	python3-pytest-runner
-BuildRequires:	python3-setuptools >= 1:20.0
+BuildRequires:	python3-devel >= 1:3.7.2
+BuildRequires:	python3-modules >= 1:3.7.2
+BuildRequires:	python3-setuptools >= 1:62.6
 %if %{with tests}
 BuildRequires:	python3-lazy-object-proxy >= 1.4
 BuildRequires:	python3-pytest
 BuildRequires:	python3-six >= 1.12
-%if "%{py3_ver}" < "3.8"
+%if "%{py3_ver}" == "3.7"
 BuildRequires:	python3-typed_ast >= 1.4.0
 BuildRequires:	python3-typed_ast < 2.0
 %endif
+%if "%{_ver_lt '%{py3_ver}' '3.10'}" == "1"
 BuildRequires:	python3-typing_extensions >= 3.10
+%endif
+%if "%{_ver_lt '%{py3_ver}' '3.11'}" == "1"
 BuildRequires:	python3-wrapt >= 1.11
-BuildRequires:	python3-wrapt < 1.14
+%else
+BuildRequires:	python3-wrapt >= 1.14
+%endif
+BuildRequires:	python3-wrapt < 2
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.6.2
+Requires:	python3-modules >= 1:3.7.2
 Obsoletes:	python3-logilab-astng < 1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -59,6 +64,7 @@ potrzebami pylinta. Dawniej nazywała się logilab-astng.
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd) \
 %{__python3} -m pytest tests
 %endif
 
@@ -72,5 +78,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc CONTRIBUTORS.txt README.rst
 %{py3_sitescriptdir}/astroid
 %{py3_sitescriptdir}/astroid-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-astroid.git/commitdiff/a60a1d43358a15bd9da3aac280a239887cd623bc



More information about the pld-cvs-commit mailing list