14
0
forked from pool/python-click

- 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:
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,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