kumquat-buildroot/package/python-pyicu/python-pyicu.mk
James Hilliard 17c6737d5e package/python-pyicu: bump to version 2.12
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-02-06 16:18:04 +01:00

22 lines
843 B
Makefile

################################################################################
#
# python-pyicu
#
################################################################################
PYTHON_PYICU_VERSION = 2.12
PYTHON_PYICU_SOURCE = PyICU-$(PYTHON_PYICU_VERSION).tar.gz
PYTHON_PYICU_SITE = https://files.pythonhosted.org/packages/c8/25/38a2104fd48373cfd4eac5104f104ef486f61527e48d627de74794354a2c
PYTHON_PYICU_LICENSE = MIT
PYTHON_PYICU_LICENSE_FILES = LICENSE
PYTHON_PYICU_DEPENDENCIES = icu
PYTHON_PYICU_SETUP_TYPE = setuptools
PYTHON_PYICU_ENV += \
ICU_VERSION="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --modversion`" \
PYICU_CFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --variable=CXXFLAGS`" \
PYICU_LFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-L` \
`$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-l`"
$(eval $(python-package))