mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-27 21:47:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_PYTHON_UJSON
|
||||
bool "python-ujson"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # double-conversion
|
||||
select BR2_PACKAGE_DOUBLE_CONVERSION
|
||||
help
|
||||
UltraJSON is an ultra fast JSON encoder and decoder written
|
||||
in pure C with bindings for Python 3.
|
||||
|
||||
https://pypi.python.org/pypi/ujson
|
||||
|
||||
comment "python-ujson needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/ujson/json
|
||||
md5 f93bd7aa33e3e6ed41c9e3782abe7b48 ujson-5.7.0.tar.gz
|
||||
sha256 e788e5d5dcae8f6118ac9b45d0b891a0d55f7ac480eddcb7f07263f2bcf37b23 ujson-5.7.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 6a00a8f8b4050303368b694147bde1aed9c96bdff869c181dbbf3ccb784a1501 LICENSE.txt
|
||||
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user