]> git.pld-linux.org Git - packages/python3-astroid.git/commitdiff
- up to 2.5.1 auto/th/python3-astroid-2.5.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Mar 2021 08:47:05 +0000 (09:47 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 3 Mar 2021 08:47:05 +0000 (09:47 +0100)
python3-astroid-deps.patch
python3-astroid.spec

index 3c9374337976a6a4c0f16087fee5921690e062da..b2b35fbc17dd261174ef7263701e6eacb8fafeff 100644 (file)
@@ -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"],
index 7dbe963203d950ceb09e505edd59f07112a1cba2..2131f0c0ead3db9667200a2c06502010c2b97de4 100644 (file)
@@ -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
This page took 0.15722 seconds and 4 git commands to generate.