1
0

- update to 4.4.0:

* Add installation instructions (#56) @hugovk
  * Internationalise the decimal separator in intcomma() (#53) @Luflosi
  * Internationalise intcomma for de_DE locale (#49) @Luflosi
  * Replace short scale with long scale for Polish numbers (#54) @mjmikulski
  * Fix intcomma() failing with a string as input when ndigits is not None
    (#52) @Luflosi
  * Fix some pylint findings (#42) @hugovk
  * Fix "ValueError: math domain error" for metric(0) (#47) @liukun
  * Add Greek translation (#46) @waseigo
  * Polish: Added thousand, fixed big numbers (#43) @dejurin
  * Fix intword for negative numbers (#41) @vishket
  * Update annotations, docs, and tests: naturaltime can also accept a
    timedelta (#31) @nuztalgia
  * Update annotations: naturadelta and naturaltime can also accept a float
    (#29) @hugovk
  * Rename Arabic locale from ar_SA to ar to enable fallbacks (#27) @hugovk
  * Use %d for year translations, convert to string for intcomma after (#23)
    @carterbox
  * Fix intcomma with ndigits=0 (#26) @hugovk
  * Add humanize.metric() for converting big/small numbers to SI units (#22)
  * Add type hints (#15) @hugovk
  * Fix scientific() on small positive numbers (#22) @bwoodsend
  * Remove redundant wheel dependency from pyproject.toml (#16) @mgorny
  * Support Python 3.11 (#13) @hugovk
  * Add Arabic language (jmoiron/humanize#256) @AYMENJD
  * Docs: add dark mode toggle and default to system preference
    (jmoiron/humanize#255) @hugovk
  * Documentation improvements (jmoiron/humanize#254) @mondeja
  * Update repo links (#2) @hugovk

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanize?expand=0&rev=23
This commit is contained in:
Dirk Mueller 2023-01-04 20:04:44 +00:00 committed by Git OBS Bridge
parent 4044e4fa9b
commit e704decb5b
4 changed files with 40 additions and 6 deletions

View File

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

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

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

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Wed Jan 4 20:02:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.4.0:
* Add installation instructions (#56) @hugovk
* Internationalise the decimal separator in intcomma() (#53) @Luflosi
* Internationalise intcomma for de_DE locale (#49) @Luflosi
* Replace short scale with long scale for Polish numbers (#54) @mjmikulski
* Fix intcomma() failing with a string as input when ndigits is not None
(#52) @Luflosi
* Fix some pylint findings (#42) @hugovk
* Fix "ValueError: math domain error" for metric(0) (#47) @liukun
* Add Greek translation (#46) @waseigo
* Polish: Added thousand, fixed big numbers (#43) @dejurin
* Fix intword for negative numbers (#41) @vishket
* Update annotations, docs, and tests: naturaltime can also accept a
timedelta (#31) @nuztalgia
* Update annotations: naturadelta and naturaltime can also accept a float
(#29) @hugovk
* Rename Arabic locale from ar_SA to ar to enable fallbacks (#27) @hugovk
* Use %d for year translations, convert to string for intcomma after (#23)
@carterbox
* Fix intcomma with ndigits=0 (#26) @hugovk
* Add humanize.metric() for converting big/small numbers to SI units (#22)
* Add type hints (#15) @hugovk
* Fix scientific() on small positive numbers (#22) @bwoodsend
* Remove redundant wheel dependency from pyproject.toml (#16) @mgorny
* Support Python 3.11 (#13) @hugovk
* Add Arabic language (jmoiron/humanize#256) @AYMENJD
* Docs: add dark mode toggle and default to system preference
(jmoiron/humanize#255) @hugovk
* Documentation improvements (jmoiron/humanize#254) @mondeja
* Update repo links (#2) @hugovk
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 13 07:20:09 UTC 2022 - Dirk Müller <dmueller@suse.com> Thu Oct 13 07:20:09 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-humanize # spec file for package python-humanize
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# 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
@ -20,12 +20,12 @@
%define skip_python2 1 %define skip_python2 1
%global modname humanize %global modname humanize
Name: python-humanize Name: python-humanize
Version: 4.0.0 Version: 4.4.0
Release: 0 Release: 0
Summary: Python humanize utilities Summary: Python humanize utilities
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/jmoiron/humanize URL: https://github.com/python-humanize/humanize
Source: https://files.pythonhosted.org/packages/source/h/humanize/humanize-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/h/humanize/humanize-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}