Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | DESCRIPTION = "JavaScript minifier." |
| 2 | HOMEPAGE = "https://github.com/tikitu/jsmin/" |
| 3 | SECTION = "devel/python" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d" |
| 6 | |
| 7 | inherit setuptools3 pypi ptest |
| 8 | SRC_URI[sha256sum] = "88fc1bd6033a47c5911dbcada7d279c7a8b7ad0841909590f6a742c20c4d2e08" |
| 9 | |
| 10 | BBCLASSEXTEND = "native nativesdk" |
| 11 | |
| 12 | SRC_URI += " \ |
| 13 | file://run-ptest \ |
| 14 | " |
| 15 | |
| 16 | RDEPENDS:${PN}-ptest += " \ |
| 17 | ${PYTHON_PN}-pytest \ |
| 18 | " |
| 19 | |
| 20 | do_install_ptest() { |
| 21 | cp -f ${S}/jsmin/test.py ${D}${PTEST_PATH}/ |
| 22 | } |