From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pip: ChangeLog pip-1.2.ebuild |
Date: | Sun, 02 Sep 2012 02:50:03 |
Message-Id: | 20120902024950.8822B20F59@flycatcher.gentoo.org |
1 | radhermit 12/09/02 02:49:50 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pip-1.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha123/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.9 dev-python/pip/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/ChangeLog?rev=1.9&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/ChangeLog?rev=1.9&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/ChangeLog?r1=1.8&r2=1.9 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pip/ChangeLog,v |
20 | retrieving revision 1.8 |
21 | retrieving revision 1.9 |
22 | diff -u -r1.8 -r1.9 |
23 | --- ChangeLog 6 Jun 2012 05:18:30 -0000 1.8 |
24 | +++ ChangeLog 2 Sep 2012 02:49:50 -0000 1.9 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/pip |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/ChangeLog,v 1.8 2012/06/06 05:18:30 heroxbd Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/ChangeLog,v 1.9 2012/09/02 02:49:50 radhermit Exp $ |
30 | + |
31 | +*pip-1.2 (02 Sep 2012) |
32 | + |
33 | + 02 Sep 2012; Tim Harder <radhermit@g.o> +pip-1.2.ebuild: |
34 | + Version bump. |
35 | |
36 | 06 Jun 2012; Benda Xu <heroxbd@g.o> pip-1.1.ebuild: |
37 | keyword ~amd64-linux and ~x86-linux |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pip/pip-1.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/pip-1.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/pip-1.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pip-1.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pip/pip-1.2.ebuild,v 1.1 2012/09/02 02:49:50 radhermit Exp $ |
51 | |
52 | EAPI="4" |
53 | PYTHON_DEPEND="*" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | |
56 | inherit bash-completion-r1 distutils eutils |
57 | |
58 | DESCRIPTION="Installs python packages -- replacement for easy_install" |
59 | HOMEPAGE="http://www.pip-installer.org/ http://pypi.python.org/pypi/pip/" |
60 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
61 | |
62 | LICENSE="MIT" |
63 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
64 | SLOT="0" |
65 | IUSE="zsh-completion" |
66 | |
67 | RDEPEND="dev-python/setuptools" |
68 | DEPEND="${RDEPEND}" |
69 | |
70 | # Tests require a couple libraries not yet in the tree, aren't bundled with |
71 | # the default tarball from pypi, and have a couple failures anyway |
72 | RESTRICT="test" |
73 | |
74 | DOCS="AUTHORS.txt docs/*.txt" |
75 | |
76 | src_prepare() { |
77 | epatch "${FILESDIR}"/${PN}-1.0.1-unversioned.patch |
78 | distutils_src_prepare |
79 | } |
80 | |
81 | src_install() { |
82 | distutils_src_install |
83 | COMPLETION="${T}/completion.tmp" |
84 | |
85 | "$(PYTHON -f)" pip/runner.py completion --bash > "${COMPLETION}" || die |
86 | newbashcomp "${COMPLETION}" ${PN} |
87 | |
88 | if use zsh-completion ; then |
89 | "$(PYTHON -f)" pip/runner.py completion --zsh > "${COMPLETION}" || die |
90 | insinto /usr/share/zsh/site-functions |
91 | newins "${COMPLETION}" _pip |
92 | fi |
93 | } |