From 35c649bff69cf85398f148238a388c4c816cf419b60f815cd05c1dd4412f92eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 14 Sep 2018 15:38:03 +0000 Subject: [PATCH] - Version update to 2.0.4: * only supports python3.0+ * Many many changes see ChangeLog fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=31 --- astroid-1.6.5.tar.gz | 3 --- astroid-2.0.4.tar.gz | 3 +++ python-astroid.changes | 7 +++++++ python-astroid.spec | 19 +++---------------- 4 files changed, 13 insertions(+), 19 deletions(-) delete mode 100644 astroid-1.6.5.tar.gz create mode 100644 astroid-2.0.4.tar.gz diff --git a/astroid-1.6.5.tar.gz b/astroid-1.6.5.tar.gz deleted file mode 100644 index 9b32520..0000000 --- a/astroid-1.6.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a -size 255688 diff --git a/astroid-2.0.4.tar.gz b/astroid-2.0.4.tar.gz new file mode 100644 index 0000000..4dabcfa --- /dev/null +++ b/astroid-2.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7013d119ec95eb626f7a2011f0b63d0c9a095df9ad06d8507b37084eada1a8d +size 273871 diff --git a/python-astroid.changes b/python-astroid.changes index 978ccb5..4c8a351 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 14 15:01:23 UTC 2018 - Tomáš Chvátal + +- Version update to 2.0.4: + * only supports python3.0+ + * Many many changes see ChangeLog fixes + ------------------------------------------------------------------- Mon Jul 16 11:53:57 UTC 2018 - tchvatal@suse.com diff --git a/python-astroid.spec b/python-astroid.spec index b3dacb4..b2131ff 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -12,15 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python -%bcond_without python2 +%define skip_python2 1 Name: python-astroid -Version: 1.6.5 +Version: 2.0.4 Release: 0 Summary: Rebuild a new abstract syntax tree from Python's ast License: LGPL-2.1-or-later @@ -40,16 +39,6 @@ Requires: python-lazy-object-proxy Requires: python-six Requires: python-wrapt BuildArch: noarch -%if %{with python2} -BuildRequires: python2-backports.functools_lru_cache -BuildRequires: python2-enum34 -BuildRequires: python2-singledispatch -%endif -%ifpython2 -Requires: python-backports.functools_lru_cache -Requires: python-enum34 -Requires: python-singledispatch -%endif %python_subpackages %description @@ -78,8 +67,6 @@ rm -f astroid/tests/unittest_brain_numpy.py %install %python_install -# remove tests from install -%python_expand rm -rf %{buildroot}%{$python_sitelib}/astroid/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %check