aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/python/python-setuptools_0.6c9.bb
blob: 93eb4855dc85ff25fa4c153eb37b48479e81cf22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages"
HOMEPAGE = "http://cheeseshop.python.org/pypi/setuptools"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "MIT"
SRCNAME = "setuptools"
PR = "ml2"
DEPENDS += "python"
DEPENDS_virtclass-native += "python-native"

SRC_URI = "\
  http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz\
  file://fix-log-usage.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"

inherit distutils

do_install_prepend() {
    install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
}

RDEPENDS_${PN} = "\
  python-distutils \
  python-compression \
"

SRC_URI[md5sum] = "3864c01d9c719c8924c455714492295e"
SRC_URI[sha256sum] = "e6190497301b6cb1484b9e6173723452c8df1b4cd9ea97af75c9589b1c34b3d8"

BBCLASSEXTEND = "native"

NATIVE_INSTALL_WORKS = "1"