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..e2cb07a 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +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 + +- 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..7621d84 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -12,17 +12,16 @@ # 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 +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 @@ -40,24 +39,12 @@ 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 -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 @@ -78,8 +65,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