]> code.ossystems Code Review - openembedded-core.git/commitdiff
python-setuptools: rationalise dependencies
authorRoss Burton <ross.burton@intel.com>
Thu, 12 Jul 2018 20:00:47 +0000 (21:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2018 09:09:29 +0000 (10:09 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python-setuptools.inc

index b121b2ab3c87d38a8c4467c78d02d4e4118ee8d8..ab1c013ef1f8203a9805fc29067e1ff128e630e1 100644 (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}
 }