14
0

Accepting request 662893 from home:TheBlackCat:branches:devel:languages:python

- Update to testflo version 1.3.4
  * bug fix
- Update to testflo version 1.3.3
  * bug fix
- Update to testflo version 1.3.2
  * added support for ISOLATED attribute
- Update to testflo version 1.3.1
Aug 17, 2018
  * output from --pre_announce now looks better, with the result ('.', 'S', or 'F') showing on the same line as the
    "about to run ..." instead of on the following line
  * comments are now allowed inside of a test list file
  * added a --full_path option so that full testspec paths will be displayed. Having the full path make it easier to
    copy and paste the testspec to run testflo on just that single test.
  * updated the long_description in setup.py for pypi.

OBS-URL: https://build.opensuse.org/request/show/662893
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testflo?expand=0&rev=10
This commit is contained in:
Todd R
2019-01-04 19:13:41 +00:00
committed by Git OBS Bridge
parent 7dddb53d41
commit 8675ae77be
6 changed files with 43 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-testflo
#
# 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
@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-testflo
Version: 1.2
Version: 1.3.4
Release: 0
Summary: A flow-based testing framework
License: Apache-2.0
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
Patch0: use_setuptools.patch
BuildRequires: %{python_module setuptools}
@@ -35,9 +34,12 @@ BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module mpi4py}
BuildRequires: %{python_module psutil}
# /SECTION
Requires: python-six
Recommends: python-coverage
Recommends: python-mpi4py
Recommends: python-psutil
BuildArch: noarch
Requires(post): update-alternatives
Requires(preun): update-alternatives
@@ -53,7 +55,6 @@ using unittest.TestCase objects that they are familiar with.
%prep
%setup -q -n testflo-%{version}
cp %{SOURCE10} .
%patch0 -p1
%build
@@ -64,8 +65,9 @@ cp %{SOURCE10} .
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/testflo
%check
%python_expand $python -m unittest testflo.test
# Tests not included in sdists
# %%check
# %%python_expand $python -B -m unittest testflo.test
%post
%python_install_alternative testflo
@@ -75,6 +77,7 @@ cp %{SOURCE10} .
%files %{python_files}
%license LICENSE.txt
%doc README.md RELEASE_NOTES.txt
%python_alternative %{_bindir}/testflo
%{python_sitelib}/*