From b11720804f18b9ef78665e00d712002e08201c2712de355e34695f666edb8446 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 16 Jul 2021 19:59:10 +0000 Subject: [PATCH] - update to 2.1.2: * Added the following accessor methods for cmd2-specific attributes to the `argparse.Action` class * `get_choices_callable()` * `set_choices_provider()` * `set_completer()` * `get_descriptive_header()` * `set_descriptive_header()` * `get_nargs_range()` * `set_nargs_range()` * `get_suppress_tab_hint()` * `set_suppress_tab_hint()` * Now that `set_choices_provider()` and `set_completer()` have been added as methods to the `argparse.Action` class, the standalone functions of the same name will be removed in version 2.2.0. To update to the new convention, do the following: * Change `set_choices_provider(action, provider)` to `action.set_choices_provider(provider)` * Change `set_completer(action, completer)` to `action.set_completer(completer)` * Fixed handling of argparse's default options group name which was changed in Python 3.10 * Restored `plugins` and `tests_isolated` directories to tarball published to PyPI for `cmd2` release OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=86 --- cmd2-2.1.0.tar.gz | 3 --- cmd2-2.1.2.tar.gz | 3 +++ python-cmd2.changes | 22 ++++++++++++++++++++++ python-cmd2.spec | 2 +- 4 files changed, 26 insertions(+), 4 deletions(-) delete mode 100644 cmd2-2.1.0.tar.gz create mode 100644 cmd2-2.1.2.tar.gz diff --git a/cmd2-2.1.0.tar.gz b/cmd2-2.1.0.tar.gz deleted file mode 100644 index cb247f1..0000000 --- a/cmd2-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a57173c3f87ce5a35b3ea9d3d9615c3d73f0aa8c03e58aae02625ed54e0aacd -size 643826 diff --git a/cmd2-2.1.2.tar.gz b/cmd2-2.1.2.tar.gz new file mode 100644 index 0000000..25b97d8 --- /dev/null +++ b/cmd2-2.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25dbb2e9847aaa686a8a21e84e3d101db8b79f5cb992e044fc54210ab8c0ad41 +size 660849 diff --git a/python-cmd2.changes b/python-cmd2.changes index 0ece867..56c5c39 100644 --- a/python-cmd2.changes +++ b/python-cmd2.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Fri Jul 16 19:57:26 UTC 2021 - Dirk Müller + +- update to 2.1.2: + * Added the following accessor methods for cmd2-specific attributes to the `argparse.Action` class + * `get_choices_callable()` + * `set_choices_provider()` + * `set_completer()` + * `get_descriptive_header()` + * `set_descriptive_header()` + * `get_nargs_range()` + * `set_nargs_range()` + * `get_suppress_tab_hint()` + * `set_suppress_tab_hint()` + * Now that `set_choices_provider()` and `set_completer()` have been added as methods to the + `argparse.Action` class, the standalone functions of the same name will be removed in version + 2.2.0. To update to the new convention, do the following: + * Change `set_choices_provider(action, provider)` to `action.set_choices_provider(provider)` + * Change `set_completer(action, completer)` to `action.set_completer(completer)` + * Fixed handling of argparse's default options group name which was changed in Python 3.10 + * Restored `plugins` and `tests_isolated` directories to tarball published to PyPI for `cmd2` release + ------------------------------------------------------------------- Mon Jun 14 15:58:07 UTC 2021 - Martin Hauke diff --git a/python-cmd2.spec b/python-cmd2.spec index 2658321..7386503 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-cmd2 -Version: 2.1.0 +Version: 2.1.2 Release: 0 Summary: Extra features for standard library's cmd module License: MIT