forked from pool/python-testrepository
Accepting request 673188 from home:jayvdb:branches:devel:languages:python
- Add missing dependencies pytz and dbm - Activate tests, currently broken - Fix %license OBS-URL: https://build.opensuse.org/request/show/673188 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testrepository?expand=0&rev=37
This commit is contained in:
committed by
Git OBS Bridge
parent
1db825e9a3
commit
47f4aa4ecc
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 11 04:14:13 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Add missing dependencies pytz and dbm
|
||||||
|
- Activate tests, currently broken
|
||||||
|
- Fix %license
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 4 12:55:12 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 4 12:55:12 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-testrepository
|
# spec file for package python-testrepository
|
||||||
#
|
#
|
||||||
# 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
|
# 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
|
||||||
@@ -25,16 +25,19 @@ License: BSD-3-Clause OR Apache-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://launchpad.net/testrepository
|
URL: https://launchpad.net/testrepository
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/testrepository/testrepository-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/testrepository/testrepository-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module dbm}
|
||||||
BuildRequires: %{python_module extras}
|
BuildRequires: %{python_module extras}
|
||||||
BuildRequires: %{python_module fixtures}
|
BuildRequires: %{python_module fixtures}
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
BuildRequires: %{python_module python-mimeparse}
|
BuildRequires: %{python_module python-mimeparse}
|
||||||
BuildRequires: %{python_module python-subunit}
|
BuildRequires: %{python_module python-subunit}
|
||||||
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module testresources}
|
BuildRequires: %{python_module testresources}
|
||||||
BuildRequires: %{python_module testscenarios}
|
BuildRequires: %{python_module testscenarios}
|
||||||
BuildRequires: %{python_module testtools}
|
BuildRequires: %{python_module testtools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-dbm
|
||||||
Requires: python-extras
|
Requires: python-extras
|
||||||
Requires: python-fixtures
|
Requires: python-fixtures
|
||||||
Requires: python-python-subunit >= 0.0.10
|
Requires: python-python-subunit >= 0.0.10
|
||||||
@@ -70,6 +73,9 @@ subunit or be converted into a subunit stream can be accepted).
|
|||||||
%python_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/testr
|
%python_clone -a %{buildroot}%{_bindir}/testr
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative testr
|
%python_install_alternative testr
|
||||||
|
|
||||||
@@ -77,8 +83,8 @@ subunit or be converted into a subunit stream can be accepted).
|
|||||||
%python_uninstall_alternative testr
|
%python_uninstall_alternative testr
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING Apache-2.0 BSD
|
||||||
%doc Apache-2.0 NEWS README.txt BSD
|
%doc NEWS README.txt
|
||||||
%python_alternative %{_bindir}/testr
|
%python_alternative %{_bindir}/testr
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user