Files
winf-photobooth/package/python-aenum/python-aenum.mk
Michael b8783708ae Initial Commit
- initial default booting image
2026-11-06 20:45:42 +01:00

23 lines
764 B
Makefile

################################################################################
#
# python-aenum
#
################################################################################
PYTHON_AENUM_VERSION = 3.1.17
PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz
PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/07/e9/8b283567c1fef7c24d1f390b37daede8b61593d8cdaffb8e95d571699e83
PYTHON_AENUM_SETUP_TYPE = setuptools
PYTHON_AENUM_LICENSE = BSD-3-Clause
PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE
# _py2.py uses syntax not compatible with Python3.
# Remove _py2.py to avoid compilation error.
define PYTHON_AENUM_REMOVE_PY2_PY
rm $(@D)/aenum/_py2.py
endef
PYTHON_AENUM_POST_EXTRACT_HOOKS = PYTHON_AENUM_REMOVE_PY2_PY
$(eval $(python-package))