Gentoo Archives: gentoo-commits

From: "Brian Harring (ferringb)" <ferringb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pkgcore: ChangeLog pkgcore-0.7.7-r1.ebuild
Date: Fri, 02 Dec 2011 10:11:54
Message-Id: 20111202101143.95B852004C@flycatcher.gentoo.org
1 ferringb 11/12/02 10:11:43
2
3 Modified: ChangeLog
4 Added: pkgcore-0.7.7-r1.ebuild
5 Log:
6 fix IFS manipulation bug reported in IRC
7
8 (Portage version: 2.1.10.37/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.136 sys-apps/pkgcore/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.136&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.136&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.135&r2=1.136
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v
20 retrieving revision 1.135
21 retrieving revision 1.136
22 diff -u -r1.135 -r1.136
23 --- ChangeLog 2 Dec 2011 08:50:07 -0000 1.135
24 +++ ChangeLog 2 Dec 2011 10:11:43 -0000 1.136
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/pkgcore
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.135 2011/12/02 08:50:07 ferringb Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.136 2011/12/02 10:11:43 ferringb Exp $
30 +
31 +*pkgcore-0.7.7-r1 (02 Dec 2011)
32 +
33 + 02 Dec 2011; Brian Harring <ferringb@g.o> +pkgcore-0.7.7-r1.ebuild,
34 + +files/pkgcore-0.7.7-IFS-manipulation.patch:
35 + Fix IFS manipulation bug in helpers reported in irc
36
37 *pkgcore-0.7.7 (02 Dec 2011)
38
39
40
41
42 1.1 sys-apps/pkgcore/pkgcore-0.7.7-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-0.7.7-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-0.7.7-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pkgcore-0.7.7-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.7.7-r1.ebuild,v 1.1 2011/12/02 10:11:43 ferringb Exp $
52
53 EAPI="3"
54 DISTUTILS_SRC_TEST="setup.py"
55
56 inherit distutils eutils
57
58 DESCRIPTION="pkgcore package manager"
59 HOMEPAGE="http://pkgcore.googlecode.com/"
60 SRC_URI="http://pkgcore.googlecode.com/files/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
65 IUSE="-doc build"
66
67 RDEPEND=">=dev-lang/python-2.4
68 >=dev-python/snakeoil-0.4.4
69 || ( >=dev-lang/python-2.5 dev-python/pycrypto )"
70 DEPEND="${RDEPEND}
71 doc? ( dev-python/sphinx dev-python/pyparsing )"
72
73 DOCS="AUTHORS NEWS"
74
75 pkg_setup() {
76 # disable snakeoil 2to3 caching...
77 unset PY2TO3_CACHEDIR
78 python_pkg_setup
79 }
80
81 src_prepare() {
82 epatch "${FILESDIR}/${PN}-${PV}-IFS-manipulation.patch"
83 }
84
85 src_compile() {
86 distutils_src_compile
87
88 if use doc; then
89 python setup.py build_docs || die "doc building failed"
90 fi
91 }
92
93 src_install() {
94 distutils_src_install
95
96 if use doc; then
97 dohtml -r build/sphinx/html/*
98 fi
99 }
100
101 pkg_postinst() {
102 distutils_pkg_postinst
103 pplugincache
104 }