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.

43 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-openpyxl
  9. PKG_VERSION:=3.0.3
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  12. PKG_LICENSE:=MIT
  13. PKG_LICENSE_FILES:=LICENCE.rst
  14. PYPI_NAME:=openpyxl
  15. PKG_HASH:=547a9fc6aafcf44abe358b89ed4438d077e9d92e4f182c87e2dc294186dc4b64
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-openpyxl
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=A Python library to read/write Excel 2010 xlsx/xlsm files
  24. URL:=https://openpyxl.readthedocs.org/
  25. DEPENDS:=+python3 +python3-defusedxml +python3-et_xmlfile +python3-jdcal
  26. VARIANT:=python3
  27. endef
  28. define Package/python3-openpyxl/description
  29. A Python library to read/write Excel 2010 xlsx/xlsm files
  30. .
  31. (Variant for Python3)
  32. endef
  33. $(eval $(call Py3Package,python3-openpyxl))
  34. $(eval $(call BuildPackage,python3-openpyxl))
  35. $(eval $(call BuildPackage,python3-openpyxl-src))