3edce5b307
Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
778 B
Makefile
24 lines
778 B
Makefile
################################################################################
|
|
#
|
|
# python-fire
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_FIRE_VERSION = 0.4.0
|
|
PYTHON_FIRE_SOURCE = fire-$(PYTHON_FIRE_VERSION).tar.gz
|
|
PYTHON_FIRE_SITE = https://files.pythonhosted.org/packages/11/07/a119a1aa04d37bc819940d95ed7e135a7dcca1c098123a3764a6dcace9e7
|
|
PYTHON_FIRE_SETUP_TYPE = setuptools
|
|
PYTHON_FIRE_LICENSE = Apache-2.0
|
|
PYTHON_FIRE_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
# only needed/valid for python 3.x
|
|
define PYTHON_FIRE_RM_PY3_FILE
|
|
rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/fire/test_components_py3.py
|
|
endef
|
|
|
|
PYTHON_FIRE_POST_INSTALL_TARGET_HOOKS += PYTHON_FIRE_RM_PY3_FILE
|
|
endif
|
|
|
|
$(eval $(python-package))
|