mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 14:07: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_ORJSON
|
||||
bool "python-orjson"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_PYTHON_CFFI # runtime
|
||||
help
|
||||
orjson is a fast, correct JSON library for Python. It
|
||||
benchmarks as the fastest Python library for JSON and is more
|
||||
correct than the standard json library or other third-party
|
||||
libraries. It serializes dataclass, datetime, numpy, and UUID
|
||||
instances natively.
|
||||
|
||||
https://github.com/ijl/orjson
|
||||
@@ -0,0 +1,5 @@
|
||||
# Locally calculated after vendoring
|
||||
sha256 30dbdd4ebd62a40b6f13a3c741bb215004778c17fd951d0ce5812a7c34476b09 python-orjson-3.9.10-cargo2.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE
|
||||
sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT
|
||||
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-orjson
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_ORJSON_VERSION = 3.9.10
|
||||
PYTHON_ORJSON_SOURCE_PYPI = orjson-$(PYTHON_ORJSON_VERSION).tar.gz
|
||||
PYTHON_ORJSON_SITE_PYPI = https://files.pythonhosted.org/packages/72/75/642688bf5d99131fe8cf603f4ef9f26e4b1c6ed8f7f5c7e6fb31def54fb7
|
||||
PYTHON_ORJSON_SITE = $(PYTHON_ORJSON_SITE_PYPI)/$(PYTHON_ORJSON_SOURCE_PYPI)?buildroot-path=filename
|
||||
PYTHON_ORJSON_SETUP_TYPE = maturin
|
||||
PYTHON_ORJSON_LICENSE = Apache-2.0 or MIT
|
||||
PYTHON_ORJSON_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
|
||||
PYTHON_ORJSON_DEPENDENCIES = host-python-cffi
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user