mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
12
package/python-orjson/Config.in
Normal file
12
package/python-orjson/Config.in
Normal file
@@ -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
|
||||
5
package/python-orjson/python-orjson.hash
Normal file
5
package/python-orjson/python-orjson.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated after vendoring
|
||||
sha256 b932fc1e43598fb91022b1dc651afeaef650793a2a590ca4fbeef57a3808abf5 orjson-3.8.4.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 LICENSE-APACHE
|
||||
sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT
|
||||
22
package/python-orjson/python-orjson.mk
Normal file
22
package/python-orjson/python-orjson.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-orjson
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_ORJSON_VERSION = 3.8.4
|
||||
PYTHON_ORJSON_SOURCE = orjson-$(PYTHON_ORJSON_VERSION).tar.gz
|
||||
PYTHON_ORJSON_SITE = https://files.pythonhosted.org/packages/8f/2d/ae31eddf7e097eec5e25c7da954ef6e944f4dbf79153676f94cea3dc5116
|
||||
PYTHON_ORJSON_SETUP_TYPE = pep517
|
||||
PYTHON_ORJSON_LICENSE = Apache-2.0 or MIT
|
||||
PYTHON_ORJSON_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
|
||||
PYTHON_ORJSON_DEPENDENCIES = host-python-cffi host-python-maturin
|
||||
PYTHON_ORJSON_ENV = \
|
||||
$(PKG_CARGO_ENV) \
|
||||
PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
|
||||
# We need to vendor the Cargo crates at download time
|
||||
PYTHON_ORJSON_DOWNLOAD_POST_PROCESS = cargo
|
||||
PYTHON_ORJSON_DOWNLOAD_DEPENDENCIES = host-rustc
|
||||
PYTHON_ORJSON_DL_ENV = $(PKG_CARGO_ENV)
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user