[packages/python3-astroid] - up to 2.5.1
baggins
baggins at pld-linux.org
Wed Mar 3 09:47:18 CET 2021
commit 3d05f467c658e490a98b095759d5ae91661e2bd2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Mar 3 09:47:05 2021 +0100
- up to 2.5.1
python3-astroid-deps.patch | 25 ++++---------------------
python3-astroid.spec | 12 ++++++------
2 files changed, 10 insertions(+), 27 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index 7dbe963..2131f0c 100644
--- a/python3-astroid.spec
+++ b/python3-astroid.spec
@@ -6,13 +6,13 @@
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}
-Version: 2.3.3
-Release: 3
+Version: 2.5.1
+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: 5f3d73d82d1753b59bb49a6bc6046dee
+# Source0-md5: 52ad092c3066cdc64870dfa7f9000363
Patch0: %{name}-deps.patch
URL: https://github.com/PyCQA/astroid
BuildRequires: python3-devel >= 1:3.5
@@ -54,15 +54,15 @@ potrzebami pylinta. Dawniej nazywała się logilab-astng.
%patch0 -p1
# non-deterministic (skipped if numpy not installed; unittest_brain_numpy_core_multiarray.py fails with numpy 1.16.5
-%{__rm} astroid/tests/unittest_brain_numpy_*
+%{__rm} tests/unittest_brain_numpy_*
# test_knownValues_get_builtin_module_part fails
-%{__rm} astroid/tests/unittest_modutils.py
+%{__rm} tests/unittest_modutils.py
%build
%py3_build
%if %{with tests}
-%{__python3} -m pytest astroid/tests
+%{__python3} -m pytest tests
%endif
%install
diff --git a/python3-astroid-deps.patch b/python3-astroid-deps.patch
index 3c93743..b2b35fb 100644
--- a/python3-astroid-deps.patch
+++ b/python3-astroid-deps.patch
@@ -1,28 +1,11 @@
--- astroid-2.3.3/astroid/__pkginfo__.py.orig 2019-11-16 17:17:15.331282360 +0100
+++ astroid-2.3.3/astroid/__pkginfo__.py 2019-11-16 17:24:15.249007470 +0100
-@@ -22,10 +22,10 @@
-
- extras_require = {}
+@@ -22,7 +22,7 @@
install_requires = [
-- "lazy_object_proxy==1.4.*",
-- "six~=1.12",
-- "wrapt==1.11.*",
+ "lazy_object_proxy>=1.4.0",
+ "wrapt>=1.11,<1.13",
- 'typed-ast>=1.4.0,<1.5;implementation_name== "cpython" and python_version<"3.8"',
-+ "lazy_object_proxy>=1.4",
-+ "six>=1.12",
-+ "wrapt>=1.11",
-+ 'typed-ast>=1.4.0,<1.5;python_version<"3.8"',
++ "typed-ast>=1.4.0,<1.5",
]
# pylint: disable=redefined-builtin; why license is a builtin anyway?
---- astroid-2.3.3/setup.py.orig 2019-11-06 19:41:21.000000000 +0100
-+++ astroid-2.3.3/setup.py 2020-03-29 08:34:25.522049686 +0200
-@@ -39,7 +39,7 @@
- author=author,
- author_email=author_email,
- url=web,
-- python_requires=">=3.5.*",
-+ python_requires=">=3.5.0",
- install_requires=install_requires,
- extras_require=extras_require,
- packages=find_packages(exclude=["astroid.tests"]) + ["astroid.brain"],
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-astroid.git/commitdiff/3d05f467c658e490a98b095759d5ae91661e2bd2
More information about the pld-cvs-commit
mailing list