From d2db72ddf938f48a7e41b7659a2d537edd952f02671d13067955e17200dece06 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Oct 2016 20:41:23 +0000 Subject: [PATCH] Accepting request 434195 from home:mnhauke - Update to version 2.1 * Release 2.1: Support for sanitizing terminal output * Support for sanitizing terminal output * Merge #12: Update README.rst for new unit behaviour * Update README.rst for new unit behaviour * Release 2.0: Proper support for IEEE 1541 definitions of units? (fixes #4, merges #8 and #9) * Proper support for IEEE 1541 definitions of units? * Merge #9: Add note about IEEE 1541 definitions of units * Merge #8: Allow correct behavior of 'parse_size' and 'format_size' * Stop clearing coverage data on Travis CI :-) * Release 1.44.9 (fixes #10 and #11) * Restore Python 2.6 compatibility (#10 and #11) * Resolve timespan formatting issues (#10 and #11) * Reproduce timespan formatting issues reported in #10 and #11 * Refactor makefile, switch to py.test, wheel support, etc. * Release 1.44.8 (fixes #7) * Don't test tags on Travis CI * Fix issue #7 * Reproduce issue #7 in test suite * Minor improvements to setup script * Add note about IEEE 1541 definitions of units * Added unit tests * Implemented correct handling of prefixes based on IEEE 1540 - Fix source url - Minor specfile cleanup OBS-URL: https://build.opensuse.org/request/show/434195 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=3 --- 1.44.7.tar.gz | 3 --- humanfriendly-2.1.tar.gz | 3 +++ python-humanfriendly.changes | 29 +++++++++++++++++++++++++++++ python-humanfriendly.spec | 30 ++++++++++++++++++++++++------ 4 files changed, 56 insertions(+), 9 deletions(-) delete mode 100644 1.44.7.tar.gz create mode 100644 humanfriendly-2.1.tar.gz diff --git a/1.44.7.tar.gz b/1.44.7.tar.gz deleted file mode 100644 index cc4dcd4..0000000 --- a/1.44.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:902f1c3d764c3650f96994b9fac1a8c8b4c436e3716537c6f608294bbd947650 -size 208307 diff --git a/humanfriendly-2.1.tar.gz b/humanfriendly-2.1.tar.gz new file mode 100644 index 0000000..de2f0e6 --- /dev/null +++ b/humanfriendly-2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecbbb27444b3151a1d2e4366af938151597bdfe1a9d645595804df34e3e8c6ac +size 49310 diff --git a/python-humanfriendly.changes b/python-humanfriendly.changes index 95d3833..a797106 100644 --- a/python-humanfriendly.changes +++ b/python-humanfriendly.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Mon Oct 10 19:21:56 UTC 2016 - mardnh@gmx.de + +- Update to version 2.1 + * Release 2.1: Support for sanitizing terminal output + * Support for sanitizing terminal output + * Merge #12: Update README.rst for new unit behaviour + * Update README.rst for new unit behaviour + * Release 2.0: Proper support for IEEE 1541 definitions of units? (fixes #4, merges #8 and #9) + * Proper support for IEEE 1541 definitions of units? + * Merge #9: Add note about IEEE 1541 definitions of units + * Merge #8: Allow correct behavior of 'parse_size' and 'format_size' + * Stop clearing coverage data on Travis CI :-) + * Release 1.44.9 (fixes #10 and #11) + * Restore Python 2.6 compatibility (#10 and #11) + * Resolve timespan formatting issues (#10 and #11) + * Reproduce timespan formatting issues reported in #10 and #11 + * Refactor makefile, switch to py.test, wheel support, etc. + * Release 1.44.8 (fixes #7) + * Don't test tags on Travis CI + * Fix issue #7 + * Reproduce issue #7 in test suite + * Minor improvements to setup script + * Add note about IEEE 1541 definitions of units + * Added unit tests + * Implemented correct handling of prefixes based on IEEE 1540 +- Fix source url +- Minor specfile cleanup + ------------------------------------------------------------------- Wed Jun 1 20:56:09 UTC 2016 - okurz@suse.com diff --git a/python-humanfriendly.spec b/python-humanfriendly.spec index cffa728..58b0e7e 100644 --- a/python-humanfriendly.spec +++ b/python-humanfriendly.spec @@ -1,3 +1,6 @@ +# +# spec file for package python-humanfriendly +# # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -9,24 +12,38 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + Name: python-humanfriendly -Version: 1.44.7 +Version: 2.1 Release: 0 Summary: Human friendly input/output for text interfaces using Python License: MIT Group: Development/Languages/Python -Source: https://github.com/xolox/%{name}/archive/%{version}.tar.gz Url: https://github.com/xolox/%{name} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: https://pypi.io/packages/source/h/humanfriendly/humanfriendly-%{version}.tar.gz BuildRequires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description -Human friendly input/output for text interfaces using Python https://humanfriendly.readthedocs.org +The functions and classes in the humanfriendly package can be used to make +text interfaces more user friendly. + + Some example features: + * Parsing and formatting numbers, file sizes, pathnames and timespans in + simple, human friendly formats. + * Easy to use timers for long running operations, with human friendly + formatting of the resulting timespans. + * Prompting the user to select a choice from a list of options by typing + the option’s number or a unique substring of the option. + * Terminal interaction including text styling (ANSI escape sequences), user + friendly rendering of usage messages and querying the terminal for its size. %prep -%setup -q +%setup -q -n humanfriendly-%{version} %build python setup.py build @@ -38,7 +55,8 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc LICENSE.txt README.rst -%{python_sitelib} %{_bindir}/humanfriendly +%{python_sitelib}/humanfriendly +%{python_sitelib}/humanfriendly-%{version}-py%{py_ver}.egg-info %changelog