2016-07-01 12:06:18 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-engineio
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-04-14 03:43:13 +02:00
|
|
|
PYTHON_ENGINEIO_VERSION = 3.12.1
|
|
|
|
PYTHON_ENGINEIO_SITE = https://files.pythonhosted.org/packages/71/5d/620b75396ce993001cbccc80dd786ab09a16a8e3f6c4878ad05f051064d6
|
2016-07-01 12:06:18 +02:00
|
|
|
PYTHON_ENGINEIO_SETUP_TYPE = setuptools
|
|
|
|
PYTHON_ENGINEIO_LICENSE = MIT
|
|
|
|
PYTHON_ENGINEIO_LICENSE_FILES = LICENSE
|
|
|
|
|
2020-10-04 23:49:02 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
|
|
# only needed/valid for python 3.x
|
|
|
|
define PYTHON_ENGINEIO_RM_PY3_FILES
|
|
|
|
rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/engineio/async_drivers \
|
|
|
|
$(TARGET_DIR)/usr/lib/python*/site-packages/engineio/asyncio_*.py
|
|
|
|
endef
|
|
|
|
|
|
|
|
PYTHON_ENGINEIO_POST_INSTALL_TARGET_HOOKS += PYTHON_ENGINEIO_RM_PY3_FILES
|
|
|
|
endif
|
|
|
|
|
2016-07-01 12:06:18 +02:00
|
|
|
$(eval $(python-package))
|