diff options
Diffstat (limited to 'meta/recipes-devtools/python/python-setuptools_19.2.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-setuptools_19.2.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-setuptools_19.2.bb b/meta/recipes-devtools/python/python-setuptools_19.2.bb new file mode 100644 index 0000000000..404d301021 --- /dev/null +++ b/meta/recipes-devtools/python/python-setuptools_19.2.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | SUMMARY = "Downloads, builds, installs, upgrades, and uninstalls Python packages" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/setuptools" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Python-2.0 | ZPL-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://setup.py;beginline=78;endline=78;md5=8a314270dd7a8dbca741775415f1716e" | ||
6 | |||
7 | SRCNAME = "setuptools" | ||
8 | |||
9 | PROVIDES = "python-distribute" | ||
10 | |||
11 | DEPENDS += "python" | ||
12 | DEPENDS_class-native += "python-native" | ||
13 | |||
14 | inherit distutils | ||
15 | |||
16 | SRC_URI = "https://pypi.python.org/packages/source/s/setuptools/setuptools-${PV}.tar.gz" | ||
17 | SRC_URI[md5sum] = "78353b1f80375ca5e088f4b4627ffe03" | ||
18 | SRC_URI[sha256sum] = "f90ed8eb70b14b0594ba74e9de4ffca040c0ec8ee505cbf3570499467859f71a" | ||
19 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools" | ||
20 | |||
21 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
22 | |||
23 | |||
24 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages" | ||
25 | |||
26 | do_install_prepend() { | ||
27 | install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages | ||
28 | } | ||
29 | |||
30 | RDEPENDS_${PN} = "\ | ||
31 | python-stringold \ | ||
32 | python-email \ | ||
33 | python-shell \ | ||
34 | python-distutils \ | ||
35 | python-compression \ | ||
36 | python-pkgutil \ | ||
37 | python-plistlib \ | ||
38 | python-numbers \ | ||
39 | python-html \ | ||
40 | python-netserver \ | ||
41 | python-ctypes \ | ||
42 | python-subprocess \ | ||
43 | python-unittest \ | ||
44 | " | ||
45 | |||
46 | RDEPENDS_${PN}_class-native = "\ | ||
47 | python-distutils \ | ||
48 | python-compression \ | ||
49 | " | ||
50 | |||
51 | RREPLACES_${PN} = "python-distribute" | ||
52 | RPROVIDES_${PN} = "python-distribute" | ||
53 | RCONFLICTS_${PN} = "python-distribute" | ||
54 | |||
55 | BBCLASSEXTEND = "native nativesdk" | ||