mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
python3-smpplib: upgrade 2.1.0 -> 2.2.0
License-Update: README.md is modified as follows
- client = smpplib.client.Client('example.com', SOMEPORTNUMBER)
+ client = smpplib.client.Client('example.com', SOMEPORTNUMBER, allow_unknown_opt_params=True)
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
parent
b1ccba5624
commit
bc8f0c2456
|
|
@ -1,24 +0,0 @@
|
|||
SUMMARY = "SMPP library for python"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "GPLv3.0"
|
||||
LIC_FILES_CHKSUM = "file://README.md;md5=56a03d0ce7e492d4b9487b8aae957efe"
|
||||
|
||||
PYPI_PACKAGE = "smpplib"
|
||||
SRC_URI[sha256sum] = "df4139a279b35fbb42a58f2a254a9c6daf362b04a7f94e208dc120e0b8a3fd4b"
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-unittest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
sed -i 's/mock/unittest.mock/g' ${D}${PTEST_PATH}/tests/*
|
||||
}
|
||||
30
meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
Normal file
30
meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
Normal file
|
|
@ -0,0 +1,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] = "3d513178a35573f66faac4ef2127c4bd73307ddb463d145b17b013cf709d9ddd"
|
||||
|
||||
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/
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user