pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-click Update to 4.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4fb83dfde4f6
branches:  trunk
changeset: 649578:4fb83dfde4f6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 05 14:16:58 2015 +0000

description:
Update to 4.0:

Version 4.0
-----------

(codename "zoom zoom", released on March 31st 2015)

- 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, it's stripped of
  extra formatting first.

diffstat:

 devel/py-click/Makefile |  4 ++--
 devel/py-click/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r d0c5b57628c1 -r 4fb83dfde4f6 devel/py-click/Makefile
--- a/devel/py-click/Makefile   Sun Apr 05 14:15:40 2015 +0000
+++ b/devel/py-click/Makefile   Sun Apr 05 14:16:58 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2014/09/14 16:59:29 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2015/04/05 14:16:58 wiz Exp $
 
-DISTNAME=      click-3.3
+DISTNAME=      click-4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  https://pypi.python.org/packages/source/c/click/
diff -r d0c5b57628c1 -r 4fb83dfde4f6 devel/py-click/distinfo
--- a/devel/py-click/distinfo   Sun Apr 05 14:15:40 2015 +0000
+++ b/devel/py-click/distinfo   Sun Apr 05 14:16:58 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2014/09/14 16:59:29 wiz Exp $
+$NetBSD: distinfo,v 1.4 2015/04/05 14:16:58 wiz Exp $
 
-SHA1 (click-3.3.tar.gz) = d716a932b930d71059e49465b6b42e833808369a
-RMD160 (click-3.3.tar.gz) = 2e779e226adf3a17b13ac36f9f792a989eecf14b
-Size (click-3.3.tar.gz) = 259855 bytes
+SHA1 (click-4.0.tar.gz) = ae85a5546ce42642dc63b2645f4732189d253bb6
+RMD160 (click-4.0.tar.gz) = 82cf40c5808514ea7c30ba23103830bff95debcc
+Size (click-4.0.tar.gz) = 270183 bytes



Home | Main Index | Thread Index | Old Index