Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -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[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd" |
| 9 | SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b" |
| 10 | |
| 11 | BBCLASSEXTEND = "native nativesdk" |
| 12 | |
| 13 | SRC_URI += " \ |
| 14 | file://run-ptest \ |
| 15 | " |
| 16 | |
| 17 | RDEPENDS_${PN}-ptest += " \ |
| 18 | ${PYTHON_PN}-pytest \ |
| 19 | " |
| 20 | |
| 21 | do_install_ptest() { |
| 22 | cp -f ${S}/jsmin/test.py ${D}${PTEST_PATH}/ |
| 23 | } |