forked from pool/python-cmd2
Accepting request 1290634 from devel:languages:python
- 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/request/show/1290634 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cmd2?expand=0&rev=52
This commit is contained in:
3
cmd2-2.5.11.tar.gz
Normal file
3
cmd2-2.5.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:daf11414d6985d5020a2ae4d258411ab3a2bf1548f474977cd964a6cb2655f36
|
||||
size 621759
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d366cfca799eea4598a3411c489b0cf0065b20851cb6183b4b80a6d7a9fc26f
|
||||
size 625846
|
@@ -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",
|
||||
|
@@ -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>
|
||||
|
||||
@@ -167,7 +177,7 @@ Sat Oct 16 21:48:02 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
- update to 2.2.0:
|
||||
* Fixed extra space appended to each alias by "alias list" command
|
||||
* New function `set_default_ap_completer_type()`
|
||||
* Added `ArgumentParser.get_ap_completer_type()` and
|
||||
* Added `ArgumentParser.get_ap_completer_type()` and
|
||||
`ArgumentParser.set_ap_completer_type()`.
|
||||
* Added `ap_completer_type` keyword arg to `Cmd2ArgumentParser.__init__()`
|
||||
which saves a call to `set_ap_completer_type()`. This keyword will also
|
||||
@@ -533,8 +543,8 @@ Thu Feb 28 11:43:56 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
the argparse object. Also, single-character tokens that happen to be a
|
||||
prefix char are not treated as flags by argparse and AutoCompleter now
|
||||
matches that behavior.
|
||||
* 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)
|
||||
* 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)
|
||||
* Added ``exit_code`` attribute of ``cmd2.Cmd`` class
|
||||
* Enables applications to return a non-zero exit code when exiting from ``cmdloop``
|
||||
* ``ACHelpFormatter`` now inherits from ``argparse.RawTextHelpFormatter`` to make it easier
|
||||
@@ -546,7 +556,7 @@ Thu Feb 28 11:43:56 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
display when the user is still entering text at the prompt.
|
||||
* Cross-platform colored output support
|
||||
* Deprecated the built-in ``cmd2`` support for colors including ``Cmd.colorize()`` and ``Cmd._colorcodes``
|
||||
* The ``preparse``, ``postparsing_precmd``, and ``postparsing_postcmd`` methods *deprecated* in the previous release
|
||||
* The ``preparse``, ``postparsing_precmd``, and ``postparsing_postcmd`` methods *deprecated* in the previous release
|
||||
have been deleted
|
||||
* The new application lifecycle hook system allows for registration of callbacks to be called at various points
|
||||
in the lifecycle and is more powerful and flexible than the previous system
|
||||
@@ -567,7 +577,7 @@ Thu Sep 20 20:17:41 UTC 2018 - Todd R <toddrme2178@gmail.com>
|
||||
- Update to version 0.9.4
|
||||
+ Bug Fixes
|
||||
* Fixed bug where ``preparse`` was not getting called
|
||||
* Fixed bug in parsing of multiline commands where matching quote is on another line
|
||||
* Fixed bug in parsing of multiline commands where matching quote is on another line
|
||||
+ Enhancements
|
||||
* Improved implementation of lifecycle hooks to support a plugin
|
||||
framework, see ``docs/hooks.rst`` for details.
|
||||
@@ -894,7 +904,7 @@ Mon Nov 14 14:21:27 UTC 2016 - dmueller@suse.com
|
||||
|
||||
- update to 0.6.9:
|
||||
* Support Python 3 input()
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 00:30:50 UTC 2015 - dmueller@suse.com
|
||||
|
||||
@@ -933,7 +943,7 @@ Thu Jul 25 15:35:32 UTC 2013 - dheidler@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 11:18:38 UTC 2013 - dmueller@suse.com
|
||||
|
||||
- update to 0.6.5.1:
|
||||
- update to 0.6.5.1:
|
||||
* Fix requires to python-pyparsing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user