Accepting request 623122 from devel:languages:python
- Version update to 1.6.5: * Many various bugfixes making the pylint tests pass * For details see ChangeLog OBS-URL: https://build.opensuse.org/request/show/623122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=14
This commit is contained in:
commit
6f45afc261
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0a0e386dbca9f93ea9f3ea6f32b37a24720502b7baa9cb17c3976a680d43a06
|
||||
size 251639
|
3
astroid-1.6.5.tar.gz
Normal file
3
astroid-1.6.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a
|
||||
size 255688
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 16 11:53:57 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Version update to 1.6.5:
|
||||
* Many various bugfixes making the pylint tests pass
|
||||
* For details see ChangeLog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 24 09:56:25 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
@ -18,19 +18,18 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
# Disabled for now wrt issue https://github.com/PyCQA/astroid/issues/439
|
||||
%bcond_with test
|
||||
%bcond_without python2
|
||||
Name: python-astroid
|
||||
Version: 1.6.1
|
||||
Version: 1.6.5
|
||||
Release: 0
|
||||
Summary: Rebuild a new abstract syntax tree from Python's ast
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/pycqa/astroid
|
||||
URL: https://github.com/pycqa/astroid
|
||||
Source: https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
|
||||
Source1: pytest.ini
|
||||
BuildRequires: %{python_module lazy-object-proxy}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
@ -70,6 +69,9 @@ objects.
|
||||
|
||||
%prep
|
||||
%setup -q -n astroid-%{version}
|
||||
# FIXME: with next release verify again
|
||||
# The numpy checks are broken on py3 completely
|
||||
rm -f astroid/tests/unittest_brain_numpy.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -80,14 +82,13 @@ objects.
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/astroid/tests
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
cp %{SOURCE1} .
|
||||
%python_exec -m pytest -s
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc COPYING COPYING.LESSER ChangeLog README.rst
|
||||
%license COPYING COPYING.LESSER
|
||||
%doc ChangeLog README.rst
|
||||
%{python_sitelib}/astroid/
|
||||
%{python_sitelib}/astroid-*.egg-info
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user