python-orjson: update to version 3.9.13
[feed/packages.git] / lang / python / python-orjson / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=python-orjson
4 PKG_VERSION:=3.9.13
5 PKG_RELEASE:=1
6
7 PYPI_NAME:=orjson
8 PKG_HASH:=fc6bc65b0cf524ee042e0bc2912b9206ef242edfba7426cf95763e4af01f527a
9
10 PKG_MAINTAINER:=Timothy Ace <openwrt@timothyace.com>
11 PKG_LICENSE:=Apache-2.0 MIT
12 PKG_LICENSE_FILES:=LICENSE-APACHE LICENSE-MIT
13
14 PKG_BUILD_DEPENDS:=python-maturin/host
15
16 include ../pypi.mk
17 include $(INCLUDE_DIR)/package.mk
18 include ../python3-package.mk
19
20 define Package/python3-orjson
21 SECTION:=lang
22 CATEGORY:=Languages
23 SUBMENU:=Python
24 TITLE:=Fast, correct Python JSON library
25 URL:=https://github.com/ijl/orjson
26 DEPENDS:= \
27 +python3-light \
28 $(RUST_ARCH_DEPENDS)
29 endef
30
31 define Package/python3-orjson/description
32 Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy
33 endef
34
35 $(eval $(call Py3Package,python3-orjson))
36 $(eval $(call BuildPackage,python3-orjson))
37 $(eval $(call BuildPackage,python3-orjson-src))