From 53e417006beac58990355e807543178e2ea7ae58b519dc0f8a06b8c29be2faf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 17 Aug 2021 15:28:24 +0000 Subject: [PATCH] Accepting request 912658 from home:glaubitz:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 9.2 Maintenance release: * Merged pull request `#46`_ which fixes several :pypi:`flake8` warnings. * Merged pull request `#49`_ which marks Python 3.9 support final. * Merged pull request `#51`_ which helps to stabilize the test suite. * Merged pull request `#52`_ which updates the :mod:`humanfriendly.sphinx` module to include Sphinx extension metadata that has become mandatory in a recent Sphinx release. After merging the pull request I added additional metadata including the version. - from version 9.1 * Added :func:`~humanfriendly.compat.on_macos()` function to detect Apple MacOS (I need this in an upcoming :pypi:`coloredlogs` release and don't want to have to think about how to detect MacOS again in the future 😇). - from version 9.0 The major version number was bumped because the bug fix for :func:`~humanfriendly.text.pluralize()` is backwards incompatible and (even though this seems like very "cosmetic" functionality) version numbers are cheap, so who cares 😉. **Bug fixes:** * Changed :func:`~humanfriendly.format_number()` to properly support negative numbers (as suggested in `issue #40`_). * Changed :func:`~humanfriendly.text.pluralize()` to generate "1.5 seconds" instead of "1.5 second" (as suggested in `issue #43`_). **Enhancements:** * Enhanced :func:`~humanfriendly.text.concatenate()` to support ``conjunction`` and ``serial_comma`` keyword arguments (as suggested in `issue #30`_). * Added :func:`~humanfriendly.text.pluralize_raw()` to select singular or plural form without prefixing the count to the text that is returned. - from version 8.2 * Added a simple case insensitive dictionary implementation, for details refer to OBS-URL: https://build.opensuse.org/request/show/912658 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=32 --- humanfriendly-8.1.tar.gz | 3 --- humanfriendly-9.2.tar.gz | 3 +++ python-humanfriendly.changes | 35 +++++++++++++++++++++++++++++++++++ python-humanfriendly.spec | 8 ++++---- 4 files changed, 42 insertions(+), 7 deletions(-) delete mode 100644 humanfriendly-8.1.tar.gz create mode 100644 humanfriendly-9.2.tar.gz diff --git a/humanfriendly-8.1.tar.gz b/humanfriendly-8.1.tar.gz deleted file mode 100644 index 4e35681..0000000 --- a/humanfriendly-8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25c2108a45cfd1e8fbe9cdb30b825d34ef5d5675c8e11e4775c9aedbfb0bdee2 -size 356388 diff --git a/humanfriendly-9.2.tar.gz b/humanfriendly-9.2.tar.gz new file mode 100644 index 0000000..2295763 --- /dev/null +++ b/humanfriendly-9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7dba53ac7935fd0b4a2fc9a29e316ddd9ea135fb3052d3d0279d10c18ff9c48 +size 360080 diff --git a/python-humanfriendly.changes b/python-humanfriendly.changes index 931a9a1..84f8ae3 100644 --- a/python-humanfriendly.changes +++ b/python-humanfriendly.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Tue Aug 17 10:58:03 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 9.2 + Maintenance release: + * Merged pull request `#46`_ which fixes several :pypi:`flake8` warnings. + * Merged pull request `#49`_ which marks Python 3.9 support final. + * Merged pull request `#51`_ which helps to stabilize the test suite. + * Merged pull request `#52`_ which updates the :mod:`humanfriendly.sphinx` + module to include Sphinx extension metadata that has become mandatory in a + recent Sphinx release. After merging the pull request I added additional + metadata including the version. +- from version 9.1 + * Added :func:`~humanfriendly.compat.on_macos()` function to detect Apple MacOS + (I need this in an upcoming :pypi:`coloredlogs` release and don't want to have + to think about how to detect MacOS again in the future 😇). +- from version 9.0 + The major version number was bumped because the bug fix for + :func:`~humanfriendly.text.pluralize()` is backwards incompatible + and (even though this seems like very "cosmetic" functionality) + version numbers are cheap, so who cares 😉. + **Bug fixes:** + * Changed :func:`~humanfriendly.format_number()` to properly support negative + numbers (as suggested in `issue #40`_). + * Changed :func:`~humanfriendly.text.pluralize()` to generate "1.5 seconds" + instead of "1.5 second" (as suggested in `issue #43`_). + **Enhancements:** + * Enhanced :func:`~humanfriendly.text.concatenate()` to support ``conjunction`` + and ``serial_comma`` keyword arguments (as suggested in `issue #30`_). + * Added :func:`~humanfriendly.text.pluralize_raw()` to select singular or + plural form without prefixing the count to the text that is returned. +- from version 8.2 + * Added a simple case insensitive dictionary implementation, for details refer to + the new :mod:`humanfriendly.case` module. + ------------------------------------------------------------------- Thu Apr 23 11:01:33 UTC 2020 - Tomáš Chvátal diff --git a/python-humanfriendly.spec b/python-humanfriendly.spec index ba22396..2d0ccb5 100644 --- a/python-humanfriendly.spec +++ b/python-humanfriendly.spec @@ -1,7 +1,7 @@ # -# spec file for package python +# spec file # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ %bcond_without python2 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-humanfriendly%{psuffix} -Version: 8.1 +Version: 9.2 Release: 0 Summary: Human friendly input/output for text interfaces using Python License: MIT @@ -38,7 +38,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %if %{with test} BuildRequires: %{python_module capturer >= 2.1}