mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
28 lines
919 B
BlitzBasic
28 lines
919 B
BlitzBasic
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"
|