From patchwork Sun Apr 10 11:18:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5480 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4KbqHr1b0cz3xBx for ; Sun, 10 Apr 2022 11:19:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4KbqHq4qxtz29F; Sun, 10 Apr 2022 11:19:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4KbqHq4Hwwz2ylJ; Sun, 10 Apr 2022 11:19:03 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4KbqHn554Lz2xSn for ; Sun, 10 Apr 2022 11:19:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4KbqHn3tZvzfF; Sun, 10 Apr 2022 11:19:01 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1649589541; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MViiOUjasN3tofQh0Y5RJKJEXIkdN2RSNBMDC/+uLD0=; b=OcwyfFqrjn5UZHXI3SwsmQpFzMxzlLU3Rzbmi5mjNFWBCv4CubDCsB/PWeF78CKw1wBd3N YVz8HiyEgy27oaBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1649589541; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MViiOUjasN3tofQh0Y5RJKJEXIkdN2RSNBMDC/+uLD0=; b=JMz9q1iq3SZveXaYJ7ccGKsVzXjklAkDYTxO4Z9APnd+YPdqwH3qHK+Xx4umFsvFZT7rpr 95NhFav/L7uVfUonlUM0QAoY8eUo9LiEyMGaRx5fnZeqpR/E4Hd7c14YfSApcSm7LTDHHo aWjGzjKEVls8kLjVKyx6aby+0N3BPcNY0y9fgwuDYqdgd44eFEFqDq+XW7/XNkPKXCxvw6 g/WTSDXMjT4MZa3Yp9krqIXbJ0CalQy0pHdGHoeAxcMzo4P4pc8TsVp0Eh+NfT3hA+F0+U HqilplEcUCSNYY7KESKIqjvPsNN6dKJnzn/2nLILDHjetJwOgpnD+IUIWijMhw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] python3-click: Update to version 8.1.2 Date: Sun, 10 Apr 2022 13:18:09 +0200 Message-Id: <20220410111821.3479488-3-adolf.belka@ipfire.org> In-Reply-To: <20220410111821.3479488-1-adolf.belka@ipfire.org> References: <20220410111821.3479488-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 8.0.3 to 8.1.2 - Update of rootfile - Changelog Version 8.1.2 - Fix error message for readable path check that was mixed up with the executable check. :pr:`2236` - Restore parameter order for ``Path``, placing the ``executable`` parameter at the end. It is recommended to use keyword arguments instead of positional arguments. :issue:`2235` 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``. :issue:`#1959` - 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` Version 8.0.4 - ``open_file`` recognizes ``Path("-")`` as a standard stream, the same as the string ``"-"``. :issue:`2106` - The ``option`` and ``argument`` decorators preserve the type annotation of the decorated function. :pr:`2155` - A callable default value can customize its help text by overriding ``__str__`` instead of always showing ``(dynamic)``. :issue:`2099` - Fix a typo in the Bash completion script that affected file and directory completion. If this script was generated by a previous version, it should be regenerated. :issue:`2163` - Fix typing for ``echo`` and ``secho`` file argument. :issue:`2174, 2185` Signed-off-by: Adolf Belka --- config/rootfiles/packages/python3-click | 13 ++++++------- lfs/python3-click | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/config/rootfiles/packages/python3-click b/config/rootfiles/packages/python3-click index f72d4a679..90264aa75 100644 --- a/config/rootfiles/packages/python3-click +++ b/config/rootfiles/packages/python3-click @@ -1,15 +1,14 @@ usr/lib/python3.10/site-packages/click -#usr/lib/python3.10/site-packages/click-8.0.3-py3.10.egg-info -#usr/lib/python3.10/site-packages/click-8.0.3-py3.10.egg-info/PKG-INFO -#usr/lib/python3.10/site-packages/click-8.0.3-py3.10.egg-info/SOURCES.txt -#usr/lib/python3.10/site-packages/click-8.0.3-py3.10.egg-info/dependency_links.txt -#usr/lib/python3.10/site-packages/click-8.0.3-py3.10.egg-info/requires.txt -#usr/lib/python3.10/site-packages/click-8.0.3-py3.10.egg-info/top_level.txt +#usr/lib/python3.10/site-packages/click-8.1.2-py3.10.egg-info +#usr/lib/python3.10/site-packages/click-8.1.2-py3.10.egg-info/PKG-INFO +#usr/lib/python3.10/site-packages/click-8.1.2-py3.10.egg-info/SOURCES.txt +#usr/lib/python3.10/site-packages/click-8.1.2-py3.10.egg-info/dependency_links.txt +#usr/lib/python3.10/site-packages/click-8.1.2-py3.10.egg-info/requires.txt +#usr/lib/python3.10/site-packages/click-8.1.2-py3.10.egg-info/top_level.txt usr/lib/python3.10/site-packages/click/__init__.py usr/lib/python3.10/site-packages/click/_compat.py usr/lib/python3.10/site-packages/click/_termui_impl.py usr/lib/python3.10/site-packages/click/_textwrap.py -usr/lib/python3.10/site-packages/click/_unicodefun.py usr/lib/python3.10/site-packages/click/_winconsole.py usr/lib/python3.10/site-packages/click/core.py usr/lib/python3.10/site-packages/click/decorators.py diff --git a/lfs/python3-click b/lfs/python3-click index e923a8d00..615f5e399 100644 --- a/lfs/python3-click +++ b/lfs/python3-click @@ -24,7 +24,7 @@ include Config -VER = 8.0.3 +VER = 8.1.2 THISAPP = click-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = python3-click -PAK_VER = 1 +PAK_VER = 2 ############################################################################### # Top-level Rules @@ -42,7 +42,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 9e42e167e26a03b4ddb238943ed5cb4d291231ceb0f56a6e74f9930c8f64f4ae44b0495a85c6abcb2167dc633bbc5e90d1a21da843a799e266e6560a7b3b909d +$(DL_FILE)_BLAKE2 = e0ac04e4583dadba61ca42640f6d75ade30c62bd46b5fd0d15378e00f102f29160190c8ebb01de637c5446d9d06b687bddba4b78b3b3c80bb6e64ba46df866fa install : $(TARGET)