mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 23:30:31 +04:00
e938860f2f
3.11.8 failed to build against the SDK's stable rust 1.96.0: build.rs enabled orjson's "cold_path" cargo feature for rustc >= 1.95.0, activating an unstable feature gate that errors with E0554. 3.11.9 drops it; plain version bump. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
40 lines
970 B
Makefile
40 lines
970 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-orjson
|
|
PKG_VERSION:=3.11.9
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=orjson
|
|
PKG_HASH:=4fef17e1f8722c11587a6ef18e35902450221da0028e65dbaaa543619e68e48f
|
|
|
|
PKG_MAINTAINER:=Timothy Ace <openwrt@timothyace.com>
|
|
PKG_LICENSE:=Apache-2.0 MIT
|
|
PKG_LICENSE_FILES:=LICENSE-APACHE LICENSE-MIT
|
|
PKG_CPE_ID:=cpe:/a:ijl:orjson
|
|
|
|
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 \
|
|
+python3-uuid \
|
|
$(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))
|