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.17.ebuild
Date: Sun, 04 Sep 2011 10:08:18
Message-Id: 20110904100801.1D77720051@flycatcher.gentoo.org
1 ulm 11/09/04 10:08:01
2
3 Modified: ChangeLog
4 Added: eselect-1.2.17.ebuild
5 Log:
6 Version bump, fixes bug 363481.
7
8 (Portage version: 2.1.10.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.188 app-admin/eselect/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/ChangeLog?rev=1.188&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/ChangeLog?rev=1.188&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/ChangeLog?r1=1.187&r2=1.188
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v
20 retrieving revision 1.187
21 retrieving revision 1.188
22 diff -u -r1.187 -r1.188
23 --- ChangeLog 3 Sep 2011 12:56:24 -0000 1.187
24 +++ ChangeLog 4 Sep 2011 10:08:01 -0000 1.188
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-admin/eselect
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.187 2011/09/03 12:56:24 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.188 2011/09/04 10:08:01 ulm Exp $
30 +
31 +*eselect-1.2.17 (04 Sep 2011)
32 +
33 + 04 Sep 2011; Ulrich Mueller <ulm@g.o> +eselect-1.2.17.ebuild:
34 + Version bump, fixes bug 363481.
35
36 03 Sep 2011; Ulrich Mueller <ulm@g.o> +eselect-9999.ebuild:
37 Restore live ebuild for SVN trunk.
38
39
40
41 1.1 app-admin/eselect/eselect-1.2.17.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/eselect-1.2.17.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/eselect-1.2.17.ebuild?rev=1.1&content-type=text/plain
45
46 Index: eselect-1.2.17.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.2.17.ebuild,v 1.1 2011/09/04 10:08:01 ulm Exp $
51
52 EAPI=2
53
54 inherit bash-completion
55
56 DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
57 HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
58 SRC_URI="mirror://gentoo/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~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"
63 IUSE="doc"
64
65 RDEPEND="sys-apps/sed
66 || (
67 sys-apps/coreutils
68 sys-freebsd/freebsd-bin
69 app-misc/realpath
70 )"
71 DEPEND="${RDEPEND}
72 doc? ( dev-python/docutils )"
73 RDEPEND="!app-admin/eselect-news
74 ${RDEPEND}
75 sys-apps/file
76 sys-libs/ncurses"
77
78 # Commented out: only few users of eselect will edit its source
79 #PDEPEND="emacs? ( app-emacs/gentoo-syntax )
80 # vim-syntax? ( app-vim/eselect-syntax )"
81
82 src_compile() {
83 emake || die "emake failed"
84
85 if use doc; then
86 make html || die "failed to build html"
87 fi
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die "make install failed"
92 dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
93 use doc && dohtml *.html doc/*
94 dobashcompletion misc/${PN}.bashcomp
95
96 # needed by news module
97 keepdir /var/lib/gentoo/news
98 }
99
100 pkg_postinst() {
101 # fowners in src_install doesn't work for the portage group:
102 # merging changes the group back to root
103 [[ -z ${EROOT} ]] && local EROOT=${ROOT}
104 chgrp portage "${EROOT}/var/lib/gentoo/news" \
105 && chmod g+w "${EROOT}/var/lib/gentoo/news"
106
107 bash-completion_pkg_postinst
108 }