1
0
mirror of https://git.yoctoproject.org/poky synced 2026-04-20 11:28:58 +00:00

python-setuptools: rationalise dependencies

There's no need to do native- and nativesdk-specific DEPENDS as the
BBCLASSEXTENDs handles those renames for us.

There's no need to have a subset of RDEPENDS for class-native as all with the
new manifest the python-native PROVIDES are complete.

(From OE-Core rev: 3e3c5cc579482041f0233e3e03ace736b62fb364)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2018-07-12 21:00:47 +01:00
committed by Richard Purdie
parent 30ea610d04
commit d3c639f5c9

View File

@@ -12,8 +12,6 @@ SRC_URI[md5sum] = "260630ae1a64bafa39dcc53404d63829"
SRC_URI[sha256sum] = "012adb8e25fbfd64c652e99e7bab58799a3aaf05d39ab38561f69190a909015f"
DEPENDS += "${PYTHON_PN}"
DEPENDS_class-native = "${PYTHON_PN}-native"
DEPENDS_class-nativesdk = "nativesdk-${PYTHON_PN}"
DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR} \
--script-dir=${bindir}"
@@ -35,12 +33,6 @@ RDEPENDS_${PN} = "\
${PYTHON_PN}-unittest \
${PYTHON_PN}-xml \
"
RDEPENDS_${PN}_class-native = "\
${PYTHON_PN}-compression \
${PYTHON_PN}-distutils \
"
do_install_prepend() {
install -d ${D}${PYTHON_SITEPACKAGES_DIR}
}