[packages/python-astroid] - release 2, fix deps

adamg adamg at pld-linux.org
Sun Oct 13 00:38:12 CEST 2019


commit 077b42c9b926aba226796f900d998a152fca412c
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Sun Oct 13 00:38:05 2019 +0200

    - release 2, fix deps

 python-astroid-deps.patch | 17 +++++++++++++++++
 python-astroid.spec       |  4 +++-
 2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/python-astroid.spec b/python-astroid.spec
index b29cc7a..f422c7a 100644
--- a/python-astroid.spec
+++ b/python-astroid.spec
@@ -8,12 +8,13 @@ Summary:	An abstract syntax tree for Python 2 with inference support
 Summary(pl.UTF-8):	Abstrakcyjnego drzewa składniowe dla Pythona 2 z obsługą wywodu
 Name:		python-%{module}
 Version:	2.3.1
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.python.org/pypi/astroid/
 Source0:	https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
 # Source0-md5:	006fa7ae21f6b9ca4bcd92f64f94d0e5
+Patch0:		%{name}-deps.patch
 URL:		https://github.com/PyCQA/astroid
 %if %{with python2}
 BuildRequires:	python-devel >= 1:2.7
@@ -74,6 +75,7 @@ potrzebami pylinta. Dawniej nazywała się logilab-astng.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 # drop python 2.5 egg deps
 %{__rm} */*/*/*/*/*py2.5.egg
diff --git a/python-astroid-deps.patch b/python-astroid-deps.patch
new file mode 100644
index 0000000..cd64984
--- /dev/null
+++ b/python-astroid-deps.patch
@@ -0,0 +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 @@
+ 
+ extras_require = {}
+ install_requires = [
+-    "lazy_object_proxy==1.4.*",
+-    "six==1.12",
+-    "wrapt==1.11.*",
++    "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"',
+ ]
+ 
+Only in astroid-2.3.1/astroid: __pkginfo__.py~
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-astroid.git/commitdiff/077b42c9b926aba226796f900d998a152fca412c



More information about the pld-cvs-commit mailing list