summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-smpplib_2.2.1.bb
blob: 7401e039bfeb021bdb3cba2c2d02179a8143aef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "SMPP library for python"
SECTION = "devel/python"
LICENSE = "GPLv3.0"
LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852"

PYPI_PACKAGE = "smpplib"
SRC_URI[sha256sum] = "c0b01947b47e404f42ccb59e906b6e4eb507963c971d59b44350db0f29c76166"

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/
}