Hello community, here is the log from the commit of package python-astroid for openSUSE:Factory checked in at 2018-01-25 12:37:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astroid (Old) and /work/SRC/openSUSE:Factory/.python-astroid.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astroid" Thu Jan 25 12:37:01 2018 rev:13 rq:568846 version:1.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astroid/python-astroid.changes 2017-04-12 18:19:23.243051987 +0200 +++ /work/SRC/openSUSE:Factory/.python-astroid.new/python-astroid.changes 2018-01-25 12:37:02.296473866 +0100 @@ -1,0 +2,9 @@ +Wed Jan 24 09:56:25 UTC 2018 - [email protected] + +- Version update to 1.6.1: + * Various fixes for python3 + * Various pylint issues fixes + * For detailed log see ChangeLog +- Disable tests for now as they seem to fail, upstream knows + +------------------------------------------------------------------- Old: ---- _service astroid-1.4.9.git.1489768950.31f21cd.tar.gz New: ---- astroid-1.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astroid.spec ++++++ --- /var/tmp/diff_new_pack.0hFuS4/_old 2018-01-25 12:37:02.864447350 +0100 +++ /var/tmp/diff_new_pack.0hFuS4/_new 2018-01-25 12:37:02.868447164 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-astroid # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,17 @@ %{?!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.4.9.git.1489768950.31f21cd +Version: 1.6.1 Release: 0 Summary: Rebuild a new abstract syntax tree from Python's ast License: LGPL-2.1+ Group: Development/Libraries/Python Url: https://github.com/pycqa/astroid -# replaced for github pre-release -#Source: https://files.pythonhosted.org/packages/source/a/astroid/astroid-%{version}.tar.gz -Source: astroid-%{version}.tar.gz +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} @@ -36,19 +37,20 @@ BuildRequires: %{python_module wrapt} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-backports.functools_lru_cache -BuildRequires: python2-enum34 -BuildRequires: python2-singledispatch 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 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -74,17 +76,19 @@ %install %python_install -%fdupes %{buildroot}%{_prefix} +# remove tests from install +%python_expand rm -rf %{buildroot}%{$python_sitelib}/astroid/tests +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check -cp %{S:1} . +cp %{SOURCE1} . %python_exec -m pytest -s +%endif %files %{python_files} -%defattr(-,root,root,-) %doc COPYING COPYING.LESSER ChangeLog README.rst %{python_sitelib}/astroid/ -#%{python_sitelib}/astroid-%{version}-py*.egg-info %{python_sitelib}/astroid-*.egg-info %changelog ++++++ astroid-1.4.9.git.1489768950.31f21cd.tar.gz -> astroid-1.6.1.tar.gz ++++++ ++++ 10636 lines of diff (skipped)
