[Buildroot] [PATCH 07/11] package/python-jsonschema-specifications: add host variant

Dario Binacchi dario.binacchi at amarulasolutions.com
Wed Nov 29 17:26:11 UTC 2023


Recent version of U-Boot use binman to provide a mechanism for building
images, from simple SPL + U-Boot combinations, to more complex
arrangements with many parts. This package is required by binman.

Co-developed-by: Michael Trimarchi <michael at amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael at amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
---
 package/Config.in.host                                     | 1 +
 package/python-jsonschema-specifications/Config.in.host    | 7 +++++++
 .../python-jsonschema-specifications.mk                    | 5 +++++
 3 files changed, 13 insertions(+)
 create mode 100644 package/python-jsonschema-specifications/Config.in.host

diff --git a/package/Config.in.host b/package/Config.in.host
index 1b2af6cbf0f2..27237639ada1 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -87,6 +87,7 @@ menu "Host utilities"
 	source "package/python-greenlet/Config.in.host"
 	source "package/python-iniparse/Config.in.host"
 	source "package/python-jsonschema/Config.in.host"
+	source "package/python-jsonschema-specifications/Config.in.host"
 	source "package/python-kflash/Config.in.host"
 	source "package/python-lxml/Config.in.host"
 	source "package/python-pyyaml/Config.in.host"
diff --git a/package/python-jsonschema-specifications/Config.in.host b/package/python-jsonschema-specifications/Config.in.host
new file mode 100644
index 000000000000..903b4c4d98a2
--- /dev/null
+++ b/package/python-jsonschema-specifications/Config.in.host
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS
+	bool "host python-jsonschema-specifications"
+	help
+	  The JSON Schema meta-schemas and vocabularies, exposed as a
+	  Registry.
+
+	  https://github.com/python-jsonschema/jsonschema-specifications
diff --git a/package/python-jsonschema-specifications/python-jsonschema-specifications.mk b/package/python-jsonschema-specifications/python-jsonschema-specifications.mk
index 7a19eee4236f..a20045f316b2 100644
--- a/package/python-jsonschema-specifications/python-jsonschema-specifications.mk
+++ b/package/python-jsonschema-specifications/python-jsonschema-specifications.mk
@@ -14,4 +14,9 @@ PYTHON_JSONSCHEMA_SPECIFICATIONS_DEPENDENCIES = \
 	host-python-hatchling \
 	host-python-hatch-vcs
 
+HOST_PYTHON_JSONSCHEMA_SPECIFICATIONS_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-vcs
+
 $(eval $(python-package))
+$(eval $(host-python-package))
-- 
2.43.0




More information about the buildroot mailing list