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.

48 lines
1.3 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=python-et_xmlfile
  7. PKG_VERSION:=1.0.1
  8. PKG_RELEASE:=1
  9. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>, Eneas U de Queiroz <cote2004-github@yahoo.com>
  10. PKG_LICENSE:=MIT
  11. PYPI_NAME:=et_xmlfile
  12. PKG_HASH:=614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b
  13. include ../pypi.mk
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python3-package.mk
  16. define Package/python-et_xmlfile/Default
  17. SUBMENU:=Python
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. TITLE:=Low memory library for creating large XML files.
  21. URL:=https://bitbucket.org/openpyxl/et_xmlfile
  22. endef
  23. define Package/python3-et_xmlfile
  24. $(call Package/python-et_xmlfile/Default)
  25. DEPENDS:= \
  26. +python3-light \
  27. +python3-lxml
  28. VARIANT:=python3
  29. endef
  30. define Package/python3-et_xmlfile/description
  31. An implementation of lxml.xmlfile for the standard library.
  32. It is based upon the xmlfile module from lxml with the aim of
  33. allowing code to be developed that will work with both libraries.
  34. .
  35. (Variant for Python3)
  36. endef
  37. $(eval $(call Py3Package,python3-et_xmlfile))
  38. $(eval $(call BuildPackage,python3-et_xmlfile))
  39. $(eval $(call BuildPackage,python3-et_xmlfile-src))