You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1001 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=python-jsonschema
  3. PKG_VERSION:=3.2.0
  4. PKG_RELEASE:=5
  5. PYPI_NAME:=jsonschema
  6. PKG_HASH:=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
  7. PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
  8. PKG_LICENSE:=MIT
  9. PKG_LICENSE_FILES:=COPYING
  10. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
  11. include ../pypi.mk
  12. include $(INCLUDE_DIR)/package.mk
  13. include ../python3-package.mk
  14. define Package/python3-jsonschema
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. SUBMENU:=Python
  18. TITLE:=An implementation of JSON Schema validation
  19. URL:=https://github.com/Julian/jsonschema
  20. DEPENDS:=+python3-light +python3-attrs +python3-urllib \
  21. +python3-six +python3-pyrsistent +python3-setuptools
  22. endef
  23. define Package/python3-jsonschema/description
  24. jsonschema is an implementation of JSON Schema validation for Python.
  25. endef
  26. $(eval $(call Py3Package,python3-jsonschema))
  27. $(eval $(call BuildPackage,python3-jsonschema))
  28. $(eval $(call BuildPackage,python3-jsonschema-src))