11
0
forked from pool/python-pluggy

Accepting request 627080 from devel:languages:python:pytest

OBS-URL: https://build.opensuse.org/request/show/627080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=6
This commit is contained in:
2018-08-08 12:45:07 +00:00
committed by Git OBS Bridge
parent 75c1cbdcfc
commit 6facace26a
4 changed files with 23 additions and 8 deletions

View File

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

3
pluggy-0.7.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Aug 2 12:22:54 UTC 2018 - mimi.vx@gmail.com
- update to 0.7.1
* Deprecate the implprefix kwarg to PluginManager and instead expect users
to start using explicit HookimplMarker everywhere
* Add .plugin member to PluginValidationError to access failing plugin during post-mortem.
* Add per implementation warnings support for hookspecs allowing for both
deprecation and future warnings of legacy and (future) experimental hooks respectively.
* Fix a bug where _HookCaller.call_historic() would call the proc arg even
when the default is None resulting in a TypeError.
* Fix problem when handling VersionConflict errors when loading setuptools plugins.
-------------------------------------------------------------------
Thu Dec 21 16:12:04 UTC 2017 - jmatejek@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pluggy
#
# 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
@@ -20,7 +20,7 @@
%bcond_with tests
Name: python-pluggy
Version: 0.6.0
Version: 0.7.1
Release: 0
Summary: Plugin registration and hook calling mechanisms for Python
License: MIT
@@ -30,9 +30,10 @@ Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%
%if %{with tests}
BuildRequires: %{python_module pytest}
%endif
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -51,6 +52,7 @@ except extensive docstrings in the pluggy.py module.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check
@@ -58,8 +60,8 @@ except extensive docstrings in the pluggy.py module.
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%license LICENSE
%doc README.rst CHANGELOG.rst
%{python_sitelib}/*
%changelog