14
0

Accepting request 659824 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/659824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testscenarios?expand=0&rev=7
This commit is contained in:
2018-12-26 23:29:20 +00:00
committed by Git OBS Bridge
2 changed files with 19 additions and 11 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Dec 18 23:20:07 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary.
-------------------------------------------------------------------
Tue Dec 4 12:55:13 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sun Apr 9 15:32:54 UTC 2017 - aloisio@gmx.com
@@ -7,7 +17,7 @@ Sun Apr 9 15:32:54 UTC 2017 - aloisio@gmx.com
Sun Apr 2 08:11:06 UTC 2017 - aloisio@gmx.com
- Converted to single-spec
- Updated source URL
- Updated source URL
-------------------------------------------------------------------
Fri May 15 12:47:31 UTC 2015 - benoit.monin@gmx.fr

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-testscenarios
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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,7 +12,7 @@
# 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/
#
@@ -20,12 +20,11 @@
Name: python-testscenarios
Version: 0.5.0
Release: 0
Summary: Testscenarios, a pyunit extension for dependency injection
License: Apache-2.0 or BSD-3-Clause
Summary: A pyunit extension for dependency injection
License: Apache-2.0 OR BSD-3-Clause
Group: Development/Languages/Python
Url: https://launchpad.net/testscenarios
URL: https://launchpad.net/testscenarios
Source: https://files.pythonhosted.org/packages/source/t/testscenarios/testscenarios-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pbr >= 0.11}
# Tests cause a dependency loop
#BuildRequires: %%{python_module extras}
@@ -35,12 +34,11 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pbr >= 0.11
Requires: python-testtools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
testscenarios provides clean dependency injection for python unittest style
testscenarios provides clean dependency injection for Python unittest style
tests. This can be used for interface testing (testing many implementations via
a single test suite) or for classic dependency injection (provide tests with
dependencies externally to the test code itself, allowing easy testing in
@@ -63,8 +61,8 @@ different situations).
#}
%files %{python_files}
%defattr(-,root,root,-)
%doc Apache-2.0 BSD COPYING GOALS HACKING NEWS README
%license COPYING
%doc Apache-2.0 BSD GOALS HACKING NEWS README
%{python_sitelib}/testscenarios
%{python_sitelib}/testscenarios-%{version}-py%{python_version}.egg-info