diff --git a/pluggy-0.8.0.tar.gz b/pluggy-0.8.0.tar.gz new file mode 100644 index 0000000..08e5099 --- /dev/null +++ b/pluggy-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:447ba94990e8014ee25ec853339faf7b0fc8050cdc3289d4d71f7f410fb90095 +size 53259 diff --git a/pluggy-0.8.1.tar.gz b/pluggy-0.8.1.tar.gz deleted file mode 100644 index 8b6f096..0000000 --- a/pluggy-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616 -size 53375 diff --git a/python-pluggy.changes b/python-pluggy.changes index 7931ddb..dc2fac0 100644 --- a/python-pluggy.changes +++ b/python-pluggy.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Tue Feb 12 14:20:45 UTC 2019 - Tomáš Chvátal - -- 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 diff --git a/python-pluggy.spec b/python-pluggy.spec index 56643e4..88aec0a 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -1,7 +1,7 @@ # # spec file for package python-pluggy # -# Copyright (c) 2019 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 @@ -17,15 +17,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with tests + Name: python-pluggy -Version: 0.8.1 +Version: 0.8.0 Release: 0 Summary: Plugin registration and hook calling mechanisms for Python License: MIT 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 +%if %{with tests} BuildRequires: %{python_module pytest} +%endif BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -50,8 +54,10 @@ except extensive docstrings in the pluggy.py module. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check %python_exec -m pytest testing +%endif %files %{python_files} %license LICENSE