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 <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Mark Asselstine 2017-12-19 23:02:35 -05:00 committed by Bruce Ashfield
parent 4fa904e57f
commit f65d364dff
3 changed files with 15 additions and 11 deletions

View File

@ -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"

View File

@ -0,0 +1,2 @@
require python-websocket-client.inc
inherit setuptools

View File

@ -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