diff --git a/astroid-1.6.1.tar.gz b/astroid-1.6.1.tar.gz deleted file mode 100644 index 4bc12c1..0000000 --- a/astroid-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0a0e386dbca9f93ea9f3ea6f32b37a24720502b7baa9cb17c3976a680d43a06 -size 251639 diff --git a/astroid-1.6.5.tar.gz b/astroid-1.6.5.tar.gz new file mode 100644 index 0000000..9b32520 --- /dev/null +++ b/astroid-1.6.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a +size 255688 diff --git a/python-astroid.changes b/python-astroid.changes index 0338059..978ccb5 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -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 diff --git a/python-astroid.spec b/python-astroid.spec index c51427f..b3dacb4 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -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