diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2019-06-07 16:47:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-08 16:01:41 +0100 |
commit | 9a0549969d757c1d6eae5ca48776a83cb909c58a (patch) | |
tree | 8a8b37e88b905dcbd2324547f0deabc58e92784a | |
parent | 3ef8d2175bf56290c8a96e1d13ef4a1952d86c42 (diff) | |
download | poky-9a0549969d757c1d6eae5ca48776a83cb909c58a.tar.gz |
python3-scons-{native}: add recipe for v3.0.5
SCons has supported python 3 since v3.0.0
https://scons.org/tag/releases.html
Fix shebangs in scripts
[YOCTO #13381]
(From OE-Core rev: 1873f777aeddfbbf3ce06e93df3fa5318decb7b7)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/maintainers.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-scons-native_3.0.5.bb | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-scons_3.0.5.bb | 29 |
3 files changed, 39 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index d6f66510e3..40c93107c8 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -604,6 +604,8 @@ RECIPE_MAINTAINER_pn-python3-pip = "Derek Straka <derek@asterius.io>" | |||
604 | RECIPE_MAINTAINER_pn-python3-pycairo = "Derek Straka <derek@asterius.io>" | 604 | RECIPE_MAINTAINER_pn-python3-pycairo = "Derek Straka <derek@asterius.io>" |
605 | RECIPE_MAINTAINER_pn-python3-pygments = "Derek Straka <derek@asterius.io>" | 605 | RECIPE_MAINTAINER_pn-python3-pygments = "Derek Straka <derek@asterius.io>" |
606 | RECIPE_MAINTAINER_pn-python3-pygobject = "Derek Straka <derek@asterius.io>" | 606 | RECIPE_MAINTAINER_pn-python3-pygobject = "Derek Straka <derek@asterius.io>" |
607 | RECIPE_MAINTAINER_pn-python3-scons = "Tim Orling <timothy.t.orling@linux.intel.com>" | ||
608 | RECIPE_MAINTAINER_pn-python3-scons-native = "Tim Orling <timothy.t.orling@linux.intel.com>" | ||
607 | RECIPE_MAINTAINER_pn-python3-setuptools = "Derek Straka <derek@asterius.io>" | 609 | RECIPE_MAINTAINER_pn-python3-setuptools = "Derek Straka <derek@asterius.io>" |
608 | RECIPE_MAINTAINER_pn-python3-six = "Derek Straka <derek@asterius.io>" | 610 | RECIPE_MAINTAINER_pn-python3-six = "Derek Straka <derek@asterius.io>" |
609 | RECIPE_MAINTAINER_pn-python3-smmap = "Derek Straka <derek@asterius.io>" | 611 | RECIPE_MAINTAINER_pn-python3-smmap = "Derek Straka <derek@asterius.io>" |
diff --git a/meta/recipes-devtools/python/python3-scons-native_3.0.5.bb b/meta/recipes-devtools/python/python3-scons-native_3.0.5.bb new file mode 100644 index 0000000000..5cd5956625 --- /dev/null +++ b/meta/recipes-devtools/python/python3-scons-native_3.0.5.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require python3-scons_${PV}.bb | ||
2 | inherit native python3native | ||
3 | DEPENDS = "python3-native" | ||
4 | RDEPENDS_${PN} = "" | ||
5 | |||
6 | do_install_append() { | ||
7 | create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' | ||
8 | } | ||
diff --git a/meta/recipes-devtools/python/python3-scons_3.0.5.bb b/meta/recipes-devtools/python/python3-scons_3.0.5.bb new file mode 100644 index 0000000000..91e4a945e3 --- /dev/null +++ b/meta/recipes-devtools/python/python3-scons_3.0.5.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "Software Construction tool (make/autotools replacement)" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=37bb53a08e6beaea0c90e7821d731284" | ||
5 | |||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/scons/scons-${PV}.tar.gz" | ||
7 | SRC_URI[md5sum] = "9f9c163e8bd48cf8cd92f03e85ca6395" | ||
8 | SRC_URI[sha256sum] = "df676f23dc6d4bfa384fc389d95dcd21ab907e6349d4c848958ba4befb73c73e" | ||
9 | |||
10 | S = "${WORKDIR}/scons-${PV}" | ||
11 | |||
12 | UPSTREAM_CHECK_URI = "http://scons.org/pages/download.html" | ||
13 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" | ||
14 | |||
15 | inherit setuptools3 | ||
16 | |||
17 | do_install_prepend() { | ||
18 | sed -i -e "s:/usr/bin/env python:/usr/bin/env python3:g" ${S}/script/* | ||
19 | } | ||
20 | |||
21 | RDEPENDS_${PN} = "\ | ||
22 | python3-core \ | ||
23 | python3-fcntl \ | ||
24 | python3-io \ | ||
25 | python3-json \ | ||
26 | python3-shell \ | ||
27 | python3-pickle \ | ||
28 | python3-pprint \ | ||
29 | " | ||