From e6bf249d30992f845df35c4cbb58c30fb9746445 Mon Sep 17 00:00:00 2001 From: Zoltán Böszörményi Date: Tue, 12 Oct 2021 12:04:51 +0200 Subject: python3-jsmin: Upgrade to version 3.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-jsmin_2.2.2.bb | 23 ---------------------- .../recipes-devtools/python/python3-jsmin_3.0.0.bb | 22 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-jsmin_3.0.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb b/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb deleted file mode 100644 index 1a0578eddd..0000000000 --- a/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb +++ /dev/null @@ -1,23 +0,0 @@ -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[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd" -SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b" - -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}/ -} 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 @@ +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}/ +} -- cgit v1.2.3-54-g00ecf