From a91572be282872c8eea4e4717b25db56181d46b6 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 8 Jan 2024 21:41:55 +0800 Subject: python3-argh: upgrade 0.30.5 -> 0.31.0 License-Update: =============== -update feature emphasis in README -cleanup/enhance README -fix outdated examples -fix README (PyPI-friendly ReST) Changelog: ============ -The typing hints introspection feature is automatically enabled for any command (function) which does not have any arguments specified via @arg decorator. -A small change in the legacy argument mapping policy BY_NAME_IF_HAS_DEFAULT concerning the order of variadic positional vs. keyword-only arguments. -Removed the previously deprecated decorator @expects_obj. -Type hints: basic usage to infer argument types (fixes #203) -Support realtime output through a pipe (fixes #145) -High-level functions argh.dispatch_command() and argh.dispatch_commands() -now accept a new parameter old_name_mapping_policy. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-argh_0.31.0.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-argh_0.31.0.bb (limited to 'meta-python/recipes-devtools/python/python3-argh_0.31.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-argh_0.31.0.bb b/meta-python/recipes-devtools/python/python3-argh_0.31.0.bb new file mode 100644 index 0000000000..24a579fb93 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-argh_0.31.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "An unobtrusive argparse wrapper with natural syntax" +DESCRIPTION = "Building a command-line interface? Found yourself uttering \ +'argh!' while struggling with the API of argparse? Don't like the complexity \ +but need the power? \ +\ +Everything should be made as simple as possible, but no simpler. \ +\ +—Albert Einstein (probably) \ +\ +Argh is a smart wrapper for argparse. Argparse is a very powerful \ +tool; Argh just makes it easy to use." + +LICENSE = "LGPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \ + file://README.rst;beginline=261;endline=275;md5=ba124578a6853962d5038eabef535d12 \ + " + +SRC_URI[sha256sum] = "b93093544309ddbfe6c73dc9bfd60dbc4acecef39f3f464774b3084a1ec5d7b0" + +inherit pypi python_flit_core + +RDEPENDS:${PN} += " \ + python3-argcomplete \ + python3-logging \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf