1
0

Accepting request 789933 from devel:languages:python

- Update to 2.2.0: 
  * Added
    + Disambiguate naturaldate return: only append year if more than
    + ~5 months away (#107) @hugovk
    + Add scientific notation to string support (#110) @Thx3r @hugovk
    + Add micro- and millisecond units to naturaldelta and
    + naturaltime (#104) @hugovk
    + Add ndigits option to intcomma (#123) @hugovk
    + Show more than bytes for negative file sizes (#122) @hugovk
  * Fixed
    + Fix: AP style for 0 is 'zero' (#121) @hugovk
  * Changed
    + Disambiguate naturaldate return: only append year if more than ~5 months away (#107) @hugovk
    + Convert remaining tests to use pytest.mark.parametrize (#109) @hugovk
    + Refactor some tests to use pytest.mark.parametrize (#108) @hugovk
  * Removed
    + Drop support for EOL Python 2 (#102) @hugovk
- Fiddle with BuildRequires, adding new modules that are needed
- Switch to pypi source tarball, required for setuptools_scm

OBS-URL: https://build.opensuse.org/request/show/789933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-humanize?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-03-31 15:15:18 +00:00 committed by Git OBS Bridge
commit ef012d3f73
4 changed files with 34 additions and 8 deletions

View File

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

3
humanize-2.2.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Mar 31 05:49:52 UTC 2020 - steven.kowalik@suse.com
- Update to 2.2.0:
* Added
+ Disambiguate naturaldate return: only append year if more than
+ ~5 months away (#107) @hugovk
+ Add scientific notation to string support (#110) @Thx3r @hugovk
+ Add micro- and millisecond units to naturaldelta and
+ naturaltime (#104) @hugovk
+ Add ndigits option to intcomma (#123) @hugovk
+ Show more than bytes for negative file sizes (#122) @hugovk
* Fixed
+ Fix: AP style for 0 is 'zero' (#121) @hugovk
* Changed
+ Disambiguate naturaldate return: only append year if more than ~5 months away (#107) @hugovk
+ Convert remaining tests to use pytest.mark.parametrize (#109) @hugovk
+ Refactor some tests to use pytest.mark.parametrize (#108) @hugovk
* Removed
+ Drop support for EOL Python 2 (#102) @hugovk
- Fiddle with BuildRequires, adding new modules that are needed
- Switch to pypi source tarball, required for setuptools_scm
-------------------------------------------------------------------
Wed Jun 5 08:03:04 UTC 2019 - Petr Gajdos <pgajdos@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-humanize
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,20 +17,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%global modname humanize
Name: python-humanize
Version: 0.5.1
Version: 2.2.0
Release: 0
Summary: Python humanize utilities
License: MIT
Group: Development/Languages/Python
URL: http://github.com/jmoiron/humanize
Source: https://github.com/jmoiron/humanize/archive/%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/h/humanize/humanize-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module mock}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pytest}
# /SECTION
BuildArch: noarch
%python_subpackages
@ -55,7 +58,7 @@ readable size or throughput.
%files %{python_files}
%license LICENCE
%doc README.rst
%doc README.md
%{python_sitelib}/*
%{python_sitelib}/humanize/locale/*