package/python-mako: New package

Upcoming mesa3d 10.5.x needs the host-version of this package:
http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=10.5&id=2b37bea010a9c9333a813cc77d28629e1382c0be

[Thomas: remove dependency on host-pkgconf, apparently not needed.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015.08.x
Bernd Kuhls 2015-02-20 20:20:31 +01:00 committed by Thomas Petazzoni
parent af7d74a9b1
commit 3a15524b67
3 changed files with 27 additions and 0 deletions

View File

@ -536,6 +536,7 @@ menu "external python modules"
source "package/python-keyring/Config.in"
source "package/python-libconfig/Config.in"
source "package/python-lxml/Config.in"
source "package/python-mako/Config.in"
source "package/python-mad/Config.in"
source "package/python-markdown/Config.in"
source "package/python-markupsafe/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_MAKO
bool "python-mako"
help
Mako is a template library written in Python. It provides a
familiar, non-XML syntax which compiles into Python modules
for maximum performance.
https://pypi.python.org/pypi/Mako

View File

@ -0,0 +1,18 @@
################################################################################
#
# python-mako
#
################################################################################
PYTHON_MAKO_VERSION = 1.0.1
PYTHON_MAKO_SOURCE = Mako-$(PYTHON_MAKO_VERSION).tar.gz
PYTHON_MAKO_SITE = https://pypi.python.org/packages/source/M/Mako
PYTHON_MAKO_SETUP_TYPE = setuptools
PYTHON_MAKO_LICENSE = MIT
PYTHON_MAKO_LICENSE_FILES = LICENSE
# In host build, setup.py tries to download markupsafe if it is not installed
HOST_PYTHON_MAKO_DEPENDENCIES = host-python-markupsafe
$(eval $(python-package))
$(eval $(host-python-package))