summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-smpplib_2.2.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-smpplib_2.2.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-smpplib_2.2.2.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.2.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.2.bb
new file mode 100644
index 0000000000..5c635d6fb0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.2.bb
@@ -0,0 +1,30 @@
1SUMMARY = "SMPP library for python"
2SECTION = "devel/python"
3LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852"
5
6PYPI_PACKAGE = "smpplib"
7SRC_URI[sha256sum] = "f2191e73b24dba94f2889bf2ea1a60aeef6bd43afd3ddbbc632d7e41d9f30e47"
8
9inherit pypi setuptools3 ptest
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS:${PN} += " \
16 ${PYTHON_PN}-logging \
17 ${PYTHON_PN}-six \
18"
19
20RDEPENDS:${PN}-ptest += " \
21 ${PYTHON_PN}-pytest \
22 ${PYTHON_PN}-unittest \
23 ${PYTHON_PN}-profile \
24 ${PYTHON_PN}-mock \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/tests
29 cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/
30}