blob: 51b17066ee307d6a3f3b77aa41c11c4379976939 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001DESCRIPTION = "JavaScript minifier."
2HOMEPAGE = "https://github.com/tikitu/jsmin/"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d"
6
7inherit setuptools3 pypi ptest
8SRC_URI[sha256sum] = "c0959a121ef94542e807a674142606f7e90214a2b3d1eb17300244bbb5cc2bfc"
9
10BBCLASSEXTEND = "native nativesdk"
11
12SRC_URI += " \
13 file://run-ptest \
14"
15
16RDEPENDS:${PN}-ptest += " \
17 ${PYTHON_PN}-pytest \
18"
19
20do_install_ptest() {
21 cp -f ${S}/jsmin/test.py ${D}${PTEST_PATH}/
22}