From 63d094d8f2325997d457bbcf92325f597b0a8c6c Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 24 Jun 2021 10:06:54 +0800 Subject: python3-configargparse: upgrade 1.4.1 -> 1.5 Add runtime dependency to resolve errors that occurred when import configargparse. Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-configargparse_1.4.1.bb | 20 -------------------- .../python/python3-configargparse_1.5.bb | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-configargparse_1.4.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-configargparse_1.5.bb diff --git a/meta-python/recipes-devtools/python/python3-configargparse_1.4.1.bb b/meta-python/recipes-devtools/python/python3-configargparse_1.4.1.bb deleted file mode 100644 index 0c851fef30..0000000000 --- a/meta-python/recipes-devtools/python/python3-configargparse_1.4.1.bb +++ /dev/null @@ -1,20 +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[sha256sum] = "6df537158f28c5ef2e8a8146781833abbc6cb7fca81b1b55d18808ce3439235e" - -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.5.bb b/meta-python/recipes-devtools/python/python3-configargparse_1.5.bb new file mode 100644 index 0000000000..4da5288815 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-configargparse_1.5.bb @@ -0,0 +1,21 @@ +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[sha256sum] = "dded3590373b7dae6ce6d0afeb4ae3def74761fdd78730952863914d4cb4bdb5" + +PYPI_PACKAGE = "ConfigArgParse" + +inherit pypi setuptools3 + +PACKAGECONFIG ?= "yaml" +PACKAGECONFIG[yaml] = ",,,${PYTHON_PN}-pyyaml" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-json \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf