blob: 681acf8f1c02da9d9943785218076bce80f9d956 [file] [log] [blame]
Andrew Geissler2ee498a2020-05-29 15:52:06 -05001DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
2
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
5
6SRC_URI[sha256sum] = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"
7
8PYPI_PACKAGE = "Jinja2"
9
10CLEANBROKEN = "1"
11
12inherit pypi setuptools3 ptest
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18do_install_ptest() {
19 install -d ${D}${PTEST_PATH}/tests
20 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
21}
22
23RDEPENDS_${PN}-ptest += " \
24 ${PYTHON_PN}-pytest \
25 ${PYTHON_PN}-unixadmin \
26"
27
28RDEPENDS_${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
43BBCLASSEXTEND = "native nativesdk"