1
0

Accepting request 707772 from home:pgajdos

- test package in %check

OBS-URL: https://build.opensuse.org/request/show/707772
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanize?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal 2019-06-05 10:22:41 +00:00 committed by Git OBS Bridge
parent ff48e71f21
commit 516fa684e6
4 changed files with 16 additions and 5 deletions

3
0.5.1.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 5 08:03:04 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- test package in %check
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 10 12:37:51 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com> Mon Dec 10 12:37:51 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-humanize # spec file for package python-humanize
# #
# 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,10 +25,13 @@ Summary: Python humanize utilities
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://github.com/jmoiron/humanize URL: http://github.com/jmoiron/humanize
Source: https://files.pythonhosted.org/packages/source/h/humanize/%{modname}-%{version}.tar.gz Source: https://github.com/jmoiron/humanize/archive/%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module mock}
# /SECTION
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -47,6 +50,9 @@ readable size or throughput.
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand $python setup.py test
%files %{python_files} %files %{python_files}
%license LICENCE %license LICENCE
%doc README.rst %doc README.rst