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 1/2] - 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 From d60d343127dab9426635bae49621ebc11bb729feec6d2de857ba12bac6e69615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 18 Sep 2018 09:13:53 +0000 Subject: [PATCH 2/2] Accepting request 636333 from home:jengelh:branches:devel:languages:python - Trim future goals and history lesson from description. Use noun phrase in summary. OBS-URL: https://build.opensuse.org/request/show/636333 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=32 --- python-astroid.changes | 6 ++++++ python-astroid.spec | 10 ++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/python-astroid.changes b/python-astroid.changes index 4c8a351..e2cb07a 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 18 08:46:02 UTC 2018 - Jan Engelhardt + +- Trim future goals and history lesson from description. + Use noun phrase in summary. + ------------------------------------------------------------------- Fri Sep 14 15:01:23 UTC 2018 - Tomáš Chvátal diff --git a/python-astroid.spec b/python-astroid.spec index b2131ff..7621d84 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -21,7 +21,7 @@ Name: python-astroid Version: 2.0.4 Release: 0 -Summary: Rebuild a new abstract syntax tree from Python's ast +Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later Group: Development/Libraries/Python URL: https://github.com/pycqa/astroid @@ -42,11 +42,9 @@ BuildArch: noarch %python_subpackages %description -The aim of this module is to provide a common base representation of -python source code for projects such as pychecker, pyreverse, -pylint... Well, actually the development of this library is -essentially governed by pylint's needs. It used to be called -logilab-astng. +This module provides a common base representation of Python source code for +projects such as pychecker, pyreverse, pylint. The development of this library +is governed by pylint's needs. It provides a compatible representation which comes from the _ast module. It rebuilds the tree generated by the builtin _ast module by