Hello community,
here is the log from the commit of package python-humanize for openSUSE:Factory
checked in at 2020-03-31 17:15:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-humanize (Old)
and /work/SRC/openSUSE:Factory/.python-humanize.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-humanize"
Tue Mar 31 17:15:18 2020 rev:4 rq:789933 version:2.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-humanize/python-humanize.changes
2019-06-06 18:17:11.332688373 +0200
+++
/work/SRC/openSUSE:Factory/.python-humanize.new.3160/python-humanize.changes
2020-03-31 17:15:19.387630565 +0200
@@ -1,0 +2,23 @@
+Tue Mar 31 05:49:52 UTC 2020 - [email protected]
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
0.5.1.tar.gz
New:
----
humanize-2.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-humanize.spec ++++++
--- /var/tmp/diff_new_pack.4A8lBe/_old 2020-03-31 17:15:20.219631094 +0200
+++ /var/tmp/diff_new_pack.4A8lBe/_new 2020-03-31 17:15:20.227631099 +0200
@@ -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 @@
%files %{python_files}
%license LICENCE
-%doc README.rst
+%doc README.md
%{python_sitelib}/*
%{python_sitelib}/humanize/locale/*