Add skill-wikipedia-for-humans as pre installed skill

This commit is contained in:
j1nx 2021-06-09 20:30:26 +02:00
parent 3647d9f61e
commit 55a8bac340
13 changed files with 111 additions and 1 deletions

View File

@ -163,6 +163,7 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyowm/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pyxdg/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-quantulum3/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-quebra-frases/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-rakekeywords/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-rapidfuzz/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ratelim/Config.in"
@ -181,6 +182,8 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-unidecode/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-uritemplate/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-vlc/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wikipedia-api/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-wikipedia-for-humans/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-xmlrunner/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-xxhash/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-youtube-dl/Config.in"
@ -217,6 +220,7 @@ menu "Mycroft A.I. Skills"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-query/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-unknown/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-weather/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-wikipedia-for-humans/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-wolfie/Config.in"
endmenu
endmenu

View File

@ -335,7 +335,6 @@ BR2_PACKAGE_PYTHON_FLASK_JSONRPC=y
BR2_PACKAGE_PYTHON_FLASK_LOGIN=y
BR2_PACKAGE_PYTHON_FLASK_SQLALCHEMY=y
BR2_PACKAGE_PYTHON_HUMANIZE=y
BR2_PACKAGE_PYTHON_INFLECTION=y
BR2_PACKAGE_PYTHON_IPADDRESS=y
BR2_PACKAGE_PYTHON_JSON_SCHEMA_VALIDATOR=y
BR2_PACKAGE_PYTHON_JSONMODELS=y
@ -598,6 +597,7 @@ BR2_PACKAGE_PYTHON_SMMAP=y
BR2_PACKAGE_PYTHON_SOURCE=y
BR2_PACKAGE_PYTHON_TZLOCAL=y
BR2_PACKAGE_PYTHON_VLC=y
BR2_PACKAGE_PYTHON_WIKIPEDIA_FOR_HUMANS=y
BR2_PACKAGE_PYTHON_XMLRUNNER=y
BR2_PACKAGE_PYTHON_YOUTUBE_DL=y
BR2_PACKAGE_MYCROFT_EMBEDDED_SHELL=y
@ -627,4 +627,5 @@ BR2_PACKAGE_MYCROFT_SKILL_PARROT=y
BR2_PACKAGE_MYCROFT_SKILL_QUERY=y
BR2_PACKAGE_MYCROFT_SKILL_UNKNOWN=y
BR2_PACKAGE_MYCROFT_SKILL_WEATHER=y
BR2_PACKAGE_MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS=y
BR2_PACKAGE_MYCROFT_SKILL_WOLFIE=y

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS
bool "mycroft-skill-wikipedia-for-humans"
help
Query Wikipedia for answers to all your questions.
Get just a summary, or ask for more to get in-depth
information.
https://github.com/JarbasSkills/skill-wikipedia-for-humans

View File

@ -0,0 +1,20 @@
################################################################################
#
# mycroft-skill-wikipedia-for-humans
#
################################################################################
MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_VERSION = 66fd1e49b45e6db263fba5248131dffa765900fc
MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_SITE = git://github.com/JarbasSkills/skill-wikipedia-for-humans
MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_SITE_METHOD = git
MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRNAME = skill-wikipedia-for-humans.jarbasskills
define MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRLOCATION)/$(MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRLOCATION)/$(MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRLOCATION)/$(MYCROFT_SKILL_WIKIPEDIA_FOR_HUMANS_DIRNAME)
endef
$(eval $(generic-package))

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_QUEBRA_FRASES
bool "python-quebra-frases"
help
quebra_frases chunks strings into byte sized pieces.
https://github.com/OpenJarbas/quebra_frases

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/quebra_frases/json
md5 2a06b3ea100efacf1345d547982af60d quebra_frases-0.3.7.tar.gz
sha256 ec839ce8825a50ac671d2dff09f1a8563d1686f4954924ad0c6e3cde8e277ed0 quebra_frases-0.3.7.tar.gz
# Locally computed sha256 checksums
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-quebra-frases
#
################################################################################
PYTHON_QUEBRA_FRASES_VERSION = 0.3.7
PYTHON_QUEBRA_FRASES_SOURCE = quebra_frases-$(PYTHON_QUEBRA_FRASES_VERSION).tar.gz
PYTHON_QUEBRA_FRASES_SITE = https://files.pythonhosted.org/packages/04/8f/dcc0beeb6e164f44e03d1501b70733a1d7f069c9d59354911537d84b71e6
PYTHON_QUEBRA_FRASES_SETUP_TYPE = setuptools
PYTHON_QUEBRA_FRASES_LICENSE = apache-2.0
PYTHON_QUEBRA_FRASES_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_WIKIPEDIA_API
bool "python-wikipedia-api"
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
help
Python Wrapper for Wikipedia.
https://github.com/martin-majlis/Wikipedia-API

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/wikipedia-api/json
md5 e789ba86bcf9cb3492e6bce318e03a33 Wikipedia-API-0.5.4.tar.gz
sha256 5173d4db641cdb78d96f2b052df2232bcdc00cf32a424c43402958a40f783992 Wikipedia-API-0.5.4.tar.gz
# Locally computed sha256 checksums
sha256 b77333e912b18026a9e27136847f79e54f22e73ab7258a628b6096738d575db8 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-wikipedia-api
#
################################################################################
PYTHON_WIKIPEDIA_API_VERSION = 0.5.4
PYTHON_WIKIPEDIA_API_SOURCE = Wikipedia-API-$(PYTHON_WIKIPEDIA_API_VERSION).tar.gz
PYTHON_WIKIPEDIA_API_SITE = https://files.pythonhosted.org/packages/ef/3d/289963bbf51f8d00cdf7483cdc2baee25ba877e8b4eb72157c47211e3b57
PYTHON_WIKIPEDIA_API_SETUP_TYPE = setuptools
PYTHON_WIKIPEDIA_API_LICENSE = MIT
PYTHON_WIKIPEDIA_API_LICENSE_FILES = LICENSE
$(eval $(python-package))

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_WIKIPEDIA_FOR_HUMANS
bool "python-wikipedia-for-humans"
select BR2_PACKAGE_PYTHON_INFLECTION # runtime
select BR2_PACKAGE_PYTHON_QUEBRA_FRASES # runtime
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
select BR2_PACKAGE_PYTHON_WIKIPEDIA_API # runtime
help
wikipedia for humans.
https://github.com/OpenJarbas/wikipedia_for_humans

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/wikipedia_for_humans/json
md5 36694417f18a88b0debf1bfcdbde462c wikipedia_for_humans-0.3.0.tar.gz
sha256 4890917442a2f25a733ed8e7d812e5dae864f021994d97d13f4ceaa76bf7221b wikipedia_for_humans-0.3.0.tar.gz

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-wikipedia-for-humans
#
################################################################################
PYTHON_WIKIPEDIA_FOR_HUMANS_VERSION = 0.3.0
PYTHON_WIKIPEDIA_FOR_HUMANS_SOURCE = wikipedia_for_humans-$(PYTHON_WIKIPEDIA_FOR_HUMANS_VERSION).tar.gz
PYTHON_WIKIPEDIA_FOR_HUMANS_SITE = https://files.pythonhosted.org/packages/ef/f3/ceb5e80ad2faa5c18697dc64d7f1ea68bf94faf995def69eeb37b5a20c22
PYTHON_WIKIPEDIA_FOR_HUMANS_SETUP_TYPE = setuptools
PYTHON_WIKIPEDIA_FOR_HUMANS_LICENSE = MIT
$(eval $(python-package))