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_0.15.1.bb | 22 ---------------------- .../python/python3-configargparse_1.2.3.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-configargparse_1.2.3.bb diff --git a/meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb b/meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb deleted file mode 100644 index 0797898a9c..0000000000 --- a/meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb +++ /dev/null @@ -1,22 +0,0 @@ -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] = "aba15b7973b7a70bea86fd69289f8fe3" -SRC_URI[sha256sum] = "baaf0fd2c1c108d007f402dab5481ac5f12d77d034825bf5a27f8224757bd0ac" - -PYPI_PACKAGE = "ConfigArgParse" - -inherit pypi setuptools3 - -PACKAGECONFIG ?= "yaml" -PACKAGECONFIG[yaml] = ",,,${PYTHON_PN}-pyyaml" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-shell \ -" - -BBCLASSEXTEND = "native nativesdk" - 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 1.2.3-korg