python-docutils: new package

Host variant is needed for building python-daemon package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: improve license description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov 2016-09-21 15:40:43 +02:00 committed by Thomas Petazzoni
parent c2c4b4a3c1
commit 688cff67b8
4 changed files with 28 additions and 0 deletions

View File

@ -669,6 +669,7 @@ menu "External python modules"
source "package/python-dicttoxml/Config.in"
source "package/python-django/Config.in"
source "package/python-docopt/Config.in"
source "package/python-docutils/Config.in"
source "package/python-dominate/Config.in"
source "package/python-dpkt/Config.in"
source "package/python-ecdsa/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_DOCUTILS
bool "python-docutils"
help
Docutils is a modular system for processing documentation
into useful formats, such as HTML, XML, and LaTeX. For input
Docutils supports reStructuredText, an easy-to-read,
what-you-see-is-what-you-get plaintext markup syntax.
http://docutils.sourceforge.net/

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/docutils/json, sha256 locally computed
md5 4622263b62c5c771c03502afa3157768 docutils-0.12.tar.gz
sha256 c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa docutils-0.12.tar.gz

View File

@ -0,0 +1,15 @@
#############################################################
#
# python-docutils
#
#############################################################
PYTHON_DOCUTILS_VERSION = 0.12
PYTHON_DOCUTILS_SOURCE = docutils-$(PYTHON_DOCUTILS_VERSION).tar.gz
PYTHON_DOCUTILS_SITE = https://pypi.python.org/packages/37/38/ceda70135b9144d84884ae2fc5886c6baac4edea39550f28bcd144c1234d
PYTHON_DOCUTILS_LICENSE = Public Domain, BSD-2c, GPLv3 (emacs mode), other
PYTHON_DOCUTILS_LICENSE_FILES = COPYING.txt
PYTHON_DOCUTILS_SETUP_TYPE = distutils
$(eval $(python-package))
$(eval $(host-python-package))