Commit Graph

2 Commits

Author SHA1 Message Date
Trevor Gamblin
ffafb00e45 python3-jinja2: Fix ptest RDEPENDS and file installation
jinja2's ptest is failing when running meta-python-ptest-image. This is
happening for two reasons:

1) python3-jinja2 is in oe-core, but the ptests are disabled.
2) python3-toml is required for the ptest;

Because of #1, do_install_ptest doesn't actually run and so no tests are
installed for ptest-runner to use. This patch adds do_install_ptest to the
bbappend file for jinja2, and also adds python3-toml to the ptest RDEPENDS so
that it will install the tests and run correctly.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-23 22:51:38 -08:00
Tim Orling
d964d093f5 python3-jinja2: bbappend for ptest
The main recipe has moved to oe-core, but with ptest
disabled. Here we simply conditionally inherit ptest
to enable it in meta-python.

Remove the original recipe and the python3-jinja2/
directory.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-23 10:13:35 -07:00