summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2015-05-14 16:57:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-08 17:34:04 +0100
commit09fd6c89684714d74ddfb14dec2b45a75facb2ab (patch)
tree510f509d234b9240c57f932b452c1a985acdc59f /meta/recipes-devtools
parentc4553e07cdbec5c29a74a43e0c5fdb2bb5583f7a (diff)
downloadpoky-09fd6c89684714d74ddfb14dec2b45a75facb2ab.tar.gz
python3-pip: Adds recipe for python3-pip
PIP is installed by default since python 3.4, due to issues with the autobuilders, its default installation had to be disabled, this creates a recipe for it, it brings a lot of new dependencies so it is chosen not to be installed by default along with python3-core. [YOCTO #7762] (From OE-Core rev: 7c6edfbc09efb64fd9ce9f56b1e1a1b7a6bdeef0) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3-pip_6.1.1.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pip_6.1.1.bb b/meta/recipes-devtools/python/python3-pip_6.1.1.bb
new file mode 100644
index 0000000000..7bfc30e2ae
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pip_6.1.1.bb
@@ -0,0 +1,40 @@
1SUMMARY = "The PyPA recommended tool for installing Python packages"
2sHOMEPAGEsss = "https://pypi.python.org/pypi/pip"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=45665b53032c02b35e29ddab8e61fa91"
6
7SRCNAME = "pip"
8DEPENDS += "python3 python3-setuptools-native"
9
10SRC_URI = " \
11 http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
12"
13SRC_URI[md5sum] = "6b19e0a934d982a5a4b798e957cb6d45"
14SRC_URI[sha256sum] = "89f3b626d225e08e7f20d85044afa40f612eb3284484169813dc2d0631f2a556"
15
16S = "${WORKDIR}/${SRCNAME}-${PV}"
17
18inherit distutils3
19
20DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
21
22do_install_prepend() {
23 install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
24}
25
26# Use setuptools site.py instead, avoid shared state issue
27do_install_append() {
28 rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/site.py
29 rm ${D}/${libdir}/${PYTHON_DIR}/site-packages/__pycache__/site.cpython-34.pyc
30}
31
32RDEPENDS_${PN} = "\
33 python3-compile \
34 python3-io \
35 python3-json \
36 python3-netserver \
37 python3-setuptools \
38 python3-unixadmin \
39 python3-xmlrpc \
40"