- update to 2.4.3:

* Fixed ValueError caused when passing `Cmd.columnize()` strings wider than
    `display_width`.
  * Renamed `utils.str_to_bool()` -> `utils.to_bool()`.
  * Enhanced `utils.to_bool()` so that it accepts and converts `bool`, `int`,
    and `float` in addition to `str`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=96
This commit is contained in:
Dirk Mueller 2023-01-28 14:34:34 +00:00 committed by Git OBS Bridge
parent 3541eecab2
commit b28278e34c
4 changed files with 15 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Jan 28 14:33:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.4.3:
* Fixed ValueError caused when passing `Cmd.columnize()` strings wider than
`display_width`.
* Renamed `utils.str_to_bool()` -> `utils.to_bool()`.
* Enhanced `utils.to_bool()` so that it accepts and converts `bool`, `int`,
and `float` in addition to `str`.
-------------------------------------------------------------------
Thu Aug 18 15:38:40 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-cmd2
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# 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 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-cmd2
Version: 2.4.2
Version: 2.4.3
Release: 0
Summary: Extra features for standard library's cmd module
License: MIT