poky/meta/recipes-devtools/python/python-setuptools_19.4.bb
Alejandro Hernandez a23a50ee01 python-setuptools: Add python-compile on RDEPENDS
When trying to install packages using python-setuptools, compilation
may fail complaining about the py_compile module not existing, this
presented itself when installing pyephem for example, this patch
adds python-compile to setuptools RDEPENDS to fix the issue.

[YOCTO 9009]

(From OE-Core rev: 1348fe26a182330475ca163e87205dc162fb3f6a)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:33:39 +00:00

39 lines
755 B
BlitzBasic

require python-setuptools.inc
PROVIDES = "python-distribute"
DEPENDS += "python"
DEPENDS_class-native += "python-native"
inherit distutils
DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
RDEPENDS_${PN} = "\
python-stringold \
python-email \
python-shell \
python-distutils \
python-compression \
python-pkgutil \
python-plistlib \
python-numbers \
python-html \
python-netserver \
python-ctypes \
python-subprocess \
python-unittest \
python-compile \
"
RDEPENDS_${PN}_class-native = "\
python-distutils \
python-compression \
"
RREPLACES_${PN} = "python-distribute"
RPROVIDES_${PN} = "python-distribute"
RCONFLICTS_${PN} = "python-distribute"
BBCLASSEXTEND = "native nativesdk"