15
0

Accepting request 574413 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/574413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-humanfriendly?expand=0&rev=4
This commit is contained in:
2018-02-09 14:51:56 +00:00
committed by Git OBS Bridge
4 changed files with 110 additions and 7 deletions

View File

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

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

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

View File

@@ -1,3 +1,106 @@
-------------------------------------------------------------------
Thu Feb 8 21:59:46 UTC 2018 - adrian.glaubitz@suse.com
- Update to version 4.8
* Add coerce_pattern() function
* Improve code consistency
- From version 4.7
* Support background colors and 256 color mode
* Tests for output(), message() and warning()
- From version 4.6
* Support for bright terminal colors
- From version 4.5
* Extend byte ranges, add RAM output to command line
- From version 4.4.2
* Reduce clock source sensitivity* (MacOS on Travis CI)
* Fix `Double requirement given' error
* Try to fix Python 2.6 tests on Travis CI
* Change Sphinx documentation theme
* Bump copyright
* Try to enable MacOS builds on Travis CI
* Fix ImportError exception on Windows
- From version 4.4.1
* Include docs to sdist
* PEP-8 fail
* Change cli test from 1.05 mm to 1.05 km
* Another correction to test_cli
* Corrected CLI format_length test
* Aim for more CLI coverage
* Add CLI tests for format-byte
* Added size test cases
* Size 1z is now valid
- From version 4.4
* Add touch() to __all__
* Make touch() create intermediate directories
* Add humanfriendly.testing.touch() function
- From version 4.3
* Don't log duplicate output in run_cli()
- From version 4.2
* Reconfigure logging in run_cli()
- From version 4.1
* Always log stderr as well in run_cli()
- From version 4.0
* Improve humanfriendly.testing.run_cli() (backwards incompatible)
- From version 3.8
* Make it easy to mock the $HOME directory
- From version 3.7
* Customizable skipping of tests
* Added .pyc to .gitignore
* Added Exa, Zetta & Yotta prefixes and tests
* Added -S --format-bytes option to use powers of 1024 rather than 1000 from command line.
- From version 3.6.1
* Improve robustness of Patched{Attribute,Item}
- From version 3.6
* Make retry limit configurable
* Refactor makefile and Travis CI configuration
- From version 3.5
* Bug fix for TestCase.assertRaises()
* Enhance TestCase.assertRaises()
- From version 3.4.1
* Bug fix for Python 3 syntax incompatibility
- From version 3.4
* Promote command line test function to public API
- From version 3.3
* Add humanfriendly.testing module (unittest helpers)
* Add humanfriendly.text.random_string() function
* Define humanfriendly.text.__all__
* Reorder functions in humanfriendly.text alphabetically
- From version 3.2
* Auto-encode terminal output to avoid encoding errors
* Remove unused import
- From version 3.1
* Improve usage message parsing and rendering
- From version 3.0
* Add Python 3.6 to tested versions
* Silence flake8 complaints
* Add min, mins tests
* Support min, mins abbreviations for minutes
- From version 2.4
* Restore Python 3 compatibility
* Make usage() and show_pager() more user friendly
* Remove redundant :py: prefixes in docstrings
* Improve docstrings in setup.py
- From version 2.3.2
* Bug fix: Don't hard code conditional dependencies in wheels
- From version 2.3.1
* Fix parse_usage() tripping up on commas in option labels
* Break test suite to reproduce parse_usage() bug
- From version 2.3
* Switch to monotonic clock for timers
* Bump copyright
* Minor improvements to setup script
* Improve intersphinx references
* s/readthedocs.org/readthedocs.io/g
- From version 2.2.1
* Fix timers being awkward as context managers
* Reproduce timers being awkward as context managers
* Minor improvements to reStructuredText in docstrings
- From version 2.2
* Fix parse_date() choking on Unicode strings
* Reproduce parse_date() bug in test suite
* Fix flake8 warning
* Only use readline hints in prompts when stdin is tty
-------------------------------------------------------------------
Wed Sep 6 16:36:13 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-humanfriendly
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,18 +20,18 @@
# Dependency loop with colorlogs
%bcond_with test
Name: python-humanfriendly
Version: 4.4.1
Version: 4.8
Release: 0
Summary: Human friendly input/output for text interfaces using Python
License: MIT
Group: Development/Languages/Python
Url: https://github.com/xolox/humanfriendly
Source: https://files.pythonhosted.org/packages/source/h/humanfriendly/humanfriendly-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-monotonic
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module coloredlogs >= 2}
%endif