23 lines
518 B
BlitzBasic
23 lines
518 B
BlitzBasic
DESCRIPTION = "JavaScript minifier."
|
|
HOMEPAGE = "https://github.com/tikitu/jsmin/"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d"
|
|
|
|
inherit setuptools3 pypi ptest
|
|
SRC_URI[sha256sum] = "c0959a121ef94542e807a674142606f7e90214a2b3d1eb17300244bbb5cc2bfc"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
cp -f ${S}/jsmin/test.py ${D}${PTEST_PATH}/
|
|
}
|