Relevant changes since 3.9.10: - Improve performance of serializing. str is significantly faster. Documents using dict, list, and tuple are somewhat faster. - FIXED: Minimal musllinux_1_1 build due to sporadic CI failure. Signed-off-by: Timothy Ace <openwrt@timothyace.com>
37 lines
923 B
Makefile
37 lines
923 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-orjson
|
|
PKG_VERSION:=3.9.12
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=orjson
|
|
PKG_HASH:=da908d23a3b3243632b523344403b128722a5f45e278a8343c2bb67538dff0e4
|
|
|
|
PKG_MAINTAINER:=Timothy Ace <openwrt@timothyace.com>
|
|
PKG_LICENSE:=Apache-2.0 MIT
|
|
PKG_LICENSE_FILES:=LICENSE-APACHE LICENSE-MIT
|
|
|
|
PKG_BUILD_DEPENDS:=python-maturin/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-orjson
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Fast, correct Python JSON library
|
|
URL:=https://github.com/ijl/orjson
|
|
DEPENDS:= \
|
|
+python3-light \
|
|
$(RUST_ARCH_DEPENDS)
|
|
endef
|
|
|
|
define Package/python3-orjson/description
|
|
Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-orjson))
|
|
$(eval $(call BuildPackage,python3-orjson))
|
|
$(eval $(call BuildPackage,python3-orjson-src))
|