meta-openembedded/meta-python/recipes-devtools/python/python-socketio.inc
Martin Jansa 26656c1cd1 python-socketio: prevent python2 socketio depending on python3-aiohttp
* enable client and asyncio_client PACKAGECONFIGs only in python3-socketio, because
  there is no python-websockets, python--websocket-client recipes for python2 version
* fixes:
  ERROR: Nothing RPROVIDES 'python3-aiohttp' (but
    meta-oe/meta-python/recipes-devtools/python/python-socketio_4.3.1.bb
    RDEPENDS on or otherwise requires it)
  when python3-aiohttp is blacklisted

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-24 04:31:45 -07:00

29 lines
816 B
PHP

SUMMARY = "Socket.IO server"
HOMEPAGE = "https://github.com/miguelgrinberg/python-socketio/"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8"
inherit pypi
PYPI_PACKAGE = "python-socketio"
SRC_URI[md5sum] = "86cd47dddea1785ce7a6c72f55c93fe7"
SRC_URI[sha256sum] = "506b2cf7a520b40ea0b3f25e1272eff8de134dce6f471c1f6bc0de8c90fe8c57"
PACKAGECONFIG ?= ""
PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets"
PACKAGECONFIG[client] = ",,,${PYTHON_PN}-requests ${PYTHON_PN}-websocket-client"
RDEPENDS_${PN} += "\
${PYTHON_PN}-engineio \
${PYTHON_PN}-logging \
${PYTHON_PN}-math \
${PYTHON_PN}-pickle \
${PYTHON_PN}-json \
${PYTHON_PN}-threading \
${PYTHON_PN}-six \
${PYTHON_PN}-attrs \
"