mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
[WIP] Pushed for backup.
... Do not build this as of yet ...
This commit is contained in:
6
buildroot-external/package/python-h3/Config.in
Normal file
6
buildroot-external/package/python-h3/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_PYTHON_H3
|
||||
bool "python-h3"
|
||||
help
|
||||
Uber's H3 Hexagonal Hierarchical Geospatial Indexing System in Python
|
||||
|
||||
https://github.com/uber/h3-py
|
2
buildroot-external/package/python-h3/python-h3.hash
Normal file
2
buildroot-external/package/python-h3/python-h3.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# sha256 from https://pypi.org/pypi/h3/json
|
||||
sha256 9bbd3dbac99532fa521d7d2e288ff55877bea3223b070f659ed7b5f8f1f213eb h3-3.7.6.tar.gz
|
21
buildroot-external/package/python-h3/python-h3.mk
Normal file
21
buildroot-external/package/python-h3/python-h3.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-h3
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_H3_VERSION = 3.7.6
|
||||
PYTHON_H3_SOURCE = h3-$(PYTHON_H3_VERSION).tar.gz
|
||||
PYTHON_H3_SITE = https://files.pythonhosted.org/packages/0e/92/30070479f7c41d66dc5f0ac44298eaedf4a7dad722348dac82d6dcc7ddd8
|
||||
PYTHON_H3_SETUP_TYPE = setuptools
|
||||
PYTHON_H3_LICENSE = MIT
|
||||
PYTHON_H3_LICENSE_FILES = LICENSE
|
||||
PYTHON_H3_DEPENDENCIES = host-python-scikit-build host-python-wheel host-python-distro
|
||||
PYTHON_H3_BUILD_OPTS = -DPython3_INCLUDE_DIR:PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
|
||||
-DPYTHON_INCLUDE_DIR:PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
PYTHON_H3_INSTALL_TARGET_OPTS = -DPython3_INCLUDE_DIR:PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
|
||||
-DPYTHON_INCLUDE_DIR:PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
$(eval $(python-package))
|
Reference in New Issue
Block a user