Accepting request 317491 from home:alois:branches:devel:languages:python

Update to version 4.1

OBS-URL: https://build.opensuse.org/request/show/317491
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=2
This commit is contained in:
Dirk Mueller 2015-07-20 06:51:59 +00:00 committed by Git OBS Bridge
parent 80992bf03a
commit ddc42361cb
4 changed files with 48 additions and 7 deletions

View File

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

3
click-4.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Sat Jul 18 17:17:10 UTC 2015 - aloisio@gmx.com
- Update to version 4.1
* Fix a bug where error messages would include a trailing
None string.
* Fix a bug where Click would crash on docstrings with
trailing newlines.
Version 4.0:
* Added color parameters to lots of interfaces that directly
or indirectly call into echoing. This previously was always
autodetection (with the exception of the echo_via_pager
function). Now you can forcefully enable or disable it,
overriding the auto detection of Click.
* Added an UNPROCESSED type which does not perform any type
changes which simplifies text handling on 2.x / 3.x in
some special advanced usecases.
* Added NoSuchOption and BadOptionUsage exceptions for more
generic handling of errors.
* Added support for handling of unprocessed options which
can be useful in situations where arguments are forwarded
to underlying tools.
* Added max_content_width parameter to the context which
can be used to change the maximum width of help output.
By default Click will not format content for more than
80 characters width.
* Added support for writing prompts to stderr.
* Fix a bug when showing the default for multiple arguments.
* Added support for custom subclasses to option and argument.
* Fix bug in clear() on Windows when colorama is installed.
* Reject nargs=-1 for options properly. Options cannot be
variadic.
* Fixed an issue with bash completion not working properly
for commands with non ASCII characters or dashes.
* Added a way to manually update the progressbar.
* Changed the formatting of missing arguments. Previously
the internal argument name was shown in error messages,
now the metavar is shown if passed. In case an automated
metavar is selected, its stripped of extra formatting first.
-------------------------------------------------------------------
Tue Aug 26 11:22:44 UTC 2014 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-click
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -13,15 +13,16 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-click
Version: 3.2
Version: 4.1
Release: 0
License: BSD-3-Clause
Summary: A simple wrapper around optparse for powerful command line utilities
Url: http://github.com/mitsuhiko/click
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://github.com/mitsuhiko/click
Source: https://pypi.python.org/packages/source/c/click/click-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools