diff options
| author | Nicola Lunghi <nick83ola@gmail.com> | 2019-11-29 02:38:17 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-11-30 00:13:47 -0800 |
| commit | e875bc8ef59f1257a712174ea11548be1fb74fd9 (patch) | |
| tree | 7396e67225f8974559681e877066b5c792a6c3e9 /meta-python/recipes-devtools/python | |
| parent | 0953369cd164570ed594c8ed98448121b51934a0 (diff) | |
| download | meta-openembedded-e875bc8ef59f1257a712174ea11548be1fb74fd9.tar.gz | |
python-configargparse: add package (version 0.15.1)
This module merges the argparse and the configparser functionality
and is python3 compatible
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
3 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-configargparse.inc b/meta-python/recipes-devtools/python/python-configargparse.inc new file mode 100644 index 0000000000..17d296ff8d --- /dev/null +++ b/meta-python/recipes-devtools/python/python-configargparse.inc | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables." | ||
| 2 | HOMEPAGE = "https://github.com/bw2/ConfigArgParse" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "aba15b7973b7a70bea86fd69289f8fe3" | ||
| 7 | SRC_URI[sha256sum] = "baaf0fd2c1c108d007f402dab5481ac5f12d77d034825bf5a27f8224757bd0ac" | ||
| 8 | |||
| 9 | PYPI_PACKAGE = "ConfigArgParse" | ||
| 10 | |||
| 11 | inherit pypi | ||
| 12 | |||
| 13 | PACKAGECONFIG ?= "yaml" | ||
| 14 | PACKAGECONFIG[yaml] = ",,,${PYTHON_PN}-pyyaml" | ||
| 15 | |||
| 16 | RDEPENDS_${PN} += "\ | ||
| 17 | ${PYTHON_PN}-core \ | ||
| 18 | ${PYTHON_PN}-shell \ | ||
| 19 | " | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
| 22 | |||
diff --git a/meta-python/recipes-devtools/python/python-configargparse_0.15.1.bb b/meta-python/recipes-devtools/python/python-configargparse_0.15.1.bb new file mode 100644 index 0000000000..6d64b8d0b2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-configargparse_0.15.1.bb | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | inherit setuptools | ||
| 2 | require python-configargparse.inc | ||
| 3 | |||
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 new file mode 100644 index 0000000000..698eccf666 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-configargparse.inc | ||
| 3 | |||
