blob: 82ce406bd58264db76dc2b07898259595a282fdd [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001include $(TOPDIR)/rules.mk
2
3PKG_NAME:=python-jsonschema
4PKG_VERSION:=4.22.0
5PKG_RELEASE:=1
6
7PYPI_NAME:=jsonschema
8PKG_HASH:=5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7
9
10PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
11PKG_LICENSE:=MIT
12PKG_LICENSE_FILES:=COPYING
13
14PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host
15
16include ../pypi.mk
17include $(INCLUDE_DIR)/package.mk
18include ../python3-package.mk
19
20define Package/python3-jsonschema
21 SECTION:=lang
22 CATEGORY:=Languages
23 SUBMENU:=Python
24 TITLE:=An implementation of JSON Schema validation
25 URL:=https://github.com/python-jsonschema/jsonschema
26 DEPENDS:= \
27 +python3-light \
28 +python3-decimal \
29 +python3-urllib \
30 +python3-uuid \
31 +python3-attrs \
32 +python3-jsonschema-specifications \
33 +python3-referencing \
34 +python3-rpds-py
35endef
36
37define Package/python3-jsonschema/description
38 jsonschema is an implementation of JSON Schema validation for Python.
39endef
40
41$(eval $(call Py3Package,python3-jsonschema))
42$(eval $(call BuildPackage,python3-jsonschema))
43$(eval $(call BuildPackage,python3-jsonschema-src))