From 96a2b7399182fea3c5d871de223cc1857f61e8d95b4b170ad936a0ec7473a669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Nov 2019 12:11:14 +0000 Subject: [PATCH] - Update to 5.1: * Recover more gracefully when layer setUp or tearDown fails, producing useful subunit output. * Prevent a spurious warning from the --require-unique option if the --module option was not used. * Add optional buffering of standard output and standard error during tests, requested via the --buffer option or enabled by default for subunit. * Fix incorrect failure counts in per-layer summary output, broken in 4.0.1. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=23 --- python-zope.testrunner.changes | 9 +++++++++ python-zope.testrunner.spec | 18 ++++++++---------- zope.testrunner-5.0.tar.gz | 3 --- zope.testrunner-5.1.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 13 deletions(-) delete mode 100644 zope.testrunner-5.0.tar.gz create mode 100644 zope.testrunner-5.1.tar.gz diff --git a/python-zope.testrunner.changes b/python-zope.testrunner.changes index 4d411d1..4d9b44b 100644 --- a/python-zope.testrunner.changes +++ b/python-zope.testrunner.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Oct 30 12:13:54 UTC 2019 - Tomáš Chvátal + +- Update to 5.1: + * Recover more gracefully when layer setUp or tearDown fails, producing useful subunit output. + * Prevent a spurious warning from the --require-unique option if the --module option was not used. + * Add optional buffering of standard output and standard error during tests, requested via the --buffer option or enabled by default for subunit. + * Fix incorrect failure counts in per-layer summary output, broken in 4.0.1. + ------------------------------------------------------------------- Mon Apr 8 13:02:40 UTC 2019 - Marketa Calabkova diff --git a/python-zope.testrunner.spec b/python-zope.testrunner.spec index 30b3150..b1f735d 100644 --- a/python-zope.testrunner.spec +++ b/python-zope.testrunner.spec @@ -26,29 +26,27 @@ %bcond_with test %endif Name: python-zope.testrunner -Version: 5.0 +Version: 5.1 Release: 0 Summary: Zope testrunner script License: ZPL-2.1 -Group: Development/Languages/Python -URL: https://pypi.python.org/pypi/zope.testrunner +URL: https://github.com/zopefoundation/zope.testrunner Source: https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope.testrunner-%{version}.tar.gz BuildRequires: %{python_module setuptools} -# runtime requirements: BuildRequires: %{python_module six} BuildRequires: %{python_module zope.exceptions} BuildRequires: %{python_module zope.interface} -# Test requirements: -%if %{with test} -BuildRequires: %{python_module zope.testing} -BuildRequires: %{python_module zope.testrunner = %{version}} -%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six Requires: python-zope.exceptions Requires: python-zope.interface BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module zope.testing} +BuildRequires: %{python_module zope.testrunner = %{version}} +BuildRequires: %{pythons} +%endif %python_subpackages %description @@ -82,7 +80,7 @@ find -size 0 -delete %python_uninstall_alternative zope-testrunner %files %{python_files} -%license LICENSE.rst +%license LICENSE.md %doc README.rst %python_alternative %{_bindir}/zope-testrunner %{python_sitelib}/* diff --git a/zope.testrunner-5.0.tar.gz b/zope.testrunner-5.0.tar.gz deleted file mode 100644 index 5afa0c6..0000000 --- a/zope.testrunner-5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d8a27e214033b6f1e557556e61bff9568ae95676dfcc8a032483fdeeee792c3 -size 132109 diff --git a/zope.testrunner-5.1.tar.gz b/zope.testrunner-5.1.tar.gz new file mode 100644 index 0000000..55f7cad --- /dev/null +++ b/zope.testrunner-5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:354a65f6c6fe6c0584e2fcf06d7318e90dc7f7de1b7008d8913733e299317870 +size 140679