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.

41 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  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-ciso8601
  9. PKG_VERSION:=2.1.3
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=ciso8601
  12. PKG_HASH:=bdbb5b366058b1c87735603b23060962c439ac9be66f1ae91e8c7dbd7d59e262
  13. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@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/python3-ciso8601
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Fast ISO8601 date time parser for Python written in C
  24. URL:=https://github.com/closeio/ciso8601
  25. DEPENDS:=+python3-light
  26. endef
  27. define Package/python3-ciso8601/description
  28. ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python datetime objects.
  29. endef
  30. $(eval $(call Py3Package,python3-ciso8601))
  31. $(eval $(call BuildPackage,python3-ciso8601))
  32. $(eval $(call BuildPackage,python3-ciso8601-src))