Accepting request 692309 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/692309 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=11
This commit is contained in:
commit
19e8d977d2
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 8 13:02:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to version 5.0
|
||||
* Fix test failures and deprecation warnings occurring when
|
||||
using Python 3.8a1.
|
||||
* Drop support for Python 3.4.
|
||||
4.9*
|
||||
* Fix AssertionError in _DummyThread.isAlive on Python 3.
|
||||
* Drop support for Python 3.3.
|
||||
* Add support for Python 3.7.
|
||||
* Remove untested support for the --pychecker option.
|
||||
* Update the command line interface to use argparse instead of
|
||||
optparse.
|
||||
* Use ipdb instead of pdb for post-mortem debugging if available.
|
||||
* Add a –require-unique option to check for duplicate test IDs.
|
||||
* Reintroduce optional support for subunit.
|
||||
* Handle string in exception values when formatting chained
|
||||
exceptions.
|
||||
4.8*
|
||||
* Enable DeprecationWarning earlier, when discovering test
|
||||
modules.
|
||||
* Automatically enable DeprecationWarning when running tests.
|
||||
- Launch tests using multibuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:56:33 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zope.testrunner
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,24 +17,34 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-zope.testrunner
|
||||
Version: 4.7.0
|
||||
Version: 5.0
|
||||
Release: 0
|
||||
Summary: Zope testrunner script
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pypi.python.org/pypi/zope.testrunner
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope.testrunner-%{version}.zip
|
||||
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
|
||||
BuildRequires: unzip
|
||||
Requires: python-six
|
||||
Requires: python-zope.exceptions
|
||||
Requires: python-zope.interface
|
||||
@ -52,15 +62,19 @@ find -size 0 -delete
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/zope-testrunner
|
||||
%endif
|
||||
|
||||
# Can't seem to be able to run the tests with an uninstalled zope.testrunner
|
||||
#%%check
|
||||
#%%python_exec setup.py test
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%post
|
||||
%python_install_alternative zope-testrunner
|
||||
|
||||
@ -72,5 +86,6 @@ find -size 0 -delete
|
||||
%doc README.rst
|
||||
%python_alternative %{_bindir}/zope-testrunner
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ffcb4989829544a83d27e42b2eeb28f8fc134bd847d71ce8dca54f710526ef0
|
||||
size 260508
|
3
zope.testrunner-5.0.tar.gz
Normal file
3
zope.testrunner-5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0d8a27e214033b6f1e557556e61bff9568ae95676dfcc8a032483fdeeee792c3
|
||||
size 132109
|
Loading…
x
Reference in New Issue
Block a user