The host build replaces the use of the host pip requirements file. This also updates the dependants of setuptools-scm to depend on the host build. This also removes the toml host pip requirements file as toml is not used by any other package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
36 lines
997 B
Makefile
36 lines
997 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-jsonschema
|
|
PKG_VERSION:=4.17.3
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=jsonschema
|
|
PKG_HASH:=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools-scm/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/Julian/jsonschema
|
|
DEPENDS:=+python3-light +python3-attrs +python3-urllib \
|
|
+python3-six +python3-pyrsistent +python3-setuptools
|
|
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))
|