You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-pytz
  9. PKG_VERSION:=2019.3
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=pytz
  12. PKG_HASH:=b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE.txt
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python-pytz/Default
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. URL:=https://pythonhosted.org/pytz/
  24. endef
  25. define Package/python3-pytz
  26. $(call Package/python-pytz/Default)
  27. TITLE:=World timezone definitions, modern and historical for Python3
  28. DEPENDS:=+PACKAGE_python3-pytz:python3-light
  29. VARIANT:=python3
  30. endef
  31. define Package/python3-pytz/description
  32. World timezone definitions, modern and historical
  33. .
  34. (Variant for Python3)
  35. endef
  36. $(eval $(call Py3Package,python3-pytz))
  37. $(eval $(call BuildPackage,python3-pytz))
  38. $(eval $(call BuildPackage,python3-pytz-src))