Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/eselect: ChangeLog eselect-1.2.1.ebuild
Date: Wed, 09 Sep 2009 21:21:50
Message-Id: E1MlUbs-0007S4-PS@stork.gentoo.org
1 ulm 09/09/09 21:21:48
2
3 Modified: ChangeLog
4 Added: eselect-1.2.1.ebuild
5 Log:
6 Version bump, fixes bug 283932.
7 (Portage version: 2.2_rc40/cvs/Linux i686)
8
9 Revision Changes Path
10 1.123 app-admin/eselect/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect/ChangeLog?rev=1.123&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect/ChangeLog?rev=1.123&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect/ChangeLog?r1=1.122&r2=1.123
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v
19 retrieving revision 1.122
20 retrieving revision 1.123
21 diff -u -r1.122 -r1.123
22 --- ChangeLog 7 Sep 2009 21:15:44 -0000 1.122
23 +++ ChangeLog 9 Sep 2009 21:21:48 -0000 1.123
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-admin/eselect
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.122 2009/09/07 21:15:44 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.123 2009/09/09 21:21:48 ulm Exp $
29 +
30 +*eselect-1.2.1 (09 Sep 2009)
31 +
32 + 09 Sep 2009; Ulrich Mueller <ulm@g.o> +eselect-1.2.1.ebuild:
33 + Version bump, fixes bug 283932.
34
35 07 Sep 2009; Markus Meier <maekke@g.o> eselect-1.1.3.ebuild:
36 amd64/x86 stable, bug #283079
37
38
39
40 1.1 app-admin/eselect/eselect-1.2.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect/eselect-1.2.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect/eselect-1.2.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: eselect-1.2.1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.2.1.ebuild,v 1.1 2009/09/09 21:21:48 ulm Exp $
50
51 DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
52 HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
53 SRC_URI="mirror://gentoo/${P}.tar.bz2"
54
55 LICENSE="GPL-2"
56 SLOT="0"
57 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
58 IUSE="doc bash-completion"
59
60 RDEPEND="sys-apps/sed
61 || (
62 sys-apps/coreutils
63 sys-freebsd/freebsd-bin
64 app-admin/realpath
65 )"
66 DEPEND="${RDEPEND}
67 doc? ( dev-python/docutils )"
68 RDEPEND="!app-admin/eselect-news
69 ${RDEPEND}
70 sys-apps/file
71 sys-libs/ncurses"
72
73 # Commented out: only few users of eselect will edit its source
74 #PDEPEND="emacs? ( app-emacs/gentoo-syntax )
75 # vim-syntax? ( app-vim/eselect-syntax )"
76
77 src_compile() {
78 econf
79 emake || die "emake failed"
80
81 if use doc ; then
82 make html || die "failed to build html"
83 fi
84 }
85
86 src_install() {
87 emake DESTDIR="${D}" install || die "make install failed"
88 dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
89 use doc && dohtml *.html doc/*
90
91 # needed by news module
92 keepdir /var/lib/gentoo/news
93
94 # we don't use bash-completion.eclass since eselect
95 # is listed in RDEPEND.
96 if use bash-completion ; then
97 insinto /usr/share/bash-completion
98 newins misc/${PN}.bashcomp ${PN} || die
99 fi
100 }
101
102 pkg_postinst() {
103 # fowners in src_install doesn't work for the portage group:
104 # merging changes the group back to root
105 chgrp portage "${ROOT}/var/lib/gentoo/news" \
106 && chmod g+w "${ROOT}/var/lib/gentoo/news"
107
108 if use bash-completion ; then
109 elog "In case you have not yet enabled command-line completion"
110 elog "for eselect, you can run:"
111 elog
112 elog " eselect bashcomp enable eselect"
113 elog
114 elog "to install locally, or"
115 elog
116 elog " eselect bashcomp enable --global eselect"
117 elog
118 elog "to install system-wide."
119 fi
120 }