From e89d239f0c971b8627b5e6d2a4492880b6de41da944b185c69c68485f8254cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 30 Jul 2018 07:35:14 +0000 Subject: [PATCH] Accepting request 626089 from home:jengelh:branches:devel:languages:python - Trim history lesson from description. Rewrite description so it is from the perspective of openSUSE, not upstream. OBS-URL: https://build.opensuse.org/request/show/626089 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testflo?expand=0&rev=5 --- python-testflo.changes | 6 ++++++ python-testflo.spec | 23 ++++++++--------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/python-testflo.changes b/python-testflo.changes index e62455e..7f617d9 100644 --- a/python-testflo.changes +++ b/python-testflo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jul 29 12:29:40 UTC 2018 - jengelh@inai.de + +- Trim history lesson from description. Rewrite description so + it is from the perspective of openSUSE, not upstream. + ------------------------------------------------------------------- Thu May 24 17:50:44 UTC 2018 - toddrme2178@gmail.com diff --git a/python-testflo.spec b/python-testflo.spec index a66fc46..6a85b1e 100644 --- a/python-testflo.spec +++ b/python-testflo.spec @@ -13,15 +13,17 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-testflo Version: 1.2 Release: 0 +Summary: A flow-based testing framework License: Apache-2.0 -Summary: A simple flow based testing framework -Url: https://github.com/OpenMDAO/testflo Group: Development/Languages/Python +Url: https://github.com/OpenMDAO/testflo Source: https://files.pythonhosted.org/packages/source/t/testflo/testflo-%{version}.tar.gz Source10: https://raw.githubusercontent.com/OpenMDAO/testflo/%{version}/LICENSE.txt # PATCH-FIX-OPENSUSE use_setuptools.patch -- some of the optional features we want need setuptools @@ -43,20 +45,11 @@ Requires(preun): update-alternatives %python_subpackages %description -A simple flow based testing framework. testflo was written to support +This module provides a flow-based testing framework. testflo supports testing of the OpenMDAO framework. Some OpenMDAO features require -execution under MPI while some others don’t, so we wanted a testing -framework that could run all of our tests in the same way and would -allow us to build all of our tests using unittest.TestCase objects -that we were already familiar with. - -The MPI testing functionality was originally implemented using the -nose testing framework. It worked, but was always buggy, and the size -and complexity of the nose framework made it difficult to know -exactly what was going on. Enter testflo, an attempt to build a -simpler testing framework that would have the basic functionality of -other test frameworks, with the additional ability to run MPI unit -tests that are very similar to regular unit tests +execution under MPI, while others don't. testflo runs all of the +authors' tests in the same way and allows them to build their tests +using unittest.TestCase objects that they are familiar with. %prep %setup -q -n testflo-%{version}