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