python-setuptools: Remove its provided by python-distribute

Use python-distribute-native in packagegroup-toolset-native

Also fixes warnings like

WARNING: The recipe python-setuptools is trying to install files into a
shared area when those files already exist. Those files and their
manifest location are:

/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/setuptools.pth
    Matched in manifest-qemux86-64-python-distribute

/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/site.pyc
    Matched in manifest-qemux86-64-python-distribute

/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/site.py
    Matched in manifest-qemux86-64-python-distribute

Conflicts:
	meta/recipes-devtools/python/python-setuptools_1.4.bb

(From OE-Core rev: ddb0c70a7d4d51a1f404c194a562325137222146)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2014-01-29 20:00:14 -08:00
committed by Richard Purdie
parent aacfd003d5
commit ad9b3e2614
4 changed files with 9 additions and 45 deletions

View File

@@ -12,6 +12,9 @@ DEPENDS_virtclass-native += "python-native"
SRC_URI = " \
http://pypi.python.org/packages/source/d/distribute/${SRCNAME}-${PV}.tar.gz \
"
SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
S = "${WORKDIR}/${SRCNAME}-${PV}"
# http://python-distribute.org/distribute_setup.py
@@ -41,7 +44,6 @@ RDEPENDS_${PN} = "\
python-compression \
"
SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
RPROVIDES_${PN} += "python-setuptools"
BBCLASSEXTEND = "native"

View File

@@ -1,40 +0,0 @@
SUMMARY = "Downloads, builds, installs, upgrades, and uninstalls Python packages"
HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools"
SECTION = "devel/python"
LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://setup.py;beginline=107;endline=107;md5=8a314270dd7a8dbca741775415f1716e"
SRCNAME = "setuptools"
DEPENDS += "python"
DEPENDS_class-native += "python-native"
SRC_URI = "\
http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz\
"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
do_install_prepend() {
install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
}
RDEPENDS_${PN} = "\
python-stringold \
python-email \
python-shell \
python-distutils \
python-compression \
"
RDEPENDS_${PN}_class-native = "\
python-distutils \
python-compression \
"
SRC_URI[md5sum] = "5710464bc5a61d75f5087f15ce63cfe0"
SRC_URI[sha256sum] = "75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39"
BBCLASSEXTEND = "native"

View File

@@ -12,6 +12,9 @@ DEPENDS_virtclass-native += "python3-native"
SRC_URI = " \
http://pypi.python.org/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
"
SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
S = "${WORKDIR}/${SRCNAME}-${PV}"
# http://python-distribute.org/distribute_setup.py
@@ -41,7 +44,6 @@ RDEPENDS_${PN} = "\
python3-compression \
"
SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
RPROVIDES_${PN} += "python3-setuptools"
BBCLASSEXTEND = "native"