buildroot/package/python-ujson/python-ujson.mk

20 lines
775 B
Makefile

################################################################################
#
# python-ujson
#
################################################################################
PYTHON_UJSON_VERSION = 5.7.0
PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz
PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/43/1a/b0a027144aa5c8f4ea654f4afdd634578b450807bb70b9f8bad00d6f6d3c
PYTHON_UJSON_SETUP_TYPE = setuptools
PYTHON_UJSON_LICENSE = BSD-3-Clause
PYTHON_UJSON_LICENSE_FILES = LICENSE.txt
PYTHON_UJSON_DEPENDENCIES = host-python-setuptools-scm double-conversion
PYTHON_UJSON_ENV = \
UJSON_BUILD_DC_INCLUDES="$(STAGING_DIR)/usr/include/double-conversion" \
UJSON_BUILD_DC_LIBS="-ldouble-conversion" \
UJSON_BUILD_NO_STRIP=1
$(eval $(python-package))