- Version update to 1.6.5:

* Many various bugfixes making the pylint tests pass
  * For details see ChangeLog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=29
This commit is contained in:
Tomáš Chvátal 2018-07-16 12:10:18 +00:00 committed by Git OBS Bridge
parent 5fa479986b
commit 842f102c9b
4 changed files with 19 additions and 11 deletions

View File

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

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

View File

@ -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 Wed Jan 24 09:56:25 UTC 2018 - tchvatal@suse.com

View File

@ -18,19 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python %define oldpython python
# Disabled for now wrt issue https://github.com/PyCQA/astroid/issues/439
%bcond_with test
%bcond_without python2 %bcond_without python2
Name: python-astroid Name: python-astroid
Version: 1.6.1 Version: 1.6.5
Release: 0 Release: 0
Summary: Rebuild a new abstract syntax tree from Python's ast 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 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 Source: https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz
Source1: pytest.ini Source1: pytest.ini
BuildRequires: %{python_module lazy-object-proxy} BuildRequires: %{python_module lazy-object-proxy}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
@ -70,6 +69,9 @@ objects.
%prep %prep
%setup -q -n astroid-%{version} %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 %build
%python_build %python_build
@ -80,14 +82,13 @@ objects.
%python_expand rm -rf %{buildroot}%{$python_sitelib}/astroid/tests %python_expand rm -rf %{buildroot}%{$python_sitelib}/astroid/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check %check
cp %{SOURCE1} . cp %{SOURCE1} .
%python_exec -m pytest -s %python_exec -m pytest -s
%endif
%files %{python_files} %files %{python_files}
%doc COPYING COPYING.LESSER ChangeLog README.rst %license COPYING COPYING.LESSER
%doc ChangeLog README.rst
%{python_sitelib}/astroid/ %{python_sitelib}/astroid/
%{python_sitelib}/astroid-*.egg-info %{python_sitelib}/astroid-*.egg-info