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. 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 ../python3-package.mk
  12. define Package/python-docutils/Default
  13. SUBMENU:=Python
  14. SECTION:=lang
  15. CATEGORY:=Languages
  16. TITLE:=docutils
  17. URL:=http://docutils.sourceforge.net
  18. endef
  19. define Package/python3-docutils
  20. $(call Package/python-docutils/Default)
  21. DEPENDS:=+PACKAGE_python3-docutils:python3
  22. VARIANT:=python3
  23. endef
  24. define Package/python3-docutils/description
  25. Docutils is a modular system for processing documentation into useful formats,
  26. such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText,
  27. an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax.
  28. .
  29. (Variant for Python3)
  30. endef
  31. PYTHON3_PKG_SETUP_ARGS:=
  32. $(eval $(call Py3Package,python3-docutils))
  33. $(eval $(call BuildPackage,python3-docutils))
  34. $(eval $(call BuildPackage,python3-docutils-src))