diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-12 12:47:56 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-06-13 21:34:21 -0700 |
| commit | 180688cf301f2d045ad22ae9bd8d706476e50554 (patch) | |
| tree | e023a954f01bb1c0e10ecc5782fb6112775f5e06 /meta-python/recipes-devtools/python | |
| parent | 7b256be4ab7c1439c13256fa2d77e7f14c2b7184 (diff) | |
| download | meta-openembedded-180688cf301f2d045ad22ae9bd8d706476e50554.tar.gz | |
python3-parse-type: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-parse-type.inc | 25 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb | 27 |
2 files changed, 25 insertions, 27 deletions
diff --git a/meta-python/recipes-devtools/python/python-parse-type.inc b/meta-python/recipes-devtools/python/python-parse-type.inc deleted file mode 100644 index 147ea6443f..0000000000 --- a/meta-python/recipes-devtools/python/python-parse-type.inc +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | SUMMARY = "Simplifies building parse types based on the parse module" | ||
| 2 | HOMEPAGE = "https://github.com/jenisys/parse_type" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" | ||
| 7 | SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" | ||
| 8 | |||
| 9 | PYPI_PACKAGE = "parse_type" | ||
| 10 | inherit pypi ptest | ||
| 11 | |||
| 12 | RDEPENDS_${PN} += "${PYTHON_PN}-parse" | ||
| 13 | |||
| 14 | SRC_URI += " \ | ||
| 15 | file://run-ptest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS_${PN}-ptest += " \ | ||
| 19 | ${PYTHON_PN}-pytest \ | ||
| 20 | " | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/tests | ||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 25 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb index 91d9ce2d43..a9e7a53ee1 100644 --- a/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb +++ b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb | |||
| @@ -1,2 +1,25 @@ | |||
| 1 | inherit setuptools3 | 1 | SUMMARY = "Simplifies building parse types based on the parse module" |
| 2 | require python-parse-type.inc | 2 | HOMEPAGE = "https://github.com/jenisys/parse_type" |
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" | ||
| 7 | SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" | ||
| 8 | |||
| 9 | PYPI_PACKAGE = "parse_type" | ||
| 10 | inherit pypi ptest setuptools3 | ||
| 11 | |||
| 12 | RDEPENDS_${PN} += "${PYTHON_PN}-parse" | ||
| 13 | |||
| 14 | SRC_URI += " \ | ||
| 15 | file://run-ptest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS_${PN}-ptest += " \ | ||
| 19 | ${PYTHON_PN}-pytest \ | ||
| 20 | " | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/tests | ||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 25 | } | ||
