blob: c33f57e0a5ee018548f0cf41820f5f4f95c14028 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-jsonschema-specifications
11PKG_VERSION:=2023.11.2
12PKG_RELEASE:=1
13
14PYPI_NAME:=jsonschema-specifications
15PYPI_SOURCE_NAME:=jsonschema_specifications
16PKG_HASH:=9472fc4fea474cd74bea4a2b190daeccb5a9e4db2ea80efcf7a1b582fc9a81b8
17
18PKG_LICENSE:=MIT
19PKG_LICENSE_FILES:=COPYING
20PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
21
22PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host
23
24include ../pypi.mk
25include $(INCLUDE_DIR)/package.mk
26include ../python3-package.mk
27
28define 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
35endef
36
37define Package/python3-jsonschema-specifications/description
38JSON support files from the JSON Schema Specifications (metaschemas,
39vocabularies, etc.), packaged for runtime access from Python as a
40referencing-based Schema Registry.
41endef
42
43$(eval $(call Py3Package,python3-jsonschema-specifications))
44$(eval $(call BuildPackage,python3-jsonschema-specifications))
45$(eval $(call BuildPackage,python3-jsonschema-specifications-src))