2019-03-09 20:38:59 +01:00
|
|
|
#
|
2021-09-06 15:33:05 +02:00
|
|
|
# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
2019-03-09 20:38:59 +01:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-astral
|
2023-02-17 14:19:17 +01:00
|
|
|
PKG_VERSION:=3.2
|
2021-09-06 15:33:05 +02:00
|
|
|
PKG_RELEASE:=1
|
2019-03-09 20:38:59 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=astral
|
2023-02-17 14:19:17 +01:00
|
|
|
PKG_HASH:=9b7c3b412e9e69d172cfb24be0e6addcc9f1bd01a28db8bebe66d75ccc533d88
|
2019-03-09 20:38:59 +01:00
|
|
|
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2023-09-04 11:00:32 +02:00
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2019-03-09 20:38:59 +01:00
|
|
|
|
2023-02-17 14:19:17 +01:00
|
|
|
PKG_BUILD_DEPENDS:=python-poetry-core/host
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2019-03-09 20:38:59 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
2020-04-21 19:27:50 +02:00
|
|
|
define Package/python3-astral
|
2019-03-09 20:38:59 +01:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
|
|
|
TITLE:=Calculations for the position of the sun and moon
|
|
|
|
URL:=https://github.com/sffjunkie/astral
|
|
|
|
DEPENDS+= \
|
2023-03-01 09:48:10 +01:00
|
|
|
+python3-light
|
2019-03-09 20:38:59 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-astral/description
|
2020-04-01 16:21:16 +02:00
|
|
|
Astral is a python module for calculating the times of various aspects of the sun and moon.
|
2019-03-09 20:38:59 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-astral))
|
|
|
|
$(eval $(call BuildPackage,python3-astral))
|
|
|
|
$(eval $(call BuildPackage,python3-astral-src))
|