14
0

Accepting request 783802 from home:pgajdos:python

- version update to 1.4.1
  * bugfix
- deleted patches
  - use_setuptools.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/783802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testflo?expand=0&rev=12
This commit is contained in:
Tomáš Chvátal
2020-03-11 12:26:48 +00:00
committed by Git OBS Bridge
parent 8675ae77be
commit 74a9eba3fa
5 changed files with 22 additions and 37 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Mar 11 12:15:00 UTC 2020 - pgajdos@suse.com
- version update to 1.4.1
* bugfix
- deleted patches
- use_setuptools.patch (upstreamed)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 4 18:21:36 UTC 2019 - Todd R <toddrme2178@gmail.com> Fri Jan 4 18:21:36 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-testflo # spec file for package python-testflo
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,32 +18,30 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-testflo Name: python-testflo
Version: 1.3.4 Version: 1.4.1
Release: 0 Release: 0
Summary: A flow-based testing framework Summary: A flow-based testing framework
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/OpenMDAO/testflo URL: https://github.com/OpenMDAO/testflo
Source: https://files.pythonhosted.org/packages/source/t/testflo/testflo-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/testflo/testflo-%{version}.tar.gz
# PATCH-FIX-OPENSUSE use_setuptools.patch -- some of the optional features we want need setuptools
Patch0: use_setuptools.patch
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-six
Requires(post): update-alternatives
Requires(preun): update-alternatives
Recommends: python-coverage
Recommends: python-mpi4py
Recommends: python-psutil
BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module coverage} BuildRequires: %{python_module coverage}
BuildRequires: %{python_module mpi4py} BuildRequires: %{python_module mpi4py}
BuildRequires: %{python_module psutil} BuildRequires: %{python_module psutil}
# /SECTION # /SECTION
Requires: python-six
Recommends: python-coverage
Recommends: python-mpi4py
Recommends: python-psutil
BuildArch: noarch
Requires(post): update-alternatives
Requires(preun): update-alternatives
%python_subpackages %python_subpackages
%description %description
@@ -55,7 +53,6 @@ using unittest.TestCase objects that they are familiar with.
%prep %prep
%setup -q -n testflo-%{version} %setup -q -n testflo-%{version}
%patch0 -p1
%build %build
%python_build %python_build

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2572d26be18918a48e336f235885f29c6378963e2151f431e4325b09e132143f
size 21673

3
testflo-1.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c0e34d211b9129c1b0542884d95d1b388cf48b68a2a67f16ba23cb086551310
size 23887

View File

@@ -1,20 +0,0 @@
From 31d00f83262e66298f759b8e2b45718cd534622c Mon Sep 17 00:00:00 2001
From: Todd <toddrme2178@gmail.com>
Date: Fri, 4 Jan 2019 13:48:50 -0500
Subject: [PATCH] Use setuptools
`entry_points` requires setuptools. It doesn't work with distutils.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 4a4f6fd..55cf9ba 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from distutils.core import setup
+from setuptools import setup
import re