From f65d364dfff5a554cf0842aee227808bb9b97c9b Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Tue, 19 Dec 2017 23:02:35 -0500 Subject: python3-websocket-client: make py2 version available Allow a py2 version of the python-websocket-client package to be built. This is required to support updates in meta-cloud-services. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- recipes-devtools/python/python-websocket-client.inc | 11 +++++++++++ recipes-devtools/python/python-websocket-client_0.44.0.bb | 2 ++ recipes-devtools/python/python3-websocket-client_0.44.0.bb | 13 ++----------- 3 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 recipes-devtools/python/python-websocket-client.inc create mode 100644 recipes-devtools/python/python-websocket-client_0.44.0.bb diff --git a/recipes-devtools/python/python-websocket-client.inc b/recipes-devtools/python/python-websocket-client.inc new file mode 100644 index 00000000..31778c68 --- /dev/null +++ b/recipes-devtools/python/python-websocket-client.inc @@ -0,0 +1,11 @@ +SUMMARY = "WebSocket client for python. hybi13 is supported." +HOMEPAGE = "https://github.com/websocket-client/websocket-client.git" +LICENSE = "LGPL-3.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=18b09a20dd186af4fd60f1a08311628c" + +inherit pypi + +PYPI_PACKAGE = "websocket_client" + +SRC_URI[md5sum] = "73d87aa16a2212da448b30aca9c5bf3b" +SRC_URI[sha256sum] = "15f585566e2ea7459136a632b9785aa081093064391878a448c382415e948d72" diff --git a/recipes-devtools/python/python-websocket-client_0.44.0.bb b/recipes-devtools/python/python-websocket-client_0.44.0.bb new file mode 100644 index 00000000..11eeb04a --- /dev/null +++ b/recipes-devtools/python/python-websocket-client_0.44.0.bb @@ -0,0 +1,2 @@ +require python-websocket-client.inc +inherit setuptools \ No newline at end of file diff --git a/recipes-devtools/python/python3-websocket-client_0.44.0.bb b/recipes-devtools/python/python3-websocket-client_0.44.0.bb index 8dfc95f5..473e31ff 100644 --- a/recipes-devtools/python/python3-websocket-client_0.44.0.bb +++ b/recipes-devtools/python/python3-websocket-client_0.44.0.bb @@ -1,11 +1,2 @@ -SUMMARY = "WebSocket client for python. hybi13 is supported." -HOMEPAGE = "https://github.com/websocket-client/websocket-client.git" -LICENSE = "LGPL-3.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=18b09a20dd186af4fd60f1a08311628c" - -inherit pypi setuptools3 - -PYPI_PACKAGE = "websocket_client" - -SRC_URI[md5sum] = "73d87aa16a2212da448b30aca9c5bf3b" -SRC_URI[sha256sum] = "15f585566e2ea7459136a632b9785aa081093064391878a448c382415e948d72" +require python-websocket-client.inc +inherit setuptools3 \ No newline at end of file -- cgit v1.2.3-54-g00ecf