packages/lang/python/python-jsonschema/Makefile
Javier Marcet 85bdad9269 python-jsonschema: Update to 4.21.0
- Fix the behavior of enum in the presence of 0 or 1 to properly
  consider True and False unequal.
 - Special case the error message for {min,max}
 {Items,Length,Properties} when they're checking for emptiness rather
 than true length.

Signed-off-by: Javier Marcet <javier@marcet.info>
2024-01-19 14:48:23 +08:00

43 lines
1.1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=python-jsonschema
PKG_VERSION:=4.21.0
PKG_RELEASE:=1
PYPI_NAME:=jsonschema
PKG_HASH:=3ba18e27f7491ea4a1b22edce00fb820eec968d397feb3f9cb61d5894bb38167
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host python-hatch-fancy-pypi-readme/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-jsonschema
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=An implementation of JSON Schema validation
URL:=https://github.com/python-jsonschema/jsonschema
DEPENDS:= \
+python3-light \
+python3-decimal \
+python3-urllib \
+python3-uuid \
+python3-attrs \
+python3-jsonschema-specifications \
+python3-referencing \
+python3-rpds-py
endef
define Package/python3-jsonschema/description
jsonschema is an implementation of JSON Schema validation for Python.
endef
$(eval $(call Py3Package,python3-jsonschema))
$(eval $(call BuildPackage,python3-jsonschema))
$(eval $(call BuildPackage,python3-jsonschema-src))