- update to 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=36
This commit is contained in:
Dirk Mueller 2022-03-27 11:03:10 +00:00 committed by Git OBS Bridge
parent 3fc27ed0ee
commit f950effb5d
4 changed files with 20 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b
size 329034

3
click-8.0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb
size 329520

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sun Mar 27 11:02:05 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 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.
-------------------------------------------------------------------
Sat Oct 16 21:18:48 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-click
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-click
Version: 8.0.3
Version: 8.0.4
Release: 0
Summary: A wrapper around optparse for command line utilities
License: BSD-3-Clause