blob: 92723051569f9d948315eb03233e01e86a159203 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
2LICENSE = "BSD-3-Clause"
Brad Bishop00ab2372019-10-14 11:06:18 -04003LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005PYPI_PACKAGE = "Jinja2"
6
Andrew Geissler82c905d2020-04-13 13:39:40 -05007SRC_URI[md5sum] = "5d88c7e77aa63fc852a04f65dbfe5594"
8SRC_URI[sha256sum] = "93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
10RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle ${PYTHON_PN}-crypt \
Brad Bishop316dfdd2018-06-25 12:45:53 -040011 ${PYTHON_PN}-math ${PYTHON_PN}-netclient \
12 ${PYTHON_PN}-pprint ${PYTHON_PN}-shell ${PYTHON_PN}-markupsafe \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013 ${PYTHON_PN}-json ${PYTHON_PN}-threading ${PYTHON_PN}-numbers"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050014
15CLEANBROKEN = "1"
Brad Bishop19323692019-04-05 15:28:33 -040016
17BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018
19inherit ptest
20
21SRC_URI += " \
22 file://run-ptest \
23"
24
25RDEPENDS_${PN}-ptest += " \
26 ${PYTHON_PN}-pytest \
27 ${PYTHON_PN}-unixadmin \
28"
29
30do_install_ptest() {
31 install -d ${D}${PTEST_PATH}/tests
32 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
33}