b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2007-2019 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-pytz |
| 11 | PKG_VERSION:=2024.1 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=pytz |
| 15 | PKG_HASH:=2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812 |
| 16 | |
| 17 | PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com> |
| 18 | PKG_LICENSE:=MIT |
| 19 | PKG_LICENSE_FILES:=LICENSE.txt |
| 20 | |
| 21 | include ../pypi.mk |
| 22 | include $(INCLUDE_DIR)/package.mk |
| 23 | include ../python3-package.mk |
| 24 | |
| 25 | define Package/python3-pytz |
| 26 | SUBMENU:=Python |
| 27 | SECTION:=lang |
| 28 | CATEGORY:=Languages |
| 29 | TITLE:=World timezone definitions, modern and historical |
| 30 | URL:=https://pythonhosted.org/pytz/ |
| 31 | DEPENDS:=+python3-light |
| 32 | endef |
| 33 | |
| 34 | define Package/python3-pytz/description |
| 35 | World timezone definitions, modern and historical |
| 36 | endef |
| 37 | |
| 38 | $(eval $(call Py3Package,python3-pytz)) |
| 39 | $(eval $(call BuildPackage,python3-pytz)) |
| 40 | $(eval $(call BuildPackage,python3-pytz-src)) |