14
0

Accepting request 923415 from home:pgajdos:python

- version update to 5.3.0
  - Add support for Python 3.9.
  - Fix `package init file missing` warning
    (`#112 <https://github.com/zopefoundation/zope.testrunner/pull/112>`_).
  - Make standard streams provide a `buffer` attribute on Python 3 when using
    `--buffer` or testing under subunit.
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/923415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=27
This commit is contained in:
2021-10-06 09:54:01 +00:00
committed by Git OBS Bridge
parent 364b08dc24
commit a815897146
4 changed files with 17 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testrunner
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-zope.testrunner
Version: 5.2
Version: 5.3.0
Release: 0
Summary: Zope testrunner script
License: ZPL-2.1
@@ -69,7 +69,7 @@ find -size 0 -delete
%if %{with test}
%check
%python_exec setup.py test
%pyunittest src/zope/testrunner/tests/*.py
%endif
%if !%{with test}