From ba411aaf07cc681926274082c92fd49a90168a7b Mon Sep 17 00:00:00 2001
From: j1nx
Date: Sun, 5 Jun 2022 12:55:50 +0200
Subject: [PATCH] Add python-neon-solver-plugin-wikipedia
---
buildroot-external/Config.in | 1 +
buildroot-external/configs/rpi3_64-gui_defconfig | 1 +
buildroot-external/configs/rpi4_64-gui_defconfig | 1 +
.../python-neon-solver-plugin-wikipedia/Config.in | 6 ++++++
.../python-neon-solver-plugin-wikipedia.hash | 1 +
.../python-neon-solver-plugin-wikipedia.mk | 12 ++++++++++++
6 files changed, 22 insertions(+)
create mode 100644 buildroot-external/package/python-neon-solver-plugin-wikipedia/Config.in
create mode 100644 buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.hash
create mode 100644 buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.mk
diff --git a/buildroot-external/Config.in b/buildroot-external/Config.in
index d6b17a7d..1693d7eb 100644
--- a/buildroot-external/Config.in
+++ b/buildroot-external/Config.in
@@ -160,6 +160,7 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-mycroft-messagebus-client/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-lang-plugin-libretranslate/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-solver-plugin-ddg/Config.in"
+ source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-solver-plugin-wikipedia/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-solver-plugin-wolfram-alpha/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-solvers/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-neon-transformers/Config.in"
diff --git a/buildroot-external/configs/rpi3_64-gui_defconfig b/buildroot-external/configs/rpi3_64-gui_defconfig
index 5b9adc8f..093d37ba 100644
--- a/buildroot-external/configs/rpi3_64-gui_defconfig
+++ b/buildroot-external/configs/rpi3_64-gui_defconfig
@@ -677,6 +677,7 @@ BR2_PACKAGE_PYTHON_MULTI_KEY_DICT=y
BR2_PACKAGE_PYTHON_MYCROFT_MESSAGEBUS_CLIENT=y
BR2_PACKAGE_PYTHON_NEON_LANG_PLUGIN_LIBRETRANSLATE=y
BR2_PACKAGE_PYTHON_NEON_SOLVER_PLUGIN_DDG=y
+BR2_PACKAGE_PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA=y
BR2_PACKAGE_PYTHON_NEON_SOLVER_PLUGIN_WOLFRAM_ALPHA=y
BR2_PACKAGE_PYTHON_NEON_SOLVERS=y
BR2_PACKAGE_PYTHON_NEON_TRANSFORMERS=y
diff --git a/buildroot-external/configs/rpi4_64-gui_defconfig b/buildroot-external/configs/rpi4_64-gui_defconfig
index 82192acc..e40f5459 100644
--- a/buildroot-external/configs/rpi4_64-gui_defconfig
+++ b/buildroot-external/configs/rpi4_64-gui_defconfig
@@ -679,6 +679,7 @@ BR2_PACKAGE_PYTHON_MULTI_KEY_DICT=y
BR2_PACKAGE_PYTHON_MYCROFT_MESSAGEBUS_CLIENT=y
BR2_PACKAGE_PYTHON_NEON_LANG_PLUGIN_LIBRETRANSLATE=y
BR2_PACKAGE_PYTHON_NEON_SOLVER_PLUGIN_DDG=y
+BR2_PACKAGE_PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA=y
BR2_PACKAGE_PYTHON_NEON_SOLVER_PLUGIN_WOLFRAM_ALPHA=y
BR2_PACKAGE_PYTHON_NEON_SOLVERS=y
BR2_PACKAGE_PYTHON_NEON_TRANSFORMERS=y
diff --git a/buildroot-external/package/python-neon-solver-plugin-wikipedia/Config.in b/buildroot-external/package/python-neon-solver-plugin-wikipedia/Config.in
new file mode 100644
index 00000000..bc30e6bf
--- /dev/null
+++ b/buildroot-external/package/python-neon-solver-plugin-wikipedia/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA
+ bool "python-neon-solver-plugin-wikipedia"
+ help
+ neon solver plugin wikipedia
+
+ https://github.com/NeonGeckoCom/neon-solver-plugin-wikipedia
diff --git a/buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.hash b/buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.hash
new file mode 100644
index 00000000..5fd4cf96
--- /dev/null
+++ b/buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.hash
@@ -0,0 +1 @@
+sha256 293e4d216da8a2b0e729c8732ac00fa4aec4971f3fc754f14c11fda6aaffbbed python-neon-solver-plugin-wikipedia-f675e025160259eb659a210c68782e66d1f78f99.tar.gz
diff --git a/buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.mk b/buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.mk
new file mode 100644
index 00000000..6b6c5861
--- /dev/null
+++ b/buildroot-external/package/python-neon-solver-plugin-wikipedia/python-neon-solver-plugin-wikipedia.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# python-neon-solver-plugin-wikipedia
+#
+################################################################################
+
+PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA_VERSION = f675e025160259eb659a210c68782e66d1f78f99
+PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA_SITE = $(call github,NeonGeckoCom,neon-solver-plugin-wikipedia,$(PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA_VERSION))
+PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA_SETUP_TYPE = setuptools
+PYTHON_NEON_SOLVER_PLUGIN_WIKIPEDIA_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))