b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=python-docutils |
| 4 | PKG_VERSION:=0.20.1 |
| 5 | PKG_RELEASE:=1 |
| 6 | |
| 7 | PYPI_NAME:=docutils |
| 8 | PKG_HASH:=f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b |
| 9 | |
| 10 | PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com> |
| 11 | PKG_LICENSE:=Public-Domain BSD-2-License Python-2.0.1 GPL-3.0-or-later |
| 12 | PKG_LICENSE_FILES:=COPYING.txt licenses/BSD-2-Clause.txt licenses/python-2-1-1.txt licenses/gpl-3-0.txt |
| 13 | |
| 14 | include ../pypi.mk |
| 15 | include $(INCLUDE_DIR)/package.mk |
| 16 | include ../python3-package.mk |
| 17 | |
| 18 | define Package/python3-docutils |
| 19 | SUBMENU:=Python |
| 20 | SECTION:=lang |
| 21 | CATEGORY:=Languages |
| 22 | TITLE:=Documentation Utilities |
| 23 | URL:=https://docutils.sourceforge.io/ |
| 24 | DEPENDS:=+python3 |
| 25 | endef |
| 26 | |
| 27 | define Package/python3-docutils/description |
| 28 | Docutils is a modular system for processing documentation into useful |
| 29 | formats, such as HTML, XML, and LaTeX. For input Docutils supports |
| 30 | reStructuredText, an easy-to-read, what-you-see-is-what-you-get |
| 31 | plaintext markup syntax. |
| 32 | endef |
| 33 | |
| 34 | $(eval $(call Py3Package,python3-docutils)) |
| 35 | $(eval $(call BuildPackage,python3-docutils)) |
| 36 | $(eval $(call BuildPackage,python3-docutils-src)) |