From ea1d4e87e02da9c1a33e83fe7898d42b742bad60 Mon Sep 17 00:00:00 2001 From: wangmy Date: Wed, 3 Aug 2022 16:44:05 +0800 Subject: python3-scons: upgrade 4.3.0 -> 4.4.0 (From OE-Core rev: 86b22e0ea282b466e1d6107284f468ffe39b76fc) Signed-off-by: Wang Mingyu Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- .../recipes-devtools/python/python3-scons_4.3.0.bb | 36 ---------------------- .../recipes-devtools/python/python3-scons_4.4.0.bb | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-scons_4.3.0.bb create mode 100644 meta/recipes-devtools/python/python3-scons_4.4.0.bb diff --git a/meta/recipes-devtools/python/python3-scons_4.3.0.bb b/meta/recipes-devtools/python/python3-scons_4.3.0.bb deleted file mode 100644 index ae91d980fe..0000000000 --- a/meta/recipes-devtools/python/python3-scons_4.3.0.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "Software Construction tool (make/autotools replacement)" -HOMEPAGE = "https://github.com/SCons/scons" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" - -SRC_URI += " file://0001-Fix-man-page-installation.patch" -SRC_URI[sha256sum] = "d47081587e3675cc168f1f54f0d74a69b328a2fc90ec4feb85f728677419b879" - -PYPI_PACKAGE = "SCons" - -inherit pypi setuptools3 - -RDEPENDS:${PN}:class-target = "\ - python3-core \ - python3-compression \ - python3-fcntl \ - python3-importlib-metadata \ - python3-io \ - python3-json \ - python3-shell \ - python3-pickle \ - python3-pkg-resources \ - python3-pprint \ - " - -do_install:append() { - install -d ${D}${mandir}/man1 - mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/ -} - -do_install:append:class-native() { - create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' -} - -BBCLASSEXTEND = "native" diff --git a/meta/recipes-devtools/python/python3-scons_4.4.0.bb b/meta/recipes-devtools/python/python3-scons_4.4.0.bb new file mode 100644 index 0000000000..ad1149597f --- /dev/null +++ b/meta/recipes-devtools/python/python3-scons_4.4.0.bb @@ -0,0 +1,36 @@ +SUMMARY = "Software Construction tool (make/autotools replacement)" +HOMEPAGE = "https://github.com/SCons/scons" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" + +SRC_URI += " file://0001-Fix-man-page-installation.patch" +SRC_URI[sha256sum] = "7703c4e9d2200b4854a31800c1dbd4587e1fa86e75f58795c740bcfa7eca7eaa" + +PYPI_PACKAGE = "SCons" + +inherit pypi setuptools3 + +RDEPENDS:${PN}:class-target = "\ + python3-core \ + python3-compression \ + python3-fcntl \ + python3-importlib-metadata \ + python3-io \ + python3-json \ + python3-shell \ + python3-pickle \ + python3-pkg-resources \ + python3-pprint \ + " + +do_install:append() { + install -d ${D}${mandir}/man1 + mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/ +} + +do_install:append:class-native() { + create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf