kumquat-buildroot/package/python-engineio/python-engineio.mk
Fabrice Fontaine 901689bfcc package/python-engineio: add PYTHON_ENGINEIO_CPE_ID_VENDOR
cpe:2.3🅰️python-engineio_project:python-engineio is a valid CPE
identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Apython-engineio_project%3Apython-engineio

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-15 14:19:41 +02:00

25 lines
876 B
Makefile

################################################################################
#
# python-engineio
#
################################################################################
PYTHON_ENGINEIO_VERSION = 3.12.1
PYTHON_ENGINEIO_SITE = https://files.pythonhosted.org/packages/71/5d/620b75396ce993001cbccc80dd786ab09a16a8e3f6c4878ad05f051064d6
PYTHON_ENGINEIO_SETUP_TYPE = setuptools
PYTHON_ENGINEIO_LICENSE = MIT
PYTHON_ENGINEIO_LICENSE_FILES = LICENSE
PYTHON_ENGINEIO_CPE_ID_VENDOR = python-engineio_project
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
$(eval $(python-package))