forked from pool/python-cmd2
- Update to 0.9.22:
- Fixed bug where a redefined ansi.style_error was not being used in all cmd2 files - Enabled line buffering when redirecting output to a file - Added align_left(), align_center(), and align_right() to utils.py. All 3 of these functions support ANSI escape sequences and characters with display widths greater than 1. They wrap align_text() which is also in utils.py. - Fixed bug where pipe processes were not being stopped by Ctrl-C - Added exception handling to account for non-standard Python environments in which readline is not loaded dynamically from a shared library file - Added read_input() function that is used to read from stdin. Unlike the Python built-in input(), it also has an argument to disable tab completion while input is being entered. - Added capability to override the argument parser class used by cmd2 built-in commands. See override_parser.py example for more details. - Added end argument to pfeedback() to be consistent with the other print functions like poutput(). - Added apply_style to pwarning(). - For consistency between all the print functions: - Made end and chop keyword-only arguments of ppaged() - end is always added to message in ppaged() OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=68
This commit is contained in:
parent
df7312e740
commit
4c3abffbfe
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1ba349af127f9052363972adcbcfb921f9ca5e90f2bcbfba11b117500f11a845
|
|
||||||
size 560696
|
|
3
cmd2-0.9.22.tar.gz
Normal file
3
cmd2-0.9.22.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ba244b07c0b465ff54a6838dc61919599141dc92de1bf00bb0a70875189155e6
|
||||||
|
size 565214
|
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 3 11:34:58 CET 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.9.22:
|
||||||
|
- Fixed bug where a redefined ansi.style_error was not being
|
||||||
|
used in all cmd2 files
|
||||||
|
- Enabled line buffering when redirecting output to a file
|
||||||
|
- Added align_left(), align_center(), and align_right() to
|
||||||
|
utils.py. All 3 of these functions support ANSI escape
|
||||||
|
sequences and characters with display widths greater than 1.
|
||||||
|
They wrap align_text() which is also in utils.py.
|
||||||
|
- Fixed bug where pipe processes were not being stopped by Ctrl-C
|
||||||
|
- Added exception handling to account for non-standard Python
|
||||||
|
environments in which readline is not loaded dynamically from
|
||||||
|
a shared library file
|
||||||
|
- Added read_input() function that is used to read from stdin.
|
||||||
|
Unlike the Python built-in input(), it also has an argument
|
||||||
|
to disable tab completion while input is being entered.
|
||||||
|
- Added capability to override the argument parser class used
|
||||||
|
by cmd2 built-in commands. See override_parser.py example for
|
||||||
|
more details.
|
||||||
|
- Added end argument to pfeedback() to be consistent with the
|
||||||
|
other print functions like poutput().
|
||||||
|
- Added apply_style to pwarning().
|
||||||
|
- For consistency between all the print functions:
|
||||||
|
- Made end and chop keyword-only arguments of ppaged()
|
||||||
|
- end is always added to message in ppaged()
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 22 10:46:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Fri Nov 22 10:46:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-cmd2
|
# spec file for package python-cmd2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-cmd2
|
Name: python-cmd2
|
||||||
Version: 0.9.20
|
Version: 0.9.22
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Extra features for standard library's cmd module
|
Summary: Extra features for standard library's cmd module
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user