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:
commit
20f068b064
@ -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
3
astroid-2.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c7013d119ec95eb626f7a2011f0b63d0c9a095df9ad06d8507b37084eada1a8d
|
||||||
|
size 273871
|
@ -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
|
Mon Jul 16 11:53:57 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -12,17 +12,16 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define skip_python2 1
|
||||||
%bcond_without python2
|
|
||||||
Name: python-astroid
|
Name: python-astroid
|
||||||
Version: 1.6.5
|
Version: 2.0.4
|
||||||
Release: 0
|
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
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
URL: https://github.com/pycqa/astroid
|
URL: https://github.com/pycqa/astroid
|
||||||
@ -40,24 +39,12 @@ Requires: python-lazy-object-proxy
|
|||||||
Requires: python-six
|
Requires: python-six
|
||||||
Requires: python-wrapt
|
Requires: python-wrapt
|
||||||
BuildArch: noarch
|
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
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The aim of this module is to provide a common base representation of
|
This module provides a common base representation of Python source code for
|
||||||
python source code for projects such as pychecker, pyreverse,
|
projects such as pychecker, pyreverse, pylint. The development of this library
|
||||||
pylint... Well, actually the development of this library is
|
is governed by pylint's needs.
|
||||||
essentially governed by pylint's needs. It used to be called
|
|
||||||
logilab-astng.
|
|
||||||
|
|
||||||
It provides a compatible representation which comes from the _ast
|
It provides a compatible representation which comes from the _ast
|
||||||
module. It rebuilds the tree generated by the builtin _ast module by
|
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
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
# remove tests from install
|
|
||||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/astroid/tests
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user