summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-12-04 20:43:14 +0000
committerwiz <wiz@pkgsrc.org>2015-12-04 20:43:14 +0000
commita6e03e51499e9f79bd079f4b12798763b92b95cc (patch)
treef7995c9fc6e1ecef9e8096fe2be30fbff1988c13 /devel
parent1f3ae1ddf1353a38609878ce68c741201951556e (diff)
downloadpkgsrc-a6e03e51499e9f79bd079f4b12798763b92b95cc.tar.gz
Update py-click to 6.2.
Add test target. Version 6.2 ----------- (bugfix release, released on November 27th 2015) - Correct fix for hidden progress bars. Version 6.1 ----------- (bugfix release, released on November 27th 2015) - Resolved an issue with invisible progress bars no longer rendering. - Disable chain commands with subcommands as they were inherently broken. - Fix `MissingParameter` not working without parameters passed. Version 6.0 ----------- (codename "pow pow", released on November 24th 2015) - Optimized the progressbar rendering to not render when it did not actually change. - Explicitly disallow nargs=-1 with a set default. - The context is now closed before it's popped from the stack. - Added support for short aliases for the false flag on toggles. - Click will now attempt to aid you with debugging locale errors better by listing with the help of the OS what locales are available. - Click used to return byte strings on Python 2 in some unit-testing situations. This has been fixed to correctly return unicode strings now. - For Windows users on Python 2, Click will now handle Unicode more correctly handle Unicode coming in from the system. This also has the disappointing side effect that filenames will now be always unicode by default in the `Path` type which means that this can introduce small bugs for code not aware of this. - Added a `type` parameter to `Path` to force a specific string type on the value. - For users running Python on Windows the `echo`) and `prompt` functions now work with full unicode functionality in the Python windows console by emulating an output stream. This also applies to getting the virtual output and input streams via `click.get_text_stream(...)`. - Unittests now always force a certain virtual terminal width. - Added support for allowing dashes to indicate standard streams to the `Path` type. - Multi commands in chain mode no longer propagate arguments left over from parsing to the callbacks. It's also now disallowed through an exception when optional arguments are attached to multi commands if chain mode is enabled. - Relaxed restriction that disallowed chained commands to have other chained commands as child commands. - Arguments with positive nargs can now have defaults implemented. Previously this configuration would often result in slightly unexpected values be returned.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-click/Makefile11
-rw-r--r--devel/py-click/PLIST8
-rw-r--r--devel/py-click/distinfo10
3 files changed, 20 insertions, 9 deletions
diff --git a/devel/py-click/Makefile b/devel/py-click/Makefile
index 7a031cf14dd..4038b7e5fda 100644
--- a/devel/py-click/Makefile
+++ b/devel/py-click/Makefile
@@ -1,16 +1,21 @@
-# $NetBSD: Makefile,v 1.6 2015/08/30 14:43:25 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2015/12/04 20:43:14 wiz Exp $
-DISTNAME= click-5.1
+DISTNAME= click-6.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
-MASTER_SITES= https://pypi.python.org/packages/source/c/click/
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/click/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/click
COMMENT= Simple wrapper around optparse for powerful command line utilities
LICENSE= modified-bsd
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
USE_LANGUAGES= # none
+do-test:
+ cd ${WRKSRC}/tests && PYTHONPATH=.. py.test-${PYVERSSUFFIX} --tb=short
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-click/PLIST b/devel/py-click/PLIST
index f7a394118b1..a8f77edc869 100644
--- a/devel/py-click/PLIST
+++ b/devel/py-click/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2015/08/30 14:43:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2015/12/04 20:43:14 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -18,6 +18,12 @@ ${PYSITELIB}/click/_termui_impl.pyo
${PYSITELIB}/click/_textwrap.py
${PYSITELIB}/click/_textwrap.pyc
${PYSITELIB}/click/_textwrap.pyo
+${PYSITELIB}/click/_unicodefun.py
+${PYSITELIB}/click/_unicodefun.pyc
+${PYSITELIB}/click/_unicodefun.pyo
+${PYSITELIB}/click/_winconsole.py
+${PYSITELIB}/click/_winconsole.pyc
+${PYSITELIB}/click/_winconsole.pyo
${PYSITELIB}/click/core.py
${PYSITELIB}/click/core.pyc
${PYSITELIB}/click/core.pyo
diff --git a/devel/py-click/distinfo b/devel/py-click/distinfo
index 7048370bd90..9d028dc41f1 100644
--- a/devel/py-click/distinfo
+++ b/devel/py-click/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 03:29:05 agc Exp $
+$NetBSD: distinfo,v 1.8 2015/12/04 20:43:14 wiz Exp $
-SHA1 (click-5.1.tar.gz) = 331b12a6fc14ea33eddbe7f93180ac2ddd868ec3
-RMD160 (click-5.1.tar.gz) = df1ba056f9abe21c458afd9a7ded96a535497bd4
-SHA512 (click-5.1.tar.gz) = b860b0227644f5d1cc24d41e66985421ec971f11f3f596fb46508fdc787200b949e7ef29b2035421ebb0115384688da03c3c95a0d6acc58dd3b566b32a2b7c6a
-Size (click-5.1.tar.gz) = 275592 bytes
+SHA1 (click-6.2.tar.gz) = 0fd1a5a25192e987338eac89dbed2d8f4ae15e58
+RMD160 (click-6.2.tar.gz) = 4deab06adbad350b336cface499ccae2fbf3f8f4
+SHA512 (click-6.2.tar.gz) = 3950bd4e05823dbd526b3e3d17f9eb6871e1591342bdc4d21b7d4cea8f66791b1ab1d79ec664dae55cfbeaa5086fabb0db596bc88593251002c6584eae823477
+Size (click-6.2.tar.gz) = 281717 bytes