forked from pool/python-pluggy
Accepting request 679233 from devel:languages:python:pytest
- Update to 0.9.0: * #189: PluginManager.load_setuptools_entrypoints now accepts a name parameter that when given will load only entry points with that name. * PluginManager.load_setuptools_entrypoints also now returns the number of plugins loaded by the call, as opposed to the number of all plugins loaded by all calls to this method. - Switch to multibuild in order to avoid build loop - Update to 0.8.1: * #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager. OBS-URL: https://build.opensuse.org/request/show/679233 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=10
This commit is contained in:
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:447ba94990e8014ee25ec853339faf7b0fc8050cdc3289d4d71f7f410fb90095
|
|
||||||
size 53259
|
|
||||||
3
pluggy-0.9.0.tar.gz
Normal file
3
pluggy-0.9.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:19ecf9ce9db2fce065a7a0586e07cfb4ac8614fe96edf628a264b1c70116cf8f
|
||||||
|
size 54035
|
||||||
@@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 11:51:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.9.0:
|
||||||
|
* #189: PluginManager.load_setuptools_entrypoints now accepts a name parameter that when given will load only entry points with that name.
|
||||||
|
* PluginManager.load_setuptools_entrypoints also now returns the number of plugins loaded by the call, as opposed to the number of all plugins loaded by all calls to this method.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 25 08:23:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Switch to multibuild in order to avoid build loop
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 12 14:20:45 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.8.1:
|
||||||
|
* #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 26 13:01:53 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
|
Fri Oct 26 13:01:53 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pluggy
|
# spec file for package python-pluggy
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,24 +17,30 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_with tests
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
Name: python-pluggy
|
%define psuffix -test
|
||||||
Version: 0.8.0
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
|
Name: python-pluggy%{psuffix}
|
||||||
|
Version: 0.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Plugin registration and hook calling mechanisms for Python
|
Summary: Plugin registration and hook calling mechanisms for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/pytest-dev/pluggy
|
URL: https://github.com/pytest-dev/pluggy
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
%endif
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -51,17 +57,21 @@ except extensive docstrings in the pluggy.py module.
|
|||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if !%{with test}
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with test}
|
||||||
%python_exec -m pytest testing
|
%python_exec -m pytest testing
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if !%{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst CHANGELOG.rst
|
%doc README.rst CHANGELOG.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user