blob: 1de2b2e9277d45afbcb8e581dcc57582dcae27eb [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Downloads, builds, installs, upgrades, and uninstalls Python packages"
2HOMEPAGE = "https://pypi.python.org/pypi/setuptools"
3SECTION = "devel/python"
4LICENSE = "Python-2.0 | ZPL-2.0"
5LIC_FILES_CHKSUM = "file://setup.py;beginline=78;endline=78;md5=8a314270dd7a8dbca741775415f1716e"
6
7SRCNAME = "setuptools"
8
9PROVIDES = "python-distribute"
10
11DEPENDS += "python"
12DEPENDS_class-native += "python-native"
13
14inherit distutils
15
16SRC_URI = "https://pypi.python.org/packages/source/s/setuptools/setuptools-${PV}.tar.gz"
17SRC_URI[md5sum] = "52b4e48939ef311d7204f8fe940764f4"
18SRC_URI[sha256sum] = "0994a58df27ea5dc523782a601357a2198b7493dcc99a30d51827a23585b5b1d"
19
20S = "${WORKDIR}/${SRCNAME}-${PV}"
21
22
23DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
24
25do_install_prepend() {
26 install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
27}
28
29RDEPENDS_${PN} = "\
30 python-stringold \
31 python-email \
32 python-shell \
33 python-distutils \
34 python-compression \
35"
36
37RDEPENDS_${PN}_class-native = "\
38 python-distutils \
39 python-compression \
40"
41
42RREPLACES_${PN} = "python-distribute"
43RPROVIDES_${PN} = "python-distribute"
44RCONFLICTS_${PN} = "python-distribute"
45
46BBCLASSEXTEND = "native nativesdk"