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.

37 lines
1023 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=python-jsonschema
  3. PKG_VERSION:=3.2.0
  4. PKG_RELEASE:=4
  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. PKG_BUILD_PARALLEL:=0
  11. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools_scm
  12. include ../pypi.mk
  13. include $(INCLUDE_DIR)/package.mk
  14. include ../python3-package.mk
  15. define Package/python3-jsonschema
  16. SECTION:=lang
  17. CATEGORY:=Languages
  18. SUBMENU:=Python
  19. TITLE:=An implementation of JSON Schema validation
  20. URL:=https://github.com/Julian/jsonschema
  21. DEPENDS:=+python3-light +python3-attrs +python3-urllib \
  22. +python3-six +python3-pyrsistent +python3-setuptools
  23. endef
  24. define Package/python3-jsonschema/description
  25. jsonschema is an implementation of JSON Schema validation for Python.
  26. endef
  27. $(eval $(call Py3Package,python3-jsonschema))
  28. $(eval $(call BuildPackage,python3-jsonschema))
  29. $(eval $(call BuildPackage,python3-jsonschema-src))