Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." |
| 2 | LICENSE = "BSD-3-Clause" |
Brad Bishop | 00ab237 | 2019-10-14 11:06:18 -0400 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 4 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | PYPI_PACKAGE = "Jinja2" |
| 6 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | SRC_URI[md5sum] = "5d88c7e77aa63fc852a04f65dbfe5594" |
| 8 | SRC_URI[sha256sum] = "93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | |
| 10 | RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle ${PYTHON_PN}-crypt \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | ${PYTHON_PN}-math ${PYTHON_PN}-netclient \ |
| 12 | ${PYTHON_PN}-pprint ${PYTHON_PN}-shell ${PYTHON_PN}-markupsafe \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 13 | ${PYTHON_PN}-json ${PYTHON_PN}-threading ${PYTHON_PN}-numbers" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | |
| 15 | CLEANBROKEN = "1" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | |
| 17 | BBCLASSEXTEND = "native nativesdk" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | |
| 19 | inherit ptest |
| 20 | |
| 21 | SRC_URI += " \ |
| 22 | file://run-ptest \ |
| 23 | " |
| 24 | |
| 25 | RDEPENDS_${PN}-ptest += " \ |
| 26 | ${PYTHON_PN}-pytest \ |
| 27 | ${PYTHON_PN}-unixadmin \ |
| 28 | " |
| 29 | |
| 30 | do_install_ptest() { |
| 31 | install -d ${D}${PTEST_PATH}/tests |
| 32 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 33 | } |