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.

65 lines
1.7 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 ../python-package.mk
  16. include ../python3-package.mk
  17. define Package/python-et_xmlfile/Default
  18. SUBMENU:=Python
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. TITLE:=Low memory library for creating large XML files.
  22. URL:=https://bitbucket.org/openpyxl/et_xmlfile
  23. endef
  24. define Package/python-et_xmlfile
  25. $(call Package/python-et_xmlfile/Default)
  26. DEPENDS:= \
  27. +PACKAGE_python-et_xmlfile:python-light \
  28. +PACKAGE_python-et_xmlfile:python-lxml
  29. VARIANT:=python
  30. endef
  31. define Package/python3-et_xmlfile
  32. $(call Package/python-et_xmlfile/Default)
  33. DEPENDS:= \
  34. +python3-light \
  35. +python3-lxml
  36. VARIANT:=python3
  37. endef
  38. define Package/python-et_xmlfile/description
  39. An implementation of lxml.xmlfile for the standard library.
  40. It is based upon the xmlfile module from lxml with the aim of
  41. allowing code to be developed that will work with both libraries.
  42. endef
  43. define Package/python3-et_xmlfile/description
  44. $(call Package/python-et_xmlfile/description)
  45. .
  46. (Variant for Python3)
  47. endef
  48. $(eval $(call PyPackage,python-et_xmlfile))
  49. $(eval $(call BuildPackage,python-et_xmlfile))
  50. $(eval $(call BuildPackage,python-et_xmlfile-src))
  51. $(eval $(call Py3Package,python3-et_xmlfile))
  52. $(eval $(call BuildPackage,python3-et_xmlfile))
  53. $(eval $(call BuildPackage,python3-et_xmlfile-src))