From a9c3b7d61ed09f8e7be9825a0c65973fb4358041ff7bcd2c10accdf736bc828e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 8 Apr 2019 11:22:28 +0000 Subject: [PATCH] - update to 0.9.1 - refresh remove_unittest2.patch * the prof plugin now uses cProfile instead of hotshot for profiling * skipped tests now include the user's reason in junit XML's message field * the prettyassert plugin mishandled multi-line function definitions * Using a plugin's CLI flag when the plugin is already enabled via config no longer errors * nose2.plugins.prettyassert, enabled with --pretty-assert * Cleanup code for EOLed python versions * Dropped support for distutils. * Result reporter respects failure status set by other plugins * JUnit XML plugin now includes the skip reason in its output OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=8 --- nose2-0.8.0.tar.gz | 3 --- nose2-0.9.1.tar.gz | 3 +++ python-nose2.changes | 16 ++++++++++++++++ python-nose2.spec | 6 +++--- remove_unittest2.patch | 24 +++++++++++++----------- 5 files changed, 35 insertions(+), 17 deletions(-) delete mode 100644 nose2-0.8.0.tar.gz create mode 100644 nose2-0.9.1.tar.gz diff --git a/nose2-0.8.0.tar.gz b/nose2-0.8.0.tar.gz deleted file mode 100644 index 0a85279..0000000 --- a/nose2-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3 -size 142142 diff --git a/nose2-0.9.1.tar.gz b/nose2-0.9.1.tar.gz new file mode 100644 index 0000000..172d754 --- /dev/null +++ b/nose2-0.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ede156fd7974fa40893edeca0b709f402c0ccacd7b81b22e76f73c116d1b999 +size 153897 diff --git a/python-nose2.changes b/python-nose2.changes index f0bb77f..4067e0a 100644 --- a/python-nose2.changes +++ b/python-nose2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Apr 8 11:19:14 UTC 2019 - Ondřej Súkup + +- update to 0.9.1 +- refresh remove_unittest2.patch + * the prof plugin now uses cProfile instead of hotshot for profiling + * skipped tests now include the user's reason in junit XML's message field + * the prettyassert plugin mishandled multi-line function definitions + * Using a plugin's CLI flag when the plugin is already enabled via config + no longer errors + * nose2.plugins.prettyassert, enabled with --pretty-assert + * Cleanup code for EOLed python versions + * Dropped support for distutils. + * Result reporter respects failure status set by other plugins + * JUnit XML plugin now includes the skip reason in its output + ------------------------------------------------------------------- Thu Aug 16 10:22:15 UTC 2018 - jengelh@inai.de diff --git a/python-nose2.spec b/python-nose2.spec index 50a697b..23ff525 100644 --- a/python-nose2.spec +++ b/python-nose2.spec @@ -1,7 +1,7 @@ # # spec file for package python-nose2 # -# 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 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-nose2 -Version: 0.8.0 +Version: 0.9.1 Release: 0 Summary: Second generation of the "nose" Python testing framework License: BSD-2-Clause AND Python-2.0 diff --git a/remove_unittest2.patch b/remove_unittest2.patch index b6075e9..136fa7c 100644 --- a/remove_unittest2.patch +++ b/remove_unittest2.patch @@ -1,11 +1,13 @@ ---- a/setup.py -+++ b/setup.py -@@ -93,7 +93,7 @@ else: - ], - } - params['install_requires'] = parse_requirements('requirements.txt') -- params['test_suite'] = 'unittest.collector' -+ params['test_suite'] = 'nose2.tests' - params['extras_require']['doc'] = parse_requirements('requirements-docs.txt') - params['extras_require'].update(add_per_version_requirements()) - +Index: nose2-0.9.0/setup.py +=================================================================== +--- nose2-0.9.0.orig/setup.py ++++ nose2-0.9.0/setup.py +@@ -44,7 +44,7 @@ setup( + "nose2-%s.%s = nose2:discover" % (py_version.major, py_version.minor), + ] + }, +- test_suite="unittest.collector", ++ test_suite="nose2.tests", + # descriptive package info below + description="unittest2 with plugins, the succesor to nose", + long_description=LONG_DESCRIPTION,