Add python-reverse-geocoder package

This commit is contained in:
j1nx 2022-03-23 19:35:41 +01:00
parent cb9f483500
commit 0bddb44b95
6 changed files with 25 additions and 0 deletions

View File

@ -201,6 +201,7 @@ menu "Additional external python modules"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ratelim/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-requests-cache/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-requests-futures/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-reverse-geocoder/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-rsa/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ruamel-yaml/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-scipy/Config.in"

View File

@ -678,6 +678,7 @@ BR2_PACKAGE_PYTHON_QUANTULUM3=y
BR2_PACKAGE_PYTHON_RAKEKEYWORDS=y
BR2_PACKAGE_PYTHON_RAPIDFUZZ=y
BR2_PACKAGE_PYTHON_REQUESTS_FUTURES=y
BR2_PACKAGE_PYTHON_REVERSE_GEOCODER=y
BR2_PACKAGE_PYTHON_RUAMEL_YAML=y
BR2_PACKAGE_PYTHON_SGMLLIB3K=y
BR2_PACKAGE_PYTHON_SMBUS2=y

View File

@ -680,6 +680,7 @@ BR2_PACKAGE_PYTHON_QUANTULUM3=y
BR2_PACKAGE_PYTHON_RAKEKEYWORDS=y
BR2_PACKAGE_PYTHON_RAPIDFUZZ=y
BR2_PACKAGE_PYTHON_REQUESTS_FUTURES=y
BR2_PACKAGE_PYTHON_REVERSE_GEOCODER=y
BR2_PACKAGE_PYTHON_RUAMEL_YAML=y
BR2_PACKAGE_PYTHON_SGMLLIB3K=y
BR2_PACKAGE_PYTHON_SMBUS2=y

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_REVERSE_GEOCODER
bool "python-reverse-geocoder"
help
Fast, offline reverse geocoder.
https://github.com/thampiman/reverse-geocoder

View File

@ -0,0 +1,3 @@
# md5, sha256 from https://pypi.org/pypi/reverse-geocoder/json
md5 a40c7329417b2d04e2af281f169068ec reverse_geocoder-1.5.1.tar.gz
sha256 2a2e781b5f69376d922b78fe8978f1350c84fce0ddb07e02c834ecf98b57c75c reverse_geocoder-1.5.1.tar.gz

View File

@ -0,0 +1,13 @@
################################################################################
#
# python-reverse-geocoder
#
################################################################################
PYTHON_REVERSE_GEOCODER_VERSION = 1.5.1
PYTHON_REVERSE_GEOCODER_SOURCE = reverse_geocoder-$(PYTHON_REVERSE_GEOCODER_VERSION).tar.gz
PYTHON_REVERSE_GEOCODER_SITE = https://files.pythonhosted.org/packages/0b/0f/b7d5d4b36553731f11983e19e1813a1059ad0732c5162c01b3220c927d31
PYTHON_REVERSE_GEOCODER_SETUP_TYPE = setuptools
PYTHON_REVERSE_GEOCODER_LICENSE = lgpl
$(eval $(python-package))