diff options
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python-distribute_0.6.32.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-distribute_0.6.32.bb b/meta/recipes-devtools/python/python-distribute_0.6.32.bb index 58bb8b4545..70001457e0 100644 --- a/meta/recipes-devtools/python/python-distribute_0.6.32.bb +++ b/meta/recipes-devtools/python/python-distribute_0.6.32.bb | |||
@@ -39,6 +39,12 @@ do_install_append() { | |||
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 | } | 40 | } |
41 | 41 | ||
42 | do_install_append_class-nativesdk() { | ||
43 | sed -i -e '1s|^#!.*|#!/usr/bin/env python|' ${D}${PYTHON_SITEPACKAGES_DIR}/distribute-${PV}-py${PYTHON_BASEVERSION}.egg/setuptools/tests/test_resources.py | ||
44 | sed -i -e '1s|^#!.*|#!/usr/bin/env python|' ${D}${bindir}/easy_install | ||
45 | sed -i -e '1s|^#!.*|#!/usr/bin/env python|' ${D}${bindir}/easy_install-${PYTHON_BASEVERSION} | ||
46 | } | ||
47 | |||
42 | RDEPENDS_${PN} = "\ | 48 | RDEPENDS_${PN} = "\ |
43 | python-distutils \ | 49 | python-distutils \ |
44 | python-compression \ | 50 | python-compression \ |
@@ -46,4 +52,4 @@ RDEPENDS_${PN} = "\ | |||
46 | 52 | ||
47 | RPROVIDES_${PN} += "python-setuptools" | 53 | RPROVIDES_${PN} += "python-setuptools" |
48 | 54 | ||
49 | BBCLASSEXTEND = "native" | 55 | BBCLASSEXTEND = "native nativesdk" |