Commit graph

3 commits

Author SHA1 Message Date
erico.nunes b8e13fbeb9 python-jinja2: allow build as host-package
Jinja2 is a general purpose templating language for python and can be
required during build time for python scripts that generate code.

While currently there are no in-tree Buildroot packages which depend on
host-python-jinja2, I'm currently having to deal with a proprietary
software build system that requires it.

I have tested that it builds and works correctly as a host python
package for a Buildroot host-python and someone else might require it,
so I'm proposing its inclusion.

python-jinja2 for target builds fine without python-markupsafe as a
build dependency, but when building host-python-jinja2 without
host-python-markupsafe installed, the python package manager tries to
download and install it.
To avoid that and install host-python-markupsafe properly through
Buildroot, the host build dependency is needed. Host support for
python-markupsafe was submitted in a previous patch from this patchset.

Signed-off-by: Erico Nunes <erico.nunes@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-28 22:00:43 +01:00
Peter Korsgaard afae45bb83 python-jinja2: needs markupsafe at runtime
Otherwise import fails:

ImportError: No module named markupsafe

Reported-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-17 16:55:47 +01:00
Peter Korsgaard b534b5aaca package: add python-jinja2
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-14 16:00:36 +01:00