commit python-astroid for openSUSE:Factory
Hello community, here is the log from the commit of package python-astroid for openSUSE:Factory checked in at 2017-04-12 17:31:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astroid (Old) and /work/SRC/openSUSE:Factory/.python-astroid.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-astroid" Wed Apr 12 17:31:55 2017 rev:12 rq:481993 version:1.4.9.git.1489768950.31f21cd Changes: -------- --- /work/SRC/openSUSE:Factory/python-astroid/python-astroid.changes 2016-04-22 16:22:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-astroid.new/python-astroid.changes 2017-04-12 18:19:23.243051987 +0200 @@ -1,0 +2,13 @@ +Mon Feb 27 14:05:03 UTC 2017 - jmatejek@suse.com + +- update for singlespec +- update to 1.4.9 + * classes can now know their definition-time arguments + * getitem() now accepts node objects + * explicit namespace package support + * see more details in ChangeLog +- update to 2.0-pre-release git version for python 3.6 support + (boo#1026174) +- enable test suite for all pythons + +------------------------------------------------------------------- Old: ---- astroid-1.4.4.tar.gz New: ---- _service astroid-1.4.9.git.1489768950.31f21cd.tar.gz pytest.ini ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astroid.spec ++++++ --- /var/tmp/diff_new_pack.Y3HJaH/_old 2017-04-12 18:19:23.830968853 +0200 +++ /var/tmp/diff_new_pack.Y3HJaH/_new 2017-04-12 18:19:23.834968287 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-astroid # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,26 +16,40 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-astroid -Version: 1.4.4 +Version: 1.4.9.git.1489768950.31f21cd Release: 0 -Url: https://github.com/pycqa/astroid Summary: Rebuild a new abstract syntax tree from Python's ast License: LGPL-2.1+ Group: Development/Libraries/Python -Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-six +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 +Source1: pytest.ini +BuildRequires: %{python_module lazy-object-proxy} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +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-lazy_object_proxy Requires: python-wrapt -%if 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +%ifpython2 +Requires: python-backports.functools_lru_cache +Requires: python-enum34 +Requires: python-singledispatch %endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages %description The aim of this module is to provide a common base representation of @@ -53,18 +67,24 @@ objects. %prep -%setup -n astroid-%{version} +%setup -q -n astroid-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root="%{buildroot}" +%python_install +%fdupes %{buildroot}%{_prefix} + +%check +cp %{S:1} . +%python_exec -m pytest -s -%files +%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-%{version}-py*.egg-info +%{python_sitelib}/astroid-*.egg-info %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="localonly"> <param name="scm">git</param> <param name="url">https://github.com/pycqa/astroid.git</param> <param name="filename">astroid</param> <param name="versionprefix">1.4.9.git</param> <!-- <param name="revision">optional: the commit hash, tag or branch you want to get</param>--> </service> <service name="recompress" mode="localonly"> <param name="compression">gz</param> <param name="file">*.tar</param> </service> <service name="set_version" mode="localonly"/> </services> ++++++ pytest.ini ++++++ [pytest] python_files = astroid/tests/unittest_*.py norecursedirs = _build.* build
participants (1)
-
root@hilbert.suse.de