diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/python/python-setuptools.inc | 21 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python-setuptools_19.2.bb | 55 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python-setuptools_19.4.bb | 37 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-setuptools_19.4.bb (renamed from meta/recipes-devtools/python/python3-setuptools_19.2.bb) | 23 |
4 files changed, 60 insertions, 76 deletions
diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc new file mode 100644 index 0000000000..0917e88ab6 --- /dev/null +++ b/meta/recipes-devtools/python/python-setuptools.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/setuptools" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "PSF | ZPL-2.0" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://setup.py;beginline=78;endline=78;md5=8a314270dd7a8dbca741775415f1716e" | ||
7 | |||
8 | SRCNAME = "setuptools" | ||
9 | |||
10 | SRC_URI = "http://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
11 | |||
12 | SRC_URI[md5sum] = "c5a7d90c1e0acf8c4ec5c2bf31bc25b5" | ||
13 | SRC_URI[sha256sum] = "214bf29933f47cf25e6faa569f710731728a07a19cae91ea64f826051f68a8cf" | ||
14 | |||
15 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools" | ||
16 | |||
17 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
18 | |||
19 | do_install_prepend() { | ||
20 | install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages | ||
21 | } | ||
diff --git a/meta/recipes-devtools/python/python-setuptools_19.2.bb b/meta/recipes-devtools/python/python-setuptools_19.2.bb deleted file mode 100644 index 404d301021..0000000000 --- a/meta/recipes-devtools/python/python-setuptools_19.2.bb +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
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" | ||
diff --git a/meta/recipes-devtools/python/python-setuptools_19.4.bb b/meta/recipes-devtools/python/python-setuptools_19.4.bb new file mode 100644 index 0000000000..86bbebf081 --- /dev/null +++ b/meta/recipes-devtools/python/python-setuptools_19.4.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | require python-setuptools.inc | ||
2 | |||
3 | PROVIDES = "python-distribute" | ||
4 | |||
5 | DEPENDS += "python" | ||
6 | DEPENDS_class-native += "python-native" | ||
7 | |||
8 | inherit distutils | ||
9 | |||
10 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages" | ||
11 | |||
12 | RDEPENDS_${PN} = "\ | ||
13 | python-stringold \ | ||
14 | python-email \ | ||
15 | python-shell \ | ||
16 | python-distutils \ | ||
17 | python-compression \ | ||
18 | python-pkgutil \ | ||
19 | python-plistlib \ | ||
20 | python-numbers \ | ||
21 | python-html \ | ||
22 | python-netserver \ | ||
23 | python-ctypes \ | ||
24 | python-subprocess \ | ||
25 | python-unittest \ | ||
26 | " | ||
27 | |||
28 | RDEPENDS_${PN}_class-native = "\ | ||
29 | python-distutils \ | ||
30 | python-compression \ | ||
31 | " | ||
32 | |||
33 | RREPLACES_${PN} = "python-distribute" | ||
34 | RPROVIDES_${PN} = "python-distribute" | ||
35 | RCONFLICTS_${PN} = "python-distribute" | ||
36 | |||
37 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-devtools/python/python3-setuptools_19.2.bb b/meta/recipes-devtools/python/python3-setuptools_19.4.bb index bb5798229f..fb2931c3f2 100644 --- a/meta/recipes-devtools/python/python3-setuptools_19.2.bb +++ b/meta/recipes-devtools/python/python3-setuptools_19.4.bb | |||
@@ -1,32 +1,13 @@ | |||
1 | SUMMARY = "Download, build, install, upgrade, and uninstall Python packages" | 1 | require python-setuptools.inc |
2 | HOMEPAGE = "http://packages.python.org/setuptools" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "PSF" | ||
5 | LIC_FILES_CHKSUM = "file://setup.py;beginline=78;endline=78;md5=8a314270dd7a8dbca741775415f1716e" | ||
6 | 2 | ||
7 | SRCNAME = "setuptools" | ||
8 | DEPENDS += "python3" | 3 | DEPENDS += "python3" |
9 | DEPENDS_class-native += "python3-native" | 4 | DEPENDS_class-native += "python3-native" |
10 | 5 | ||
11 | SRC_URI = " \ | ||
12 | http://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | ||
13 | " | ||
14 | SRC_URI[md5sum] = "78353b1f80375ca5e088f4b4627ffe03" | ||
15 | SRC_URI[sha256sum] = "f90ed8eb70b14b0594ba74e9de4ffca040c0ec8ee505cbf3570499467859f71a" | ||
16 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools" | ||
17 | |||
18 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
19 | |||
20 | inherit distutils3 | 6 | inherit distutils3 |
21 | 7 | ||
22 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages" | 8 | DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages" |
23 | 9 | ||
24 | do_install_prepend() { | 10 | # The installer puts the wrong path in the setuptools.pth file. Correct it. |
25 | install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages | ||
26 | } | ||
27 | # | ||
28 | # The installer puts the wrong path in the setuptools.pth file. Correct it. | ||
29 | # | ||
30 | do_install_append() { | 11 | do_install_append() { |
31 | rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth | 12 | rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth |
32 | mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install | 13 | mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install |