[packages/python3-astroid] - updated to 2.3.3 - updated deps patch (drop implementation_name rule here, not supported by rpm-py

qboosh qboosh at pld-linux.org
Sat Nov 16 17:30:38 CET 2019


commit 4e4ce5e0976762cf74e761826194ac6bdf6f75d3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 16 17:30:44 2019 +0100

    - updated to 2.3.3
    - updated deps patch (drop implementation_name rule here, not supported by rpm-pythonprov)

 python3-astroid-deps.patch | 14 +++++++-------
 python3-astroid.spec       | 12 +++---------
 2 files changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/python3-astroid.spec b/python3-astroid.spec
index c8a4700..cc891d5 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.2
-Release:	2
+Version:	2.3.3
+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:	b2cd5c0383ff33c1410e737c2607aa7a
+# Source0-md5:	5f3d73d82d1753b59bb49a6bc6046dee
 Patch0:		%{name}-deps.patch
 URL:		https://github.com/PyCQA/astroid
 BuildRequires:	python3-devel >= 1:3.5
@@ -32,12 +32,6 @@ BuildRequires:	python3-wrapt >= 1.11
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 Requires:	python3-modules >= 1:3.5
-%if "%{py3_ver}" < "3.8"
-# not detected by rpm from rule:
-# [:implementation_name == "cpython" and python_version < "3.8"]
-Requires:	python3-typed_ast >= 1.4.0
-Requires:	python3-typed_ast < 1.5
-%endif
 Obsoletes:	python3-logilab-astng
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/python3-astroid-deps.patch b/python3-astroid-deps.patch
index cd64984..1e58fa8 100644
--- a/python3-astroid-deps.patch
+++ b/python3-astroid-deps.patch
@@ -1,17 +1,17 @@
-diff -bur astroid-2.3.1.orig/astroid/__pkginfo__.py astroid-2.3.1/astroid/__pkginfo__.py
---- astroid-2.3.1.orig/astroid/__pkginfo__.py	2019-09-30 10:04:18.000000000 +0200
-+++ astroid-2.3.1/astroid/__pkginfo__.py	2019-10-13 00:36:00.964206099 +0200
-@@ -22,9 +22,9 @@
+--- 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 = {}
  install_requires = [
 -    "lazy_object_proxy==1.4.*",
--    "six==1.12",
+-    "six~=1.12",
 -    "wrapt==1.11.*",
+-    '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;implementation_name== "cpython" and python_version<"3.8"',
++    'typed-ast>=1.4.0,<1.5;python_version<"3.8"',
  ]
  
-Only in astroid-2.3.1/astroid: __pkginfo__.py~
+ # pylint: disable=redefined-builtin; why license is a builtin anyway?
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list