From d33aa89269f85461523b288811f94e6503fbf313 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 30 Jun 2020 20:11:14 +0300 Subject: python3-configargparse: Upgrade 0.15.1 -> 1.2.3 Upgrade to release 1.2.3: - Fix bug in accepts_list_and_has_nargs section. - Allow use of nargs with action=append - Add support for python's Configparser config file format Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-configargparse_1.2.3.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-configargparse_1.2.3.bb (limited to 'meta-python/recipes-devtools/python/python3-configargparse_1.2.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-configargparse_1.2.3.bb b/meta-python/recipes-devtools/python/python3-configargparse_1.2.3.bb new file mode 100644 index 0000000000..54841c2433 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-configargparse_1.2.3.bb @@ -0,0 +1,22 @@ +SUMMARY = "A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables." +HOMEPAGE = "https://github.com/bw2/ConfigArgParse" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" + +SRC_URI[md5sum] = "8978866babc7ff0994f691ebe48b5aba" +SRC_URI[sha256sum] = "edd17be986d5c1ba2e307150b8e5f5107aba125f3574dddd02c85d5cdcfd37dc" + +PYPI_PACKAGE = "ConfigArgParse" + +inherit pypi setuptools3 + +PACKAGECONFIG ?= "yaml" +PACKAGECONFIG[yaml] = ",,,${PYTHON_PN}-pyyaml" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native nativesdk" + -- cgit v1.2.3-54-g00ecf