Accepting request 980898 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/980898 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=38
This commit is contained in:
parent
f950effb5d
commit
324486d8a6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb
|
||||
size 329520
|
3
click-8.1.3.tar.gz
Normal file
3
click-8.1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
|
||||
size 331147
|
@ -1,3 +1,80 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 5 14:19:36 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile
|
||||
* require python >= 3.7
|
||||
|
||||
- update to version 8.1.3:
|
||||
* Use verbose form of "typing.Callable" for "@command" and
|
||||
"@group". :issue:`2255`
|
||||
* Show error when attempting to create an option with
|
||||
"multiple=True, is_flag=True". Use "count" instead.
|
||||
:issue:`2246`
|
||||
|
||||
- changes from 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`
|
||||
|
||||
- changes from version 8.1.1:
|
||||
* Fix an issue with decorator typing that caused type checking to
|
||||
report that a command was not callable. :issue:`2227`
|
||||
|
||||
- changes from 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`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 27 11:02:05 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -20,22 +20,23 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-click
|
||||
Version: 8.0.4
|
||||
Version: 8.1.3
|
||||
Release: 0
|
||||
Summary: A wrapper around optparse for command line utilities
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mitsuhiko/click
|
||||
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
%if "%{python_flavor}" == "python36"
|
||||
Requires: python-importlib-metadata
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user