added my Recipes
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "SMPP library for python"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852"
|
||||
|
||||
PYPI_PACKAGE = "smpplib"
|
||||
SRC_URI[sha256sum] = "f2191e73b24dba94f2889bf2ea1a60aeef6bd43afd3ddbbc632d7e41d9f30e47"
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-six \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-unittest \
|
||||
${PYTHON_PN}-profile \
|
||||
${PYTHON_PN}-mock \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
Reference in New Issue
Block a user