blob: 15b326bad4c2442fc17fc66f4edbad629e2422d0 [file] [log] [blame]
Andrew Geisslerc87764f2020-06-27 00:16:32 -05001SUMMARY = "SMPP library for python"
2SECTION = "devel/python"
3LICENSE = "GPLv3.0"
4LIC_FILES_CHKSUM = "file://README.md;md5=56a03d0ce7e492d4b9487b8aae957efe"
5
6PYPI_PACKAGE = "smpplib"
7SRC_URI[sha256sum] = "df4139a279b35fbb42a58f2a254a9c6daf362b04a7f94e208dc120e0b8a3fd4b"
8
Andrew Geissler748a4832020-07-24 16:24:21 -05009inherit pypi setuptools3 ptest
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS_${PN}-ptest += " \
16 ${PYTHON_PN}-pytest \
17 ${PYTHON_PN}-unittest \
18"
19
20do_install_ptest() {
21 install -d ${D}${PTEST_PATH}/tests
22 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
23 sed -i 's/mock/unittest.mock/g' ${D}${PTEST_PATH}/tests/*
24}