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.

63 lines
1.5 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 ../python-package.mk
  19. include ../python3-package.mk
  20. define Package/python-pytz/Default
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. URL:=https://pythonhosted.org/pytz/
  25. endef
  26. define Package/python-pytz
  27. $(call Package/python-pytz/Default)
  28. TITLE:=World timezone definitions, modern and historical
  29. DEPENDS:=+PACKAGE_python-pytz:python-light
  30. VARIANT:=python
  31. endef
  32. define Package/python3-pytz
  33. $(call Package/python-pytz/Default)
  34. TITLE:=World timezone definitions, modern and historical for Python3
  35. DEPENDS:=+PACKAGE_python3-pytz:python3-light
  36. VARIANT:=python3
  37. endef
  38. define Package/python-pytz/description
  39. World timezone definitions, modern and historical
  40. endef
  41. define Package/python3-pytz/description
  42. $(call Package/python-pytz/description)
  43. .
  44. (Variant for Python3)
  45. endef
  46. $(eval $(call PyPackage,python-pytz))
  47. $(eval $(call BuildPackage,python-pytz))
  48. $(eval $(call BuildPackage,python-pytz-src))
  49. $(eval $(call Py3Package,python3-pytz))
  50. $(eval $(call BuildPackage,python3-pytz))
  51. $(eval $(call BuildPackage,python3-pytz-src))