python3-click: Update to version 8.1.2
Commit Message
- 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 <adolf.belka@ipfire.org>
---
config/rootfiles/packages/python3-click | 13 ++++++-------
lfs/python3-click | 6 +++---
2 files changed, 9 insertions(+), 10 deletions(-)
@@ -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
@@ -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)