Hello community, here is the log from the commit of package python-pluggy for openSUSE:Factory checked in at 2017-04-19 18:08:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pluggy (Old) and /work/SRC/openSUSE:Factory/.python-pluggy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pluggy" Wed Apr 19 18:08:42 2017 rev:2 rq:486539 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pluggy/python-pluggy.changes 2015-10-01 09:29:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pluggy.new/python-pluggy.changes 2017-04-19 18:08:46.115301695 +0200 @@ -1,0 +2,15 @@ +Fri Apr 7 15:09:41 UTC 2017 - [email protected] + +- update for singlespec +- add project URL +- enable test +- update to 0.4.0 + * add has_plugin(name) method to pluginmanager. thanks Bruno Oliveira. + * fix issue11: make plugin parsing more resilient against exceptions + from __getattr__ functions. Thanks Bruno Oliveira. + * fix issue #4: specific HookCallError exception for when a hook call + provides not enough arguments. + * better error message when loading setuptools entrypoints fails + due to a VersionConflict. Thanks Daniel Hahler. + +------------------------------------------------------------------- Old: ---- pluggy-0.3.0.tar.gz New: ---- pluggy-0.4.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pluggy.spec ++++++ --- /var/tmp/diff_new_pack.pegj43/_old 2017-04-19 18:08:46.859196468 +0200 +++ /var/tmp/diff_new_pack.pegj43/_new 2017-04-19 18:08:46.863195902 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pluggy # -# Copyright (c) 2015 SUSE LINUX Products 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 @@ -13,24 +13,25 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pluggy -Version: 0.3.0 +Version: 0.4.0 Release: 0 +Summary: Plugin registration and hook calling mechanisms for Python License: MIT -Summary: plugin and hook calling mechanisms for python -Url: None Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +Url: https://github.com/pytest-dev/pluggy +Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.zip +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 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 -%endif +%python_subpackages %description This is the plugin manager as used by pytest but stripped @@ -43,12 +44,15 @@ %setup -q -n pluggy-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install + +%check +%python_exec -m pytest testing -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst CHANGELOG %{python_sitelib}/*
