mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-23 12:38:19 +00:00
python3-jsmin: Upgrade to version 3.0.0
setuptools 58 removed support for "use_2to3" and version 2.2.2 fails to build as a result. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
committed by
Khem Raj
parent
a4724fc450
commit
e6bf249d30
22
meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb
Normal file
22
meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
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] = "88fc1bd6033a47c5911dbcada7d279c7a8b7ad0841909590f6a742c20c4d2e08"
|
||||
|
||||
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}/
|
||||
}
|
||||
Reference in New Issue
Block a user