mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Match only the first line and match even if the line says python3. Otherwise we end up with multiple 3s at the end after multiple invocations of do_install on same source. (From OE-Core rev: 144c6c7183dd2b32c65edf325038eb84683a28f8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
800 B
BlitzBasic
30 lines
800 B
BlitzBasic
SUMMARY = "Software Construction tool (make/autotools replacement)"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=37bb53a08e6beaea0c90e7821d731284"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/scons/scons-${PV}.tar.gz"
|
|
SRC_URI[md5sum] = "9f9c163e8bd48cf8cd92f03e85ca6395"
|
|
SRC_URI[sha256sum] = "df676f23dc6d4bfa384fc389d95dcd21ab907e6349d4c848958ba4befb73c73e"
|
|
|
|
S = "${WORKDIR}/scons-${PV}"
|
|
|
|
UPSTREAM_CHECK_URI = "http://scons.org/pages/download.html"
|
|
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
|
|
|
|
inherit setuptools3
|
|
|
|
do_install_prepend() {
|
|
sed -i -e "1s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/script/*
|
|
}
|
|
|
|
RDEPENDS_${PN} = "\
|
|
python3-core \
|
|
python3-fcntl \
|
|
python3-io \
|
|
python3-json \
|
|
python3-shell \
|
|
python3-pickle \
|
|
python3-pprint \
|
|
"
|