Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://pypi.org/project/Jinja/" |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 3 | |
| 4 | LICENSE = "BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" |
| 6 | |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 7 | SRC_URI[sha256sum] = "703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4" |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 8 | |
| 9 | PYPI_PACKAGE = "Jinja2" |
| 10 | |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 11 | CVE_PRODUCT = "jinja2 jinja" |
| 12 | |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 13 | CLEANBROKEN = "1" |
| 14 | |
| 15 | inherit pypi setuptools3 |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 16 | inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 17 | |
| 18 | SRC_URI += " \ |
| 19 | file://run-ptest \ |
| 20 | " |
| 21 | |
| 22 | do_install_ptest() { |
| 23 | install -d ${D}${PTEST_PATH}/tests |
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 25 | } |
| 26 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | RDEPENDS:${PN}-ptest += " \ |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 28 | ${PYTHON_PN}-pytest \ |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 29 | ${PYTHON_PN}-toml \ |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 30 | ${PYTHON_PN}-unixadmin \ |
| 31 | " |
| 32 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 33 | RDEPENDS:${PN} += " \ |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 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 | |
| 48 | BBCLASSEXTEND = "native nativesdk" |