[7/7] python3-tornad: move from meta-python

Message ID 20220517081633.2992360-7-mingli.yu@windriver.com
State New
Headers show
Series [v2,1/7] python3-cryptography: add python3-pytest-benchmark rdepends | expand

Commit Message

Yu, Mingli May 17, 2022, 8:16 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

Tornado is a Python web framework and asynchronous networking
library, originally developed at FriendFeed.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../python/python3-tornado_6.1.bb             | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-tornado_6.1.bb

Comments

Khem Raj May 17, 2022, 3:33 p.m. UTC | #1
don't forget to send a patch to delete it from meta-python once merged
into core.

On Tue, May 17, 2022 at 1:16 AM Yu, Mingli <mingli.yu@windriver.com> wrote:
>
> From: Mingli Yu <mingli.yu@windriver.com>
>
> Tornado is a Python web framework and asynchronous networking
> library, originally developed at FriendFeed.
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>  .../python/python3-tornado_6.1.bb             | 28 +++++++++++++++++++
>  1 file changed, 28 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-tornado_6.1.bb
>
> diff --git a/meta/recipes-devtools/python/python3-tornado_6.1.bb b/meta/recipes-devtools/python/python3-tornado_6.1.bb
> new file mode 100644
> index 0000000000..1dedc51029
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-tornado_6.1.bb
> @@ -0,0 +1,28 @@
> +SUMMARY  = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed."
> +DESCRIPTION = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. \
> +By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long \
> +polling, WebSockets, and other applications that require a long-lived connection to each user."
> +HOMEPAGE = "http://www.tornadoweb.org/en/stable/"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +
> +SRC_URI[md5sum] = "f324f5e7607798552359d6ab054c4321"
> +SRC_URI[sha256sum] = "33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791"
> +
> +inherit pypi setuptools3
> +
> +# Requires _compression which is currently located in misc
> +RDEPENDS:${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-numbers ${PYTHON_PN}-email \
> +                   ${PYTHON_PN}-pkgutil ${PYTHON_PN}-html ${PYTHON_PN}-json ${PYTHON_PN}-certifi ${PYTHON_PN}-threading \
> +                   ${PYTHON_PN}-ctypes ${PYTHON_PN}-misc"
> +
> +RDEPENDS:${PN}-test += "${PN} ${PYTHON_PN}-unittest"
> +
> +PACKAGES =+ "\
> +    ${PN}-test \
> +"
> +
> +FILES:${PN}-test = " \
> +    ${libdir}/${PYTHON_DIR}/site-packages/*/test \
> +    ${libdir}/${PYTHON_DIR}/site-packages/*/testing.py* \
> +"
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#165718): https://lists.openembedded.org/g/openembedded-core/message/165718
> Mute This Topic: https://lists.openembedded.org/mt/91159238/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta/recipes-devtools/python/python3-tornado_6.1.bb b/meta/recipes-devtools/python/python3-tornado_6.1.bb
new file mode 100644
index 0000000000..1dedc51029
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-tornado_6.1.bb
@@ -0,0 +1,28 @@ 
+SUMMARY  = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed."
+DESCRIPTION = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. \
+By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long \
+polling, WebSockets, and other applications that require a long-lived connection to each user."
+HOMEPAGE = "http://www.tornadoweb.org/en/stable/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI[md5sum] = "f324f5e7607798552359d6ab054c4321"
+SRC_URI[sha256sum] = "33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791"
+
+inherit pypi setuptools3
+
+# Requires _compression which is currently located in misc
+RDEPENDS:${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-numbers ${PYTHON_PN}-email \
+                   ${PYTHON_PN}-pkgutil ${PYTHON_PN}-html ${PYTHON_PN}-json ${PYTHON_PN}-certifi ${PYTHON_PN}-threading \
+                   ${PYTHON_PN}-ctypes ${PYTHON_PN}-misc"
+
+RDEPENDS:${PN}-test += "${PN} ${PYTHON_PN}-unittest"
+
+PACKAGES =+ "\
+    ${PN}-test \
+"
+
+FILES:${PN}-test = " \
+    ${libdir}/${PYTHON_DIR}/site-packages/*/test \
+    ${libdir}/${PYTHON_DIR}/site-packages/*/testing.py* \
+"