pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-click py-click: updated to 7.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ef89a79916d
branches:  trunk
changeset: 412617:6ef89a79916d
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Mar 10 08:25:35 2020 +0000

description:
py-click: updated to 7.1.1

Version 7.1.1
- Fix ClickException output going to stdout instead of stderr.

Version 7.1
- Fix PyPI package name, "click" is lowercase again.
- Fix link in unicode_literals error message.
- Add support for colored output on UNIX Jupyter notebooks.
- Operations that strip ANSI controls will strip the cursor hide/show
  sequences.
- Remove unused compat shim for bytes.
- Expand testing around termui, especially getchar on Windows.
- Fix output on Windows Python 2.7 built with MSVC 14.
- Fix OSError when running in MSYS2.
- Fix OSError when redirecting to NUL stream on Windows.
- Fix memory leak when parsing Unicode arguments on Windows.
- Fix error in new AppEngine environments.
- Always return one of the passed choices for click.Choice
- Add no_args_is_help option to click.Command, defaults to
  False
- Add show_defaults parameter to Context to enable showing
  defaults globally.
- Handle env MYPATH='' as though the option were not passed.
- It is once again possible to call next(bar) on an active
  progress bar instance.
- open_file with atomic=True retains permissions of existing
  files and respects the current umask for new files.
- When using the test CliRunner with mix_stderr=False, if
  result.stderr is empty it will not raise a ValueError.
- Remove the unused mix_stderr parameter from
  CliRunner.invoke.
- Fix TypeError raised when using bool flags and specifying
  type=bool.
- Newlines in option help text are replaced with spaces before
  re-wrapping to avoid uneven line breaks.
- MissingParameter exceptions are printable in the Python
  interpreter.
- Fix how default values for file-type options are shown during
  prompts.
- Fix environment variable automatic generation for commands
  containing -.
- Option help text replaces newlines with spaces when rewrapping, but
  preserves paragraph breaks, fixing multiline formatting.
- Option help text that is wrapped adds an extra newline at the end to
  distinguish it from the next option.
- Consider sensible-editor when determining the editor to use for
  click.edit().
- Arguments to system calls such as the executable path passed to
  click.edit can contains spaces.
- Add ZSH completion autoloading and error handling.
- Add a repr to Command, Group, Option, and Argument,
  showing the name for friendlier debugging.
- Completion doesn't consider option names if a value starts with
  - after the -- separator.
- ZSH completion escapes special characters in values.
- Add completion support for Fish shell.
- Decoding bytes option values falls back to UTF-8 in more cases.
- Make the warning about old 2-arg parameter callbacks a deprecation
  warning, to be removed in 8.0. This has been a warning since Click
  2.0.

diffstat:

 devel/py-click/Makefile |  11 +++++------
 devel/py-click/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 11 deletions(-)

diffs (44 lines):

diff -r 147cce21e6e1 -r 6ef89a79916d devel/py-click/Makefile
--- a/devel/py-click/Makefile   Tue Mar 10 08:21:34 2020 +0000
+++ b/devel/py-click/Makefile   Tue Mar 10 08:25:35 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2018/10/03 10:30:37 adam Exp $
+# $NetBSD: Makefile,v 1.15 2020/03/10 08:25:35 adam Exp $
 
-DISTNAME=      Click-7.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+DISTNAME=      click-7.1.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/click/}
 
@@ -10,12 +10,11 @@
 COMMENT=       Simple wrapper around optparse for powerful command line utilities
 LICENSE=       modified-bsd
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 USE_LANGUAGES= # none
 
-do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+PYSETUPTESTTARGET=     pytest
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 147cce21e6e1 -r 6ef89a79916d devel/py-click/distinfo
--- a/devel/py-click/distinfo   Tue Mar 10 08:21:34 2020 +0000
+++ b/devel/py-click/distinfo   Tue Mar 10 08:25:35 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2018/10/03 10:30:37 adam Exp $
+$NetBSD: distinfo,v 1.14 2020/03/10 08:25:35 adam Exp $
 
-SHA1 (Click-7.0.tar.gz) = fcbbb6d25b8eb45f7919e8605ec33b33583b0217
-RMD160 (Click-7.0.tar.gz) = a32c3039391514af61a2fe4b23fccb35c6f35084
-SHA512 (Click-7.0.tar.gz) = a7632989cde7c7eb2f535915a7a8220cb48d1ab8dd3527c4103518d4ac86287fea3488a5e0ce9f2968a4b6c52fe6ca4bc2480d0bf10f7084a4b17d31e803a92b
-Size (Click-7.0.tar.gz) = 286192 bytes
+SHA1 (click-7.1.1.tar.gz) = 6d7abca23ed50f8d4d32948422f30b915e376bf8
+RMD160 (click-7.1.1.tar.gz) = 7384401c63f218ac9ac7b74eda197ecdf5028b0c
+SHA512 (click-7.1.1.tar.gz) = 421450e4a3c9baa562ae9f3af602cefe70dfd7273aaa5ea47c7feb4d38b03e5b28c13d5e63a6fc5e7bfc89c9997a60836e79c51397509970726d2b832ced68e6
+Size (click-7.1.1.tar.gz) = 297243 bytes



Home | Main Index | Thread Index | Old Index