Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pip: metadata.xml pip-1.0.1.ebuild ChangeLog
Date: Tue, 31 May 2011 11:45:50
Message-Id: 20110531114536.1F36220054@flycatcher.gentoo.org
1 radhermit 11/05/31 11:45:36
2
3 Added: metadata.xml pip-1.0.1.ebuild ChangeLog
4 Log:
5 Initial import from sunrise (bug #317791). Thanks to Michail Denev for the initial ebuild work.
6
7 (Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-python/pip/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>python</herd>
21 </pkgmetadata>
22
23
24
25 1.1 dev-python/pip/pip-1.0.1.ebuild
26
27 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/pip-1.0.1.ebuild?rev=1.1&view=markup
28 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/pip-1.0.1.ebuild?rev=1.1&content-type=text/plain
29
30 Index: pip-1.0.1.ebuild
31 ===================================================================
32 # Copyright 1999-2011 Gentoo Foundation
33 # Distributed under the terms of the GNU General Public License v2
34 # $Header: /var/cvsroot/gentoo-x86/dev-python/pip/pip-1.0.1.ebuild,v 1.1 2011/05/31 11:45:36 radhermit Exp $
35
36 EAPI="3"
37 PYTHON_DEPEND="*"
38 SUPPORT_PYTHON_ABIS="1"
39
40 inherit bash-completion distutils eutils
41
42 DESCRIPTION="Installs python packages -- replacement for easy_install"
43 HOMEPAGE="http://www.pip-installer.org/ http://pypi.python.org/pypi/pip/"
44 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45
46 LICENSE="MIT"
47 KEYWORDS="~amd64 ~x86"
48 SLOT="0"
49 IUSE="bash-completion zsh-completion"
50
51 RDEPEND="dev-python/setuptools"
52 DEPEND="${RDEPEND}"
53
54 # Tests require a couple libraries not yet in the tree, aren't bundled with
55 # the default tarball from pypi, and have a couple failures anyway
56 RESTRICT="test"
57
58 DOCS="docs/configuration.txt docs/how-to-contribute.txt docs/index.txt
59 docs/news.txt docs/requirement-format.txt"
60
61 src_prepare() {
62 epatch "${FILESDIR}"/${P}-unversioned.patch
63 distutils_src_prepare
64 }
65
66 src_install() {
67 distutils_src_install
68 COMPLETION="${T}/completion.tmp"
69
70 if use bash-completion ; then
71 "$(PYTHON -f)" pip/runner.py completion --bash > "${COMPLETION}" || die
72 dobashcompletion "${COMPLETION}" ${PN}
73 fi
74
75 if use zsh-completion ; then
76 "$(PYTHON -f)" pip/runner.py completion --zsh > "${COMPLETION}" || die
77 insinto /usr/share/zsh/site-functions
78 newins "${COMPLETION}" _pip || die
79 fi
80 }
81
82
83
84 1.1 dev-python/pip/ChangeLog
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/ChangeLog?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pip/ChangeLog?rev=1.1&content-type=text/plain
88
89 Index: ChangeLog
90 ===================================================================
91 # ChangeLog for dev-python/pip
92 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
93 # $Header: /var/cvsroot/gentoo-x86/dev-python/pip/ChangeLog,v 1.1 2011/05/31 11:45:36 radhermit Exp $
94
95 *pip-1.0.1 (31 May 2011)
96
97 31 May 2011; Tim Harder <radhermit@g.o> +pip-1.0.1.ebuild,
98 +files/pip-1.0.1-unversioned.patch, +metadata.xml:
99 Initial import from sunrise (bug #317791). Thanks to Michail Denev for the
100 initial ebuild work.