summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2015-04-05 14:16:58 +0000
committerwiz <wiz>2015-04-05 14:16:58 +0000
commitf272698d99376608e8b90d4ed5c1c3d6b1d6d34f (patch)
tree7931702297564fd82854751b4fc8ddf260c596ff /devel
parent20d84e7750eb2e0f25c468cf91029e0b020cc2f3 (diff)
downloadpkgsrc-f272698d99376608e8b90d4ed5c1c3d6b1d6d34f.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/py-click/Makefile4
-rw-r--r--devel/py-click/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/py-click/Makefile b/devel/py-click/Makefile
index 7f0282c2619..6ea2520f5f5 100644
--- a/devel/py-click/Makefile
+++ b/devel/py-click/Makefile
@@ -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 --git a/devel/py-click/distinfo b/devel/py-click/distinfo
index ef0d0046225..1b6bdf394f8 100644
--- a/devel/py-click/distinfo
+++ b/devel/py-click/distinfo
@@ -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