Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta python merge #467

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
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>
  • Loading branch information
zangrc-fnst authored and Trevor Gamblin committed Nov 1, 2021
commit f1e835777249ff5e81deabcf5a84ae19f785a4e9
24 changes: 0 additions & 24 deletions meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb

This file was deleted.

30 changes: 30 additions & 0 deletions meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
Original file line number Diff line number Diff line change
@@ -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/
}