mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
python-serpent: consolidate inc and bb files into a single bb file
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,27 +0,0 @@
|
|||||||
SUMMARY = "Serialization based on ast.literal_eval"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5cd70632b6cdb96df9ddaf6a4ce619e6"
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "15ef8b67c76a6d19bac9c16731a1e62a"
|
|
||||||
SRC_URI[sha256sum] = "f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab"
|
|
||||||
|
|
||||||
inherit pypi ptest
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS_${PN}-ptest += " \
|
|
||||||
${PYTHON_PN}-pytest \
|
|
||||||
${PYTHON_PN}-pytz \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "\
|
|
||||||
${PYTHON_PN}-netclient \
|
|
||||||
${PYTHON_PN}-numbers \
|
|
||||||
"
|
|
||||||
@@ -1,2 +1,27 @@
|
|||||||
inherit setuptools3
|
SUMMARY = "Serialization based on ast.literal_eval"
|
||||||
require python-serpent.inc
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5cd70632b6cdb96df9ddaf6a4ce619e6"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "15ef8b67c76a6d19bac9c16731a1e62a"
|
||||||
|
SRC_URI[sha256sum] = "f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab"
|
||||||
|
|
||||||
|
inherit pypi ptest setuptools3
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
${PYTHON_PN}-pytz \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
}
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += "\
|
||||||
|
${PYTHON_PN}-netclient \
|
||||||
|
${PYTHON_PN}-numbers \
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user