summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-parse-type.inc25
-rw-r--r--meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb27
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 @@
1SUMMARY = "Simplifies building parse types based on the parse module"
2HOMEPAGE = "https://github.com/jenisys/parse_type"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
5
6SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
7SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
8
9PYPI_PACKAGE = "parse_type"
10inherit pypi ptest
11
12RDEPENDS_${PN} += "${PYTHON_PN}-parse"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS_${PN}-ptest += " \
19 ${PYTHON_PN}-pytest \
20"
21
22do_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 @@
1inherit setuptools3 1SUMMARY = "Simplifies building parse types based on the parse module"
2require python-parse-type.inc 2HOMEPAGE = "https://github.com/jenisys/parse_type"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
5
6SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
7SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
8
9PYPI_PACKAGE = "parse_type"
10inherit pypi ptest setuptools3
11
12RDEPENDS_${PN} += "${PYTHON_PN}-parse"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS_${PN}-ptest += " \
19 ${PYTHON_PN}-pytest \
20"
21
22do_install_ptest() {
23 install -d ${D}${PTEST_PATH}/tests
24 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
25}