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 | |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 7 | SRC_URI[sha256sum] = "ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90" |
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 += " \ |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 27 | python3-pytest \ |
| 28 | python3-unittest-automake-output \ |
| 29 | python3-toml \ |
| 30 | python3-unixadmin \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 31 | " |
| 32 | |
| 33 | RDEPENDS:${PN} += " \ |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 34 | python3-asyncio \ |
| 35 | python3-crypt \ |
| 36 | python3-io \ |
| 37 | python3-json \ |
| 38 | python3-markupsafe \ |
| 39 | python3-math \ |
| 40 | python3-netclient \ |
| 41 | python3-numbers\ |
| 42 | python3-pickle \ |
| 43 | python3-pprint \ |
| 44 | python3-shell \ |
| 45 | python3-threading \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 46 | " |
| 47 | |
| 48 | BBCLASSEXTEND = "native nativesdk" |