Merge pull request #22645 from yggdrasil-openwrt/yggdrasil-2023-11-11
[feed/packages.git] / lang / python / python-jsonschema-specifications / Makefile
1 #
2 # Copyright (C) 2023 Jeffery To
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-jsonschema-specifications
11 PKG_VERSION:=2023.7.1
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=jsonschema-specifications
15 PYPI_SOURCE_NAME:=jsonschema_specifications
16 PKG_HASH:=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
17
18 PKG_LICENSE:=MIT
19 PKG_LICENSE_FILES:=COPYING
20 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
21
22 PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host
23
24 include ../pypi.mk
25 include $(INCLUDE_DIR)/package.mk
26 include ../python3-package.mk
27
28 define Package/python3-jsonschema-specifications
29 SECTION:=lang
30 CATEGORY:=Languages
31 SUBMENU:=Python
32 TITLE:=JSON Schema meta-schemas and vocabularies
33 URL:=https://github.com/python-jsonschema/jsonschema-specifications
34 DEPENDS:=+python3-light +python3-referencing
35 endef
36
37 define Package/python3-jsonschema-specifications/description
38 JSON support files from the JSON Schema Specifications (metaschemas,
39 vocabularies, etc.), packaged for runtime access from Python as a
40 referencing-based Schema Registry.
41 endef
42
43 $(eval $(call Py3Package,python3-jsonschema-specifications))
44 $(eval $(call BuildPackage,python3-jsonschema-specifications))
45 $(eval $(call BuildPackage,python3-jsonschema-specifications-src))