poky/meta/recipes-devtools/python/python-setuptools_22.0.5.bb
Ming Liu bba1b911c8 Use PYTHON_SITEPACKAGES_DIR insted of hard-coded *site-packages*
For thoese recipes that are inheriting python*-dir.bbclass, there is
already a PYTHON_SITEPACKAGES_DIR present, use that definition replacing
redundant "${libdir}/python*/site-packages".

(From OE-Core rev: e7d842673952aa4aaa141f64958bc1344dbe8210)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-17 10:35:42 +01:00

39 lines
744 B
BlitzBasic

require python-setuptools.inc
PROVIDES = "python-distribute"
DEPENDS += "python"
DEPENDS_class-native += "python-native"
inherit distutils
DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"
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"