Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pip/
Date: Thu, 25 Feb 2016 18:56:58
Message-Id: 1456425710.0a15730f9157f05d50f77b67add2765a96706064.jlec@gentoo
1 commit: 0a15730f9157f05d50f77b67add2765a96706064
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 25 18:41:50 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 25 18:41:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a15730f
7
8 dev-python/pip: Stop unbundling due to continuos problems coming up
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/pip/pip-8.0.2-r2.ebuild | 70 ++++++++++++++++++++++++++++++++++++++
14 1 file changed, 70 insertions(+)
15
16 diff --git a/dev-python/pip/pip-8.0.2-r2.ebuild b/dev-python/pip/pip-8.0.2-r2.ebuild
17 new file mode 100644
18 index 0000000..9756daa
19 --- /dev/null
20 +++ b/dev-python/pip/pip-8.0.2-r2.ebuild
21 @@ -0,0 +1,70 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
29 +PYTHON_REQ_USE="threads(+)"
30 +
31 +inherit bash-completion-r1 distutils-r1
32 +
33 +DESCRIPTION="Installs python packages -- replacement for easy_install"
34 +HOMEPAGE="https://pip.pypa.io/ https://pypi.python.org/pypi/pip/ https://github.com/pypa/pip/"
35 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
36 +
37 +LICENSE="MIT"
38 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
39 +SLOT="0"
40 +
41 +# Check pip/_vendor/vendor.txt for this
42 +#VENDOR_DEPEND="
43 +# >=dev-python/distlib-0.2.1[${PYTHON_USEDEP}]
44 +# >=dev-python/html5lib-0.9999999[${PYTHON_USEDEP}]
45 +# >=dev-python/six-1.9[${PYTHON_USEDEP}]
46 +# >=dev-python/colorama-0.3.6[${PYTHON_USEDEP}]
47 +# >=dev-python/requests-2.9.1-r2[${PYTHON_USEDEP}]
48 +# >=dev-python/CacheControl-0.11.5[${PYTHON_USEDEP}]
49 +# >=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}]
50 +# >=dev-python/progress-1.2[${PYTHON_USEDEP}]
51 +# >=dev-python/packaging-16.0[${PYTHON_USEDEP}]
52 +# >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}]
53 +# >=dev-python/pyparsing-2.0.7[${PYTHON_USEDEP}]
54 +# virtual/python-ipaddress[${PYTHON_USEDEP}]
55 +#"
56 +# https://github.com/pypa/pip/issues/3057
57 +#RDEPEND="${VENDOR_DEPEND}
58 +# >=dev-python/setuptools-19.2[${PYTHON_USEDEP}]
59 +# <dev-python/setuptools-19.4[${PYTHON_USEDEP}]
60 +#"
61 +#DEPEND="${RDEPEND}"
62 +
63 +# required test data isn't bundled with the tarball
64 +RESTRICT="test"
65 +
66 +#PATCHES=(
67 +# "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch
68 +# "${FILESDIR}"/${PN}-8.0.0-unbundle.patch
69 +# )
70 +
71 +#python_prepare_all() {
72 +# mv pip/_vendor/__init__.py "${T}" || die
73 +# rm -r pip/_vendor/* || die
74 +# mv "${T}"/__init__.py pip/_vendor/__init__.py || die
75 +#
76 +# distutils-r1_python_prepare_all
77 +#}
78 +
79 +python_install_all() {
80 + local DOCS=( AUTHORS.txt docs/*.rst )
81 + distutils-r1_python_install_all
82 +
83 + COMPLETION="${T}"/completion.tmp
84 +
85 + "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die
86 + newbashcomp "${COMPLETION}" ${PN}
87 +
88 + "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die
89 + insinto /usr/share/zsh/site-functions
90 + newins "${COMPLETION}" _pip
91 +}