All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [oe] [meta-python] [PATCH v2] python3-smpplib: upgrade 2.1.0 -> 2.2.0
  2021-10-29 17:30 [oe] [meta-python] [PATCH v2] python3-smpplib: upgrade 2.1.0 -> 2.2.0 Zang Ruochen
@ 2021-10-29 10:12 ` Jose Quaresma
  0 siblings, 0 replies; 2+ messages in thread
From: Jose Quaresma @ 2021-10-29 10:12 UTC (permalink / raw)
  To: zangrc; +Cc: openembeded-devel

[-- Attachment #1: Type: text/plain, Size: 3520 bytes --]

Hi,

Probably this patch are changing the encoding of the recipe file.

Jose

zangrc <zangrc.fnst@fujitsu.com> escreveu no dia sexta, 29/10/2021 à(s)
06:31:

> 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>
> ---
>  .../python/python3-smpplib_2.1.0.bb           | 24 ---------------
>  .../python/python3-smpplib_2.2.0.bb           | 30 +++++++++++++++++++
>  2 files changed, 30 insertions(+), 24 deletions(-)
>  delete mode 100644 meta-python/recipes-devtools/python/
> python3-smpplib_2.1.0.bb
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-smpplib_2.2.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb
> b/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb
> deleted file mode 100644
> index 56d8f9eea..000000000
> --- a/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb
> +++ /dev/null
> @@ -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/*
> -}
> diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
> b/meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
> new file mode 100644
> index 000000000..00a493914
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
> @@ -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/
> +}
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#93643):
> https://lists.openembedded.org/g/openembedded-devel/message/93643
> Mute This Topic: https://lists.openembedded.org/mt/86670703/5052612
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> quaresma.jose@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
Best regards,

José Quaresma

[-- Attachment #2: Type: text/html, Size: 5825 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [oe] [meta-python] [PATCH v2] python3-smpplib: upgrade 2.1.0 -> 2.2.0
@ 2021-10-29 17:30 Zang Ruochen
  2021-10-29 10:12 ` Jose Quaresma
  0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2021-10-29 17:30 UTC (permalink / raw)
  To: openembedded-devel

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>
---
 .../python/python3-smpplib_2.1.0.bb           | 24 ---------------
 .../python/python3-smpplib_2.2.0.bb           | 30 +++++++++++++++++++
 2 files changed, 30 insertions(+), 24 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb
deleted file mode 100644
index 56d8f9eea..000000000
--- a/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb
+++ /dev/null
@@ -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/*
-}
diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
new file mode 100644
index 000000000..00a493914
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.0.bb
@@ -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/
+}
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-29 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 17:30 [oe] [meta-python] [PATCH v2] python3-smpplib: upgrade 2.1.0 -> 2.2.0 Zang Ruochen
2021-10-29 10:12 ` Jose Quaresma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.