summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb b/meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb
new file mode 100644
index 0000000000..733c9639c7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "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] = "88fc1bd6033a47c5911dbcada7d279c7a8b7ad0841909590f6a742c20c4d2e08"
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}