python-m2r: new package

Host variant is needed to generate long description
for python-automat package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yegor Yefremov 2017-08-02 07:57:24 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 720c29cad2
commit 800b808bad
4 changed files with 28 additions and 0 deletions

View File

@ -772,6 +772,7 @@ menu "External python modules"
source "package/python-lmdb/Config.in"
source "package/python-logbook/Config.in"
source "package/python-lxml/Config.in"
source "package/python-m2r/Config.in"
source "package/python-mad/Config.in"
source "package/python-mako/Config.in"
source "package/python-markdown/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_M2R
bool "python-m2r"
select BR2_PACKAGE_PYTHON_MISTUNE # runtime
select BR2_PACKAGE_PYTHON_DOCUTILS # runtime
help
Markdown to reStructuredText converter.
https://github.com/miyakogi/m2r

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/m2r/json, sha256 locally computed
md5 aac67f2167a3d81c8ccd7615e9c2cb7a m2r-0.1.6.tar.gz
sha256 a26bc2e25e0ad3f8650385aea25cf734ac4fcd30e54faec92fd39675da75e527 m2r-0.1.6.tar.gz

View File

@ -0,0 +1,16 @@
################################################################################
#
# python-m2r
#
################################################################################
PYTHON_M2R_VERSION = 0.1.6
PYTHON_M2R_SOURCE = m2r-$(PYTHON_M2R_VERSION).tar.gz
PYTHON_M2R_SITE = https://pypi.python.org/packages/8d/74/558f9aba132bb34cd661fad9e17d42bfa1332363466ff314e600096f78c3
PYTHON_M2R_SETUP_TYPE = setuptools
PYTHON_M2R_LICENSE = MIT
PYTHON_M2R_LICENSE_FILES = LICENSE
HOST_PYTHON_M2R_DEPENDENCIES = host-python-docutils host-python-mistune
$(eval $(python-package))
$(eval $(host-python-package))