Add python-pyowm package by default

As a requirement of the weather skill
This commit is contained in:
j1nx 2021-05-03 15:39:57 +02:00
parent fdddf3d0b6
commit 884601a62e
5 changed files with 26 additions and 0 deletions

View File

@ -154,6 +154,7 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pygithub/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pymeeus/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-pymplayer/Config.in"
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-rapidfuzz/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ratelim/Config.in"

View File

@ -580,6 +580,7 @@ BR2_PACKAGE_PYTHON_POCKETSPHINX=y
BR2_PACKAGE_PYTHON_PRECISE_RUNNER=y
BR2_PACKAGE_PYTHON_PYCHROMECAST=y
BR2_PACKAGE_PYTHON_PYMPLAYER=y
BR2_PACKAGE_PYTHON_PYOWM=y
BR2_PACKAGE_PYTHON_RAPIDFUZZ=y
BR2_PACKAGE_PYTHON_REQUESTS_CACHE=y
BR2_PACKAGE_PYTHON_REQUESTS_FUTURES=y

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_PYOWM
bool "python-pyowm"
help
PyOWM is a client Python wrapper library for the
OpenWeatherMap web API. It allows quick and easy
consumption of OWM weather data from Python applications
via a simple object model and in a human-friendly fashion.
http://github.com/csparpa/pyowm

View File

@ -0,0 +1,2 @@
# sha256 from https://pypi.org/pypi/
sha256 5d41bcc3b6169d3cc606bffe80945ab4b65578ed7818ef13db8e16d836845442 pyowm-2.6.1.tar.gz

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-pyowm
#
################################################################################
PYTHON_PYOWM_VERSION = 2.6.1
PYTHON_PYOWM_SOURCE = pyowm-$(PYTHON_PYOWM_VERSION).tar.gz
PYTHON_PYOWM_SITE = https://files.pythonhosted.org/packages/3a/1b/94282ac9ea7f737a6eea9520fed026200b63853b3196392814506c456b00
PYTHON_PYOWM_SETUP_TYPE = distutils
PYTHON_PYOWM_LICENSE = MIT
$(eval $(python-package))