forked from pool/python-astroid
- 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
This commit is contained in:
committed by
Git OBS Bridge
parent
842f102c9b
commit
35c649bff6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user