Accepting request 636609 from devel:languages:python

- Trim future goals and history lesson from description.
  Use noun phrase in summary.

- Version update to 2.0.4:
  * only supports python3.0+
  * Many many changes see ChangeLog fixes

OBS-URL: https://build.opensuse.org/request/show/636609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2018-09-26 12:53:31 +00:00 committed by Git OBS Bridge
commit 20f068b064
4 changed files with 23 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a
size 255688

3
astroid-2.0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7013d119ec95eb626f7a2011f0b63d0c9a095df9ad06d8507b37084eada1a8d
size 273871

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Sep 18 08:46:02 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim future goals and history lesson from description.
Use noun phrase in summary.
-------------------------------------------------------------------
Fri Sep 14 15:01:23 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- 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

View File

@ -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