forked from pool/python-humanize
Accepting request 707796 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/707796 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-humanize?expand=0&rev=3
This commit is contained in:
commit
19bc64950d
3
0.5.1.tar.gz
Normal file
3
0.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e3f3ac75e647f75eec48c3950385ab7585c1c1cde2a6c1479c1f58e055a3e868
|
||||
size 20507
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19
|
||||
size 14250
|
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,10 +25,13 @@ Summary: Python humanize utilities
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
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: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mock}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -47,6 +50,9 @@ readable size or throughput.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand $python setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENCE
|
||||
%doc README.rst
|
||||
|
Loading…
Reference in New Issue
Block a user