pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-click
Module Name: pkgsrc
Committed By: adam
Date: Thu Mar 31 07:25:58 UTC 2022
Modified Files:
pkgsrc/devel/py-click: Makefile PLIST distinfo
Log Message:
py-click: updated to 8.1.1
Version 8.1.1
-------------
- Fix an issue with decorator typing that caused type checking to
report that a command was not callable. :issue:`2227`
Version 8.1.0
-------------
- Drop support for Python 3.6. :pr:`2129`
- Remove previously deprecated code. :pr:`2130`
- ``Group.resultcallback`` is renamed to ``result_callback``.
- ``autocompletion`` parameter to ``Command`` is renamed to
``shell_complete``.
- ``get_terminal_size`` is removed, use
``shutil.get_terminal_size`` instead.
- ``get_os_args`` is removed, use ``sys.argv[1:]`` instead.
- Rely on :pep:`538` and :pep:`540` to handle selecting UTF-8 encoding
instead of ASCII. Click's locale encoding detection is removed.
:issue:`2198`
- Single options boolean flags with ``show_default=True`` only show
the default if it is ``True``. :issue:`1971`
- The ``command`` and ``group`` decorators can be applied with or
without parentheses. :issue:`1359`
- The ``Path`` type can check whether the target is executable.
:issue:`1961`
- ``Command.show_default`` overrides ``Context.show_default``, instead
of the other way around. :issue:`1963`
- Parameter decorators and ``@group`` handles ``cls=None`` the same as
not passing ``cls``. ``@option`` handles ``help=None`` the same as
not passing ``help``.
- A flag option with ``required=True`` requires that the flag is
passed instead of choosing the implicit default value. :issue:`1978`
- Indentation in help text passed to ``Option`` and ``Command`` is
cleaned the same as using the ``@option`` and ``@command``
decorators does. A command's ``epilog`` and ``short_help`` are also
processed. :issue:`1985`
- Store unprocessed ``Command.help``, ``epilog`` and ``short_help``
strings. Processing is only done when formatting help text for
output. :issue:`2149`
- Allow empty str input for ``prompt()`` when
``confirmation_prompt=True`` and ``default=""``. :issue:`2157`
- Windows glob pattern expansion doesn't fail if a value is an invalid
pattern. :issue:`2195`
- It's possible to pass a list of ``params`` to ``@command``. Any
params defined with decorators are appended to the passed params.
:issue:`2131`.
- ``@command`` decorator is annotated as returning the correct type if
a ``cls`` argument is used. :issue:`2211`
- A ``Group`` with ``invoke_without_command=True`` and ``chain=False``
will invoke its result callback with the group function's return
value. :issue:`2124`
- ``to_info_dict`` will not fail if a ``ParamType`` doesn't define a
``name``. :issue:`2168`
- Shell completion prioritizes option values with option prefixes over
new options. :issue:`2040`
- Options that get an environment variable value using
``autoenvvar_prefix`` treat an empty value as ``None``, consistent
with a direct ``envvar``. :issue:`2146`
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-click/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-click/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-click/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-click/Makefile
diff -u pkgsrc/devel/py-click/Makefile:1.20 pkgsrc/devel/py-click/Makefile:1.21
--- pkgsrc/devel/py-click/Makefile:1.20 Tue Mar 15 06:03:24 2022
+++ pkgsrc/devel/py-click/Makefile Thu Mar 31 07:25:58 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2022/03/15 06:03:24 adam Exp $
+# $NetBSD: Makefile,v 1.21 2022/03/31 07:25:58 adam Exp $
-DISTNAME= click-8.0.4
+DISTNAME= click-8.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/click/}
Index: pkgsrc/devel/py-click/PLIST
diff -u pkgsrc/devel/py-click/PLIST:1.4 pkgsrc/devel/py-click/PLIST:1.5
--- pkgsrc/devel/py-click/PLIST:1.4 Mon Jan 31 09:52:04 2022
+++ pkgsrc/devel/py-click/PLIST Thu Mar 31 07:25:58 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/01/31 09:52:04 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/03/31 07:25:58 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -16,9 +16,6 @@ ${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
Index: pkgsrc/devel/py-click/distinfo
diff -u pkgsrc/devel/py-click/distinfo:1.19 pkgsrc/devel/py-click/distinfo:1.20
--- pkgsrc/devel/py-click/distinfo:1.19 Tue Mar 15 06:03:24 2022
+++ pkgsrc/devel/py-click/distinfo Thu Mar 31 07:25:58 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2022/03/15 06:03:24 adam Exp $
+$NetBSD: distinfo,v 1.20 2022/03/31 07:25:58 adam Exp $
-BLAKE2s (click-8.0.4.tar.gz) = e7a9ac6a859a8bce56bdeada31a505267c07abe4d01aff3d597486162c50cc7e
-SHA512 (click-8.0.4.tar.gz) = 839cbcd0444ff0511cc2ee9096c6385b94bbf6f62f6f0e9d2c96604ca196ba01a25131578ac49093e0b4cc2f25294fa5fffadf82fc9b129441d27c79fb437375
-Size (click-8.0.4.tar.gz) = 329520 bytes
+BLAKE2s (click-8.1.1.tar.gz) = 6c53964f136eac15b309f3ebb18e532f835d9afcc16fbc2acfbf91893e373f35
+SHA512 (click-8.1.1.tar.gz) = 7ff0a6c48a9f76532e7c950dce8778b42fc2c56cf050c0c3a5f85597552d2400d2df64d23e0e632c7c1cc80608d03066a3e47f36e6021982cc3e37e1fabeed7d
+Size (click-8.1.1.tar.gz) = 330199 bytes
Home |
Main Index |
Thread Index |
Old Index