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

3
cmd2-2.5.11.tar.gz Normal file
View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d366cfca799eea4598a3411c489b0cf0065b20851cb6183b4b80a6d7a9fc26f
size 625846

View File

@@ -1,11 +1,11 @@
diff --git a/pyproject.toml b/pyproject.toml
index bfd8d44..f88999e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -54,12 +54,6 @@ warn_unused_ignores = false
testpaths = [
"tests",
]
Index: cmd2-2.5.11/pyproject.toml
===================================================================
--- cmd2-2.5.11.orig/pyproject.toml
+++ cmd2-2.5.11/pyproject.toml
@@ -104,12 +104,6 @@ warn_unused_ignores = false
[tool.pytest.ini_options]
testpaths = ["tests"]
-addopts = [
- "--cov=cmd2",
- "--cov-append",

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jul 4 09:05:16 UTC 2025 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Wed Dec 18 17:37:07 UTC 2024 - Martin Hauke <mardnh@gmx.de>

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