Signed-off-by: Zang Ruochen <[email protected]> --- .../python/python-gevent-websocket.inc | 14 ++++++++++++++ .../python/python-gevent-websocket_0.10.1.bb | 16 ++-------------- .../python/python3-gevent-websocket_0.10.1.bb | 2 ++ 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-gevent-websocket.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-gevent-websocket_0.10.1.bb
diff --git a/meta-openstack/recipes-devtools/python/python-gevent-websocket.inc b/meta-openstack/recipes-devtools/python/python-gevent-websocket.inc new file mode 100644 index 0000000..011c23e --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-gevent-websocket.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Websocket handler for the gevent pywsgi server, a Python network library" +HOMEPAGE = "https://gitlab.com/noppo/gevent-websocket" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5aa2f1d4ea55d60497aa8c3debf29ab2" + +SRC_URI[md5sum] = "e095bf3358175489a956949c1b4de9ff" +SRC_URI[sha256sum] = "7eaef32968290c9121f7c35b973e2cc302ffb076d018c9068d2f5ca8b2d85fb0" + +inherit pypi + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-gevent \ + " diff --git a/meta-openstack/recipes-devtools/python/python-gevent-websocket_0.10.1.bb b/meta-openstack/recipes-devtools/python/python-gevent-websocket_0.10.1.bb index a12d0ad..bc529f5 100644 --- a/meta-openstack/recipes-devtools/python/python-gevent-websocket_0.10.1.bb +++ b/meta-openstack/recipes-devtools/python/python-gevent-websocket_0.10.1.bb @@ -1,14 +1,2 @@ -DESCRIPTION = "Websocket handler for the gevent pywsgi server, a Python network library" -HOMEPAGE = "https://gitlab.com/noppo/gevent-websocket" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5aa2f1d4ea55d60497aa8c3debf29ab2" - -SRC_URI[md5sum] = "e095bf3358175489a956949c1b4de9ff" -SRC_URI[sha256sum] = "7eaef32968290c9121f7c35b973e2cc302ffb076d018c9068d2f5ca8b2d85fb0" - -inherit setuptools pypi - -RDEPENDS_${PN} += " \ - python-gevent \ - " +require python-gevent-websocket.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-gevent-websocket_0.10.1.bb b/meta-openstack/recipes-devtools/python/python3-gevent-websocket_0.10.1.bb new file mode 100644 index 0000000..99e4946 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-gevent-websocket_0.10.1.bb @@ -0,0 +1,2 @@ +require python-gevent-websocket.inc +inherit setuptools3 -- 2.20.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4783): https://lists.yoctoproject.org/g/meta-virtualization/message/4783 Mute This Topic: https://lists.yoctoproject.org/mt/64316883/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
