summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python-configargparse.inc
diff options
context:
space:
mode:
authorjmbills <42755197+jmbills@users.noreply.github.com>2019-12-17 22:28:35 +0300
committerGitHub <noreply@github.com>2019-12-17 22:28:35 +0300
commite0a95aa4bacb4a023254e673d2cb9b0cc3c1a64f (patch)
tree2b1448d35f422dfc4762616a1b9adbb8ff9d6ca0 /meta-openembedded/meta-python/recipes-devtools/python/python-configargparse.inc
parentcd104f432570b6317d5125299620d0ae9af12b8b (diff)
parent4aeb24cf629a60980d4ad270fc1750754826613d (diff)
downloadopenbmc-e0a95aa4bacb4a023254e673d2cb9b0cc3c1a64f.tar.xz
Merge pull request #28 from Intel-BMC/update
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-configargparse.inc')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python-configargparse.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-configargparse.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-configargparse.inc
new file mode 100644
index 000000000..17d296ff8
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python-configargparse.inc
@@ -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] = "aba15b7973b7a70bea86fd69289f8fe3"
+SRC_URI[sha256sum] = "baaf0fd2c1c108d007f402dab5481ac5f12d77d034825bf5a27f8224757bd0ac"
+
+PYPI_PACKAGE = "ConfigArgParse"
+
+inherit pypi
+
+PACKAGECONFIG ?= "yaml"
+PACKAGECONFIG[yaml] = ",,,${PYTHON_PN}-pyyaml"
+
+RDEPENDS_${PN} += "\
+ ${PYTHON_PN}-core \
+ ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+