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.

46 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2007-2017 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-dateutil
  9. PKG_VERSION:=2.8.1
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=BSD-2-Clause
  12. PYPI_NAME:=$(PKG_NAME)
  13. PKG_HASH:=73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c
  14. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  15. include ../pypi.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../python3-package.mk
  18. define Package/python-dateutil/Default
  19. SUBMENU:=Python
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. TITLE:=Extensions to the standard Python datetime module
  23. URL:=https://dateutil.readthedocs.org/
  24. endef
  25. define Package/python3-dateutil
  26. $(call Package/python-dateutil/Default)
  27. DEPENDS:=+PACKAGE_python3-dateutil:python3 +PACKAGE_python3-dateutil:python3-six
  28. VARIANT:=python3
  29. endef
  30. define Package/python3-dateutil/description
  31. Extensions to the standard Python datetime module
  32. .
  33. (Variant for Python3)
  34. endef
  35. $(eval $(call Py3Package,python3-dateutil))
  36. $(eval $(call BuildPackage,python3-dateutil))
  37. $(eval $(call BuildPackage,python3-dateutil-src))