summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-08-27 08:57:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-28 15:12:44 +0100
commita9c628d0337a8b47e26e5314a8dea0409abcf2df (patch)
tree06a21ac6b0195c4bcdf36cfc4c1053ec86e04de6 /meta/recipes-devtools/python
parentbdf14c7dc06054efdf626ad425bda24388e6019e (diff)
downloadpoky-a9c628d0337a8b47e26e5314a8dea0409abcf2df.tar.gz
python3-distribute: fix interpreter
It should use "/usr/bin/env python3" rather than python. (From OE-Core rev: 5cf12b20c08d927af8b1a4e2997d325a030c2269) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3-distribute_0.6.32.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
index 573096cb1c..0ef3a8762f 100644
--- a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
+++ b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
@@ -37,6 +37,8 @@ do_install_append() {
37 rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth 37 rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
38 mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install 38 mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
39 echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth 39 echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
40 sed -i -e '1s|^#!.*python|#!/usr/bin/env python3|' \
41 ${D}${PYTHON_SITEPACKAGES_DIR}/distribute-${PV}-py${PYTHON_BASEVERSION}.egg/setuptools/tests/test_resources.py
40} 42}
41 43
42RDEPENDS_${PN} = "\ 44RDEPENDS_${PN} = "\