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.

59 lines
1.5 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=docutils
  3. PKG_VERSION:=0.14
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=$(PKG_NAME)
  6. PKG_HASH:=51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274
  7. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  8. PKG_LICENSE:=MIT
  9. include ../pypi.mk
  10. include $(INCLUDE_DIR)/package.mk
  11. include ../python-package.mk
  12. include ../python3-package.mk
  13. define Package/python-docutils/Default
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=docutils
  18. URL:=http://docutils.sourceforge.net
  19. endef
  20. define Package/python-docutils
  21. $(call Package/python-docutils/Default)
  22. DEPENDS:=+PACKAGE_python-docutils:python
  23. VARIANT:=python
  24. endef
  25. define Package/python3-docutils
  26. $(call Package/python-docutils/Default)
  27. DEPENDS:=+PACKAGE_python3-docutils:python3
  28. VARIANT:=python3
  29. endef
  30. define Package/python-docutils/description
  31. Docutils is a modular system for processing documentation into useful formats,
  32. such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText,
  33. an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax.
  34. endef
  35. define Package/python3-docutils/description
  36. $(call Package/python-docutils/description)
  37. .
  38. (Variant for Python3)
  39. endef
  40. PYTHON_PKG_SETUP_ARGS:=
  41. PYTHON3_PKG_SETUP_ARGS:=
  42. $(eval $(call PyPackage,python-docutils))
  43. $(eval $(call BuildPackage,python-docutils))
  44. $(eval $(call BuildPackage,python-docutils-src))
  45. $(eval $(call Py3Package,python3-docutils))
  46. $(eval $(call BuildPackage,python3-docutils))
  47. $(eval $(call BuildPackage,python3-docutils-src))