diff options
author | Tim Orling <ticotimo@gmail.com> | 2020-09-21 21:47:26 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-23 10:13:35 -0700 |
commit | d964d093f521530650fa6338eeef659b63be0cd4 (patch) | |
tree | 6120e8303f062091ef221c96de5ad3df1a3b8b30 /meta-python | |
parent | 92be59704b4afa65166fc6df209355b4fac67e00 (diff) | |
download | meta-openembedded-d964d093f521530650fa6338eeef659b63be0cd4.tar.gz |
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>
Diffstat (limited to 'meta-python')
3 files changed, 2 insertions, 46 deletions
diff --git a/meta-python/recipes-devtools/python/python3-jinja2/run-ptest b/meta-python/recipes-devtools/python/python3-jinja2/run-ptest deleted file mode 100644 index 5cec711696..0000000000 --- a/meta-python/recipes-devtools/python/python3-jinja2/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest | ||
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend b/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend new file mode 100644 index 0000000000..91814e6cde --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | # Main recipe was moved to oe-core, but with ptest disabled | ||
2 | inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} | ||
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb b/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb deleted file mode 100644 index 681acf8f1c..0000000000 --- a/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." | ||
2 | |||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" | ||
5 | |||
6 | SRC_URI[sha256sum] = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0" | ||
7 | |||
8 | PYPI_PACKAGE = "Jinja2" | ||
9 | |||
10 | CLEANBROKEN = "1" | ||
11 | |||
12 | inherit pypi setuptools3 ptest | ||
13 | |||
14 | SRC_URI += " \ | ||
15 | file://run-ptest \ | ||
16 | " | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | ||
20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
21 | } | ||
22 | |||
23 | RDEPENDS_${PN}-ptest += " \ | ||
24 | ${PYTHON_PN}-pytest \ | ||
25 | ${PYTHON_PN}-unixadmin \ | ||
26 | " | ||
27 | |||
28 | RDEPENDS_${PN} += " \ | ||
29 | ${PYTHON_PN}-asyncio \ | ||
30 | ${PYTHON_PN}-crypt \ | ||
31 | ${PYTHON_PN}-io \ | ||
32 | ${PYTHON_PN}-json \ | ||
33 | ${PYTHON_PN}-markupsafe \ | ||
34 | ${PYTHON_PN}-math \ | ||
35 | ${PYTHON_PN}-netclient \ | ||
36 | ${PYTHON_PN}-numbers\ | ||
37 | ${PYTHON_PN}-pickle \ | ||
38 | ${PYTHON_PN}-pprint \ | ||
39 | ${PYTHON_PN}-shell \ | ||
40 | ${PYTHON_PN}-threading \ | ||
41 | " | ||
42 | |||
43 | BBCLASSEXTEND = "native nativesdk" | ||