From ea0f862920992fbee5d92a299325f6b9796cb3abc641b9e6a6a78d807b8b083e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 09:32:40 +0000 Subject: [PATCH] - update to 0.30.5: * A combination of `nargs` with a list as default value would lead to the values coming from CLI being wrapped in another list (issue #212). * Argspec guessing: if `nargs` is not specified but the default value is a list, `nargs="*"` is assumed and passed to argparse. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argh?expand=0&rev=36 --- argh-0.30.4.tar.gz | 3 --- argh-0.30.5.tar.gz | 3 +++ python-argh.changes | 10 ++++++++++ python-argh.spec | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 argh-0.30.4.tar.gz create mode 100644 argh-0.30.5.tar.gz diff --git a/argh-0.30.4.tar.gz b/argh-0.30.4.tar.gz deleted file mode 100644 index ed10f05..0000000 --- a/argh-0.30.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fca8e69c4dad4f8d2a7bdfbdd80b0754462b53510a03e1b5cf2b43a87e6e960 -size 62618 diff --git a/argh-0.30.5.tar.gz b/argh-0.30.5.tar.gz new file mode 100644 index 0000000..8ec95ff --- /dev/null +++ b/argh-0.30.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b37dfd617a09d19a4a7bcaed0e060b288bc7ac8dfdc0facf886a49a25ff33728 +size 63041 diff --git a/python-argh.changes b/python-argh.changes index 32f0bb6..320f752 100644 --- a/python-argh.changes +++ b/python-argh.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 27 09:32:00 UTC 2023 - Dirk Müller + +- update to 0.30.5: + * A combination of `nargs` with a list as default value would + lead to the values coming from CLI being wrapped in another + list (issue #212). + * Argspec guessing: if `nargs` is not specified but the default + value is a list, `nargs="*"` is assumed and passed to argparse. + ------------------------------------------------------------------- Fri Nov 10 13:22:29 UTC 2023 - Dirk Müller diff --git a/python-argh.spec b/python-argh.spec index 126fab2..94a965f 100644 --- a/python-argh.spec +++ b/python-argh.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argh -Version: 0.30.4 +Version: 0.30.5 Release: 0 Summary: An argparse wrapper License: LGPL-3.0-or-later