Skip to contentSkip to conversation

python3-websocket-client: make py2 version available

PATCH In review Mark Asselstine 2 participants 2 messages Dec 20, 2017 – Dec 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 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
recipes-devtools/python/python-websocket-client.inc new file +11 -0
new file mode 100644
index 0000000..31778c6
@@ -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"
recipes-devtools/python/python-websocket-client_0.44.0.bb new file +2 -0
new file mode 100644
index 0000000..11eeb04
@@ -0,0 +1,2 @@
+require python-websocket-client.inc
+inherit setuptools
\ No newline at end of file
recipes-devtools/python/python3-websocket-client_0.44.0.bb +2 -11
index 8dfc95f..473e31f 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 65 lines · Mark Asselstine

Allow a py2 version of the python-websocket-client package to be built. This is required to support updates in meta-cloud-services.

---
 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
recipes-devtools/python/python-websocket-client.inc new file +11 -0
new file mode 100644
index 0000000..31778c6
@@ -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"
recipes-devtools/python/python-websocket-client_0.44.0.bb new file +2 -0
new file mode 100644
index 0000000..11eeb04
@@ -0,0 +1,2 @@
+require python-websocket-client.inc
+inherit setuptools
\ No newline at end of file
recipes-devtools/python/python3-websocket-client_0.44.0.bb +2 -12
index 8dfc95f..473e31f 100644
@@ -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
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"