14
0
forked from pool/python-cmd2

- update to 2.5.11:

* Fixed duplicated parameter tables in API documentation.
  * Fixed docstring style for MkDocs API documentation so
    parameters are displayed properly.
  * Fixed 'index out of range' error when passing no arguments to
    an argparse-based command function.
  * Added `ArgumentParser.get_ap_completer_type()` and
  * Fixed bug where AutoCompleter was not distinguishing between a negative number and a flag
  * Fixed bug where AutoCompleter did not handle -- the same way argparse does (all args after -- are non-options)
  * The ``preparse``, ``postparsing_precmd``, and ``postparsing_postcmd`` methods *deprecated* in the previous release
    * Fixed bug in parsing of multiline commands where matching quote is on another line
- update to 0.6.5.1:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=108
This commit is contained in:
2025-07-04 09:05:31 +00:00
committed by Git OBS Bridge
parent 821fc55aa5
commit c37f4d0614
5 changed files with 30 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cmd2
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-cmd2
Version: 2.5.8
Version: 2.5.11
Release: 0
Summary: Extra features for standard library's cmd module
License: MIT
@@ -35,17 +35,11 @@ Requires: python-attrs >= 16.3.0
Requires: python-pyperclip >= 1.6
Requires: python-wcwidth >= 0.1.7
BuildArch: noarch
%if 0%{?python_version_nodots} < 38
Requires: python-importlib_metadata >= 1.6
Requires: python-typing_extensions
%endif
# SECTION Test requirements
BuildRequires: %{python_module attrs >= 16.3.0}
BuildRequires: %{python_module importlib_metadata >= 1.6 if %python-base < 3.8}
BuildRequires: %{python_module pyperclip >= 1.6}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions if %python-base < 3.8}
BuildRequires: %{python_module wcwidth >= 0.1.7}
BuildRequires: vim
# /SECTION