mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
WIP: Implementing all goodies and required changes / dependencies.
This commit is contained in:
10
buildroot-external/package/python-astral/Config.in
Normal file
10
buildroot-external/package/python-astral/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_PYTHON_ASTRAL
|
||||
bool "python-astral"
|
||||
help
|
||||
This is ‘astral’ a Python module which calculates
|
||||
- Times for various positions of the sun: dawn,
|
||||
sunrise, solar noon, sunset, dusk, solar elevation,
|
||||
solar azimuth and rahukaalam.
|
||||
- The phase of the moon.
|
||||
|
||||
https://github.com/sffjunkie/astral
|
@@ -0,0 +1,2 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/
|
||||
sha256 e7f2c825ac101c0953812e0f4c617ca48bd9dd5f4ebf450f7ce9086ed8f5a1fe astral-1.4.zip
|
21
buildroot-external/package/python-astral/python-astral.mk
Normal file
21
buildroot-external/package/python-astral/python-astral.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-astral
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_ASTRAL_VERSION = 1.4
|
||||
PYTHON_ASTRAL_SOURCE = astral-$(PYTHON_ASTRAL_VERSION).zip
|
||||
PYTHON_ASTRAL_SITE = https://files.pythonhosted.org/packages/a4/d6/c309f266677372964c6002a56a7bec2a90875338a71325e20b24d6d1e187
|
||||
PYTHON_ASTRAL_DEPENDENCIES = host-python-pytz
|
||||
PYTHON_ASTRAL_SETUP_TYPE = setuptools
|
||||
PYTHON_ASTRAL_LICENSE = Apache-2.0
|
||||
PYTHON_ASTRAL_LICENSE_FILES = LICENSE
|
||||
|
||||
define PYTHON_ASTRAL_EXTRACT_CMDS
|
||||
$(UNZIP) -d $(@D) $(DL_DIR)/python-astral/$(PYTHON_ASTRAL_SOURCE)
|
||||
mv $(@D)/astral-$(PYTHON_ASTRAL_VERSION)/* $(@D)
|
||||
$(RM) -r $(@D)/astral-$(PYTHON_ASTRAL_VERSION)
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
Reference in New Issue
Block a user