b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=python-jsonschema |
| 4 | PKG_VERSION:=4.22.0 |
| 5 | PKG_RELEASE:=1 |
| 6 | |
| 7 | PYPI_NAME:=jsonschema |
| 8 | PKG_HASH:=5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7 |
| 9 | |
| 10 | PKG_MAINTAINER:=Javier Marcet <javier@marcet.info> |
| 11 | PKG_LICENSE:=MIT |
| 12 | PKG_LICENSE_FILES:=COPYING |
| 13 | |
| 14 | PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host |
| 15 | |
| 16 | include ../pypi.mk |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | include ../python3-package.mk |
| 19 | |
| 20 | define 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 |
| 35 | endef |
| 36 | |
| 37 | define Package/python3-jsonschema/description |
| 38 | jsonschema is an implementation of JSON Schema validation for Python. |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call Py3Package,python3-jsonschema)) |
| 42 | $(eval $(call BuildPackage,python3-jsonschema)) |
| 43 | $(eval $(call BuildPackage,python3-jsonschema-src)) |