From 0a21229a3b04350ef832e98c5915ca3d723c0333bc5c41c23f72722ecfe2a971 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 5 Aug 2025 18:44:04 +0000 Subject: [PATCH] Accepting request 1297564 from home:ojkastl_buildservice:Branch_devel_languages_python update to 5.1.0, needs a newer version of cloup OBS-URL: https://build.opensuse.org/request/show/1297564 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-extra?expand=0&rev=23 --- click-extra-5.0.2.tar.gz | 3 --- click-extra-5.1.0.tar.gz | 3 +++ python-click-extra.changes | 23 +++++++++++++++++++++++ python-click-extra.spec | 14 +++++++------- 4 files changed, 33 insertions(+), 10 deletions(-) delete mode 100644 click-extra-5.0.2.tar.gz create mode 100644 click-extra-5.1.0.tar.gz diff --git a/click-extra-5.0.2.tar.gz b/click-extra-5.0.2.tar.gz deleted file mode 100644 index 38b3ba9..0000000 --- a/click-extra-5.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b60974b4c6f21fe5e794d0dda12346b825f46ccd5b8e000c643d1c539ef57c20 -size 515512 diff --git a/click-extra-5.1.0.tar.gz b/click-extra-5.1.0.tar.gz new file mode 100644 index 0000000..a125ce1 --- /dev/null +++ b/click-extra-5.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e65e3676fcb3bf65f284e5fc60ca7aaa21fa6d5c675e26fdf75f36dce8da185 +size 522006 diff --git a/python-click-extra.changes b/python-click-extra.changes index fe16777..abf465a 100644 --- a/python-click-extra.changes +++ b/python-click-extra.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sun Aug 3 11:36:24 UTC 2025 - Johannes Kastl + +- update to 5.1.0: + * Add support for MyST Markdown syntax for click:example and + click:run Sphinx directives. + * Add support for all code-block options to click:example and + click:run: :linenos:, :lineno-start:, :emphasize-lines:, + :force:, :caption:, :name:, :class: and :dedent:. + * Add new :show-source:/:hide-source:, + :show-results:/:hide-results: and :language: options to + click:example and click:run. Closes {issue}719. + * Support non-string choices in colored help screens. Closes + {issue}1284. + * Replace LOG_LEVELS mapping with LogLevel enum. + * Remove DEFAULT_LEVEL_NAME constants. + * Fix rendering of default values in --show-params output. + * Fix reconciliation of flags' environment variables. + * Force requirement on cloup >= 3.0.7. + * Be more informative when error is found in click:example and + click:run Sphinx directives by displaying the path of the + original document and the line number of the error. + ------------------------------------------------------------------- Sat May 31 13:26:50 UTC 2025 - Johannes Kastl diff --git a/python-click-extra.spec b/python-click-extra.spec index f2ca5dc..abad969 100644 --- a/python-click-extra.spec +++ b/python-click-extra.spec @@ -1,7 +1,7 @@ # # spec file for package python-click-extra # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define module_name click-extra %{?sle15_python_module_pythons} Name: python-click-extra -Version: 5.0.2 +Version: 5.1.0 Release: 0 Summary: Drop-in replacement for Click to make user-friendly and colorful CLI License: GPL-2.0-or-later @@ -33,8 +33,8 @@ BuildRequires: %{python_module wheel} # https://github.com/kdeldycke/click-extra/blob/v4.8.3/pyproject.toml#L67 BuildRequires: %{python_module PyYAML >= 6.0.0} BuildRequires: %{python_module boltons >= 25.0.0} -BuildRequires: %{python_module click >= 8.2.0} -BuildRequires: %{python_module cloup >= 3.0.5} +BuildRequires: %{python_module click >= 8.2.2} +BuildRequires: %{python_module cloup >= 3.0.7} BuildRequires: %{python_module extra-platforms >= 3.1.0} BuildRequires: %{python_module mergedeep >= 1.3.4} BuildRequires: %{python_module requests >= 2.32.3} @@ -47,7 +47,7 @@ BuildRequires: %{python_module xmltodict >= 0.14.2} BuildRequires: %{python_module pygments >= 2.14} BuildRequires: %{python_module pygments-ansi-color >= 0.3.0} # https://github.com/kdeldycke/click-extra/blob/v4.8.3/pyproject.toml#L117 -BuildRequires: %{python_module pytest >= 8} +BuildRequires: %{python_module pytest >= 8.3.0} BuildRequires: %{python_module pytest-httpserver >= 1.0.6} BuildRequires: %{python_module pytest-randomly >= 3.16.0} # /SECTION @@ -56,8 +56,8 @@ BuildRequires: python-rpm-macros # https://github.com/kdeldycke/click-extra/blob/v4.8.3/pyproject.toml#L67 Requires: python-PyYAML >= 6.0.0 Requires: python-boltons >= 25.0.0 -Requires: python-click >= 8.2.0 -Requires: python-cloup >= 3.0.5 +Requires: python-click >= 8.2.2 +Requires: python-cloup >= 3.0.7 Requires: python-extra-platforms >= 3.1.0 Requires: python-mergedeep >= 1.3.4 Requires: python-requests >= 2.32.3