]> git.pld-linux.org Git - packages/python3-astroid.git/commitdiff
up to 2.9.0 auto/th/python3-astroid-2.9.0-1
authorJan Palus <atler@pld-linux.org>
Wed, 8 Dec 2021 09:20:14 +0000 (10:20 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 8 Dec 2021 09:20:14 +0000 (10:20 +0100)
- disabled tests (tests dir missing)

python3-astroid-deps.patch
python3-astroid.spec

index b2b35fbc17dd261174ef7263701e6eacb8fafeff..43b08cee0a1ba489527518321fe52aa231f669b6 100644 (file)
@@ -1,11 +1,13 @@
---- 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,7 +22,7 @@
- install_requires = [
-     "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"',
-+    "typed-ast>=1.4.0,<1.5",
- ]
+--- astroid-2.9.0/setup.cfg.orig       2021-11-21 18:16:40.395143700 +0100
++++ astroid-2.9.0/setup.cfg    2021-12-08 10:07:08.268285408 +0100
+@@ -39,8 +39,8 @@
+       lazy_object_proxy>=1.4.0
+       wrapt>=1.11,<1.14
+       setuptools>=20.0
+-      typed-ast>=1.4.0,<2.0;implementation_name=="cpython" and python_version<"3.8"
+-      typing-extensions>=3.10;python_version<"3.10"
++      typed-ast>=1.4.0,<2.0
++      typing-extensions>=3.10
+ python_requires = ~=3.6
  
- # pylint: disable=redefined-builtin; why license is a builtin anyway?
+ [options.packages.find]
index 2131f0c0ead3db9667200a2c06502010c2b97de4..6c22cd0b4a57d027a3c8b69b8231f7366139e700 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_without tests   # unit tests
+%bcond_with    tests   # unit tests
 
 %define        module  astroid
 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.5.1
+Version:       2.9.0
 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: 52ad092c3066cdc64870dfa7f9000363
+# Source0-md5: 24818fd52a4f51bec86d3801f5f8eccc
 Patch0:                %{name}-deps.patch
 URL:           https://github.com/PyCQA/astroid
 BuildRequires: python3-devel >= 1:3.5
@@ -53,11 +53,6 @@ potrzebami pylinta. Dawniej nazywała się logilab-astng.
 %setup -q -n %{module}-%{version}
 %patch0 -p1
 
-# non-deterministic (skipped if numpy not installed; unittest_brain_numpy_core_multiarray.py fails with numpy 1.16.5
-%{__rm} tests/unittest_brain_numpy_*
-# test_knownValues_get_builtin_module_part fails
-%{__rm} tests/unittest_modutils.py
-
 %build
 %py3_build
 
@@ -75,6 +70,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README.rst
 %{py3_sitescriptdir}/astroid
 %{py3_sitescriptdir}/astroid-%{version}-py*.egg-info
This page took 0.157067 seconds and 4 git commands to generate.