summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-serpent_1.28.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-serpent_1.28.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-serpent_1.28.bb29
1 files changed, 27 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.28.bb b/meta-python/recipes-devtools/python/python3-serpent_1.28.bb
index 1e04def7b7..af2d4aa4a7 100644
--- a/meta-python/recipes-devtools/python/python3-serpent_1.28.bb
+++ b/meta-python/recipes-devtools/python/python3-serpent_1.28.bb
@@ -1,2 +1,27 @@
1inherit setuptools3 1SUMMARY = "Serialization based on ast.literal_eval"
2require python-serpent.inc 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5cd70632b6cdb96df9ddaf6a4ce619e6"
4
5SRC_URI[md5sum] = "15ef8b67c76a6d19bac9c16731a1e62a"
6SRC_URI[sha256sum] = "f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab"
7
8inherit pypi ptest setuptools3
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14RDEPENDS_${PN}-ptest += " \
15 ${PYTHON_PN}-pytest \
16 ${PYTHON_PN}-pytz \
17"
18
19do_install_ptest() {
20 install -d ${D}${PTEST_PATH}/tests
21 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
22}
23
24RDEPENDS_${PN} += "\
25 ${PYTHON_PN}-netclient \
26 ${PYTHON_PN}-numbers \
27"