1
0
forked from pool/python-pluggy

Accepting request 486539 from devel:languages:python

- update for singlespec
- please send to Staging:E, it's a requirement for new python-tox

OBS-URL: https://build.opensuse.org/request/show/486539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-04-19 16:08:42 +00:00 committed by Git OBS Bridge
parent d1fef2cd8d
commit 66a9b40f16
4 changed files with 36 additions and 17 deletions

View File

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

3
pluggy-0.4.0.zip Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Apr 7 15:09:41 UTC 2017 - jmatejek@suse.com
- 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.
-------------------------------------------------------------------
Wed Sep 16 13:48:57 UTC 2015 - tbechtold@suse.com

View File

@ -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 @@ except extensive docstrings in the pluggy.py module.
%setup -q -n pluggy-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%check
%python_exec -m pytest testing
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst CHANGELOG
%{python_sitelib}/*