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 8.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ad0ac0bdb32
branches:  trunk
changeset: 375993:0ad0ac0bdb32
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Mar 31 07:25:58 2022 +0000

description:
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`

diffstat:

 devel/py-click/Makefile |  4 ++--
 devel/py-click/PLIST    |  5 +----
 devel/py-click/distinfo |  8 ++++----
 3 files changed, 7 insertions(+), 10 deletions(-)

diffs (44 lines):

diff -r f14744951f64 -r 0ad0ac0bdb32 devel/py-click/Makefile
--- a/devel/py-click/Makefile   Thu Mar 31 07:25:27 2022 +0000
+++ b/devel/py-click/Makefile   Thu Mar 31 07:25:58 2022 +0000
@@ -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/}
diff -r f14744951f64 -r 0ad0ac0bdb32 devel/py-click/PLIST
--- a/devel/py-click/PLIST      Thu Mar 31 07:25:27 2022 +0000
+++ b/devel/py-click/PLIST      Thu Mar 31 07:25:58 2022 +0000
@@ -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/_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
diff -r f14744951f64 -r 0ad0ac0bdb32 devel/py-click/distinfo
--- a/devel/py-click/distinfo   Thu Mar 31 07:25:27 2022 +0000
+++ b/devel/py-click/distinfo   Thu Mar 31 07:25:58 2022 +0000
@@ -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