blob: b37a043ccb2030f302ead09ce3b6a46ff3929915 [file] [log] [blame]
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05001DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
Andrew Geissler95ac1b82021-03-31 14:34:31 -05002HOMEPAGE = "https://pypi.org/project/Jinja/"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05003
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
6
William A. Kennington IIIac69b482021-06-02 12:28:27 -07007SRC_URI[sha256sum] = "703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05008
9PYPI_PACKAGE = "Jinja2"
10
Andrew Geissler95ac1b82021-03-31 14:34:31 -050011CVE_PRODUCT = "jinja2 jinja"
12
Andrew Geisslerc3d88e42020-10-02 09:45:00 -050013CLEANBROKEN = "1"
14
15inherit pypi setuptools3
Andrew Geisslerc926e172021-05-07 16:11:35 -050016inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
Andrew Geisslerc3d88e42020-10-02 09:45:00 -050017
18SRC_URI += " \
19 file://run-ptest \
20"
21
22do_install_ptest() {
23 install -d ${D}${PTEST_PATH}/tests
24 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
25}
26
27RDEPENDS_${PN}-ptest += " \
28 ${PYTHON_PN}-pytest \
Andrew Geisslerc926e172021-05-07 16:11:35 -050029 ${PYTHON_PN}-toml \
Andrew Geisslerc3d88e42020-10-02 09:45:00 -050030 ${PYTHON_PN}-unixadmin \
31"
32
33RDEPENDS_${PN} += " \
34 ${PYTHON_PN}-asyncio \
35 ${PYTHON_PN}-crypt \
36 ${PYTHON_PN}-io \
37 ${PYTHON_PN}-json \
38 ${PYTHON_PN}-markupsafe \
39 ${PYTHON_PN}-math \
40 ${PYTHON_PN}-netclient \
41 ${PYTHON_PN}-numbers\
42 ${PYTHON_PN}-pickle \
43 ${PYTHON_PN}-pprint \
44 ${PYTHON_PN}-shell \
45 ${PYTHON_PN}-threading \
46"
47
48BBCLASSEXTEND = "native nativesdk"