Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 1 | SUMMARY = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." |
Patrick Williams | de0582f | 2022-04-08 10:23:27 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://pypi.org/project/Jinja2/" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 3 | |
| 4 | LICENSE = "BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" |
| 6 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 7 | SRC_URI[sha256sum] = "31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 8 | |
| 9 | PYPI_PACKAGE = "Jinja2" |
| 10 | |
| 11 | CVE_PRODUCT = "jinja2 jinja" |
| 12 | |
| 13 | CLEANBROKEN = "1" |
| 14 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 15 | inherit pypi setuptools3 ptest |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 16 | |
| 17 | SRC_URI += " \ |
| 18 | file://run-ptest \ |
| 19 | " |
| 20 | |
| 21 | do_install_ptest() { |
| 22 | install -d ${D}${PTEST_PATH}/tests |
| 23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 24 | } |
| 25 | |
| 26 | RDEPENDS:${PN}-ptest += " \ |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 27 | ${PYTHON_PN}-pytest \ |
| 28 | ${PYTHON_PN}-unittest-automake-output \ |
| 29 | ${PYTHON_PN}-toml \ |
| 30 | ${PYTHON_PN}-unixadmin \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 31 | " |
| 32 | |
| 33 | RDEPENDS:${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 | |
| 48 | BBCLASSEXTEND = "native nativesdk" |