2020-01-15 09:09:24 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-aenum
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
PYTHON_AENUM_VERSION = 2.2.3
|
|
|
|
PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz
|
|
|
|
PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/6f/6a/8ed729e0add885d7a559ebb06133029b1f8c4bd66cbf1bdee1ec969fb310
|
|
|
|
PYTHON_AENUM_SETUP_TYPE = setuptools
|
|
|
|
PYTHON_AENUM_LICENSE = BSD-3-Clause
|
|
|
|
PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE
|
|
|
|
|
2020-10-02 15:40:47 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
|
|
# only needed/valid for python 3.x
|
|
|
|
define PYTHON_AENUM_RM_PY3_FILE
|
|
|
|
rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/aenum/test_v3.py
|
|
|
|
endef
|
|
|
|
|
|
|
|
PYTHON_AENUM_POST_INSTALL_TARGET_HOOKS += PYTHON_AENUM_RM_PY3_FILE
|
|
|
|
endif
|
|
|
|
|
2020-01-15 09:09:24 +01:00
|
|
|
$(eval $(python-package))
|