diff --git a/humanreadable-0.1.0.tar.gz b/humanreadable-0.1.0.tar.gz deleted file mode 100644 index 86122fc..0000000 --- a/humanreadable-0.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80f10a1575ebb140d9345a347f981dc6faa70d090885490d77f63361290b4ff7 -size 12677 diff --git a/humanreadable-0.4.0.tar.gz b/humanreadable-0.4.0.tar.gz new file mode 100644 index 0000000..7d39652 --- /dev/null +++ b/humanreadable-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2879a146f0602512addfcfba227956a3f1d23b99e9f938ff91b2085a170519ba +size 34493 diff --git a/python-humanreadable.changes b/python-humanreadable.changes index ece1fef..1598219 100644 --- a/python-humanreadable.changes +++ b/python-humanreadable.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Dec 7 22:53:31 UTC 2023 - Dirk Müller + +- update to 0.4.0: + * Add `to_humanreadable` method to `BitsPerSecond` class + * Fix `to_humanreadable` method failed when the value is over 1 + day: #2 (Thanks to @giobri) + * Fix `__all__` in `__init__.py` + * Drop support for Python 3.6 + * Improve type annotations + * Modify to use `pypa/build` for package build +- update to 0.3.0: + * Add additional formats support for `BitPerSecond` class + * Add `__add__` method to `BitPerSecond` and `Time` classes + * Add `BitsPerSecond` class that is an alias of the + `BitPerSecond` class + * Add `to_humanreadable` method to the `Time` class +- update to 0.2.0: + * Add support for Python 3.10/3.11 + * Drop support for Python 3.5 + * Change `BitPerSecond.bps` property type from `int` to `float` + * Add type annotations + * Update requirements + ------------------------------------------------------------------- Sat Apr 4 11:17:46 UTC 2020 - Martin Hauke diff --git a/python-humanreadable.spec b/python-humanreadable.spec index d5b54fd..e02d9f8 100644 --- a/python-humanreadable.spec +++ b/python-humanreadable.spec @@ -1,7 +1,7 @@ # # spec file for package python-humanreadable # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,22 +19,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-humanreadable -Version: 0.1.0 +Version: 0.4.0 Release: 0 Summary: A Python library to convert from human-readable values to Python values License: MIT Group: Development/Languages/Python URL: https://github.com/thombashi/humanreadable Source: https://files.pythonhosted.org/packages/source/h/humanreadable/humanreadable-%{version}.tar.gz -BuildRequires: %{python_module setuptools >= 38.3.0} +BuildRequires: %{python_module setuptools >= 61} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} -BuildRequires: %{python_module typepy >= 0.6.4} +BuildRequires: %{python_module typepy >= 1.2.0} # /SECTION BuildRequires: fdupes -Requires: python-setuptools >= 38.3.0 -Requires: python-typepy >= 0.6.4 +Requires: python-setuptools >= 61 +Requires: python-typepy >= 1.2.0 BuildArch: noarch %python_subpackages