15
0

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
This commit is contained in:
2016-10-10 20:41:23 +00:00
committed by Git OBS Bridge
parent a371bc63c4
commit d2db72ddf9
4 changed files with 56 additions and 9 deletions

View File

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

3
humanfriendly-2.1.tar.gz Normal file
View File

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

View File

@@ -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

View File

@@ -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 options 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