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.4.ebuild
Date: Sat, 07 Dec 2013 13:23:33
Message-Id: 20131207132329.7069E2004B@flycatcher.gentoo.org
1 ulm 13/12/07 13:23:29
2
3 Modified: ChangeLog
4 Added: eselect-1.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
9
10 Revision Changes Path
11 1.256 app-admin/eselect/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/ChangeLog?rev=1.256&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/ChangeLog?rev=1.256&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/ChangeLog?r1=1.255&r2=1.256
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v
20 retrieving revision 1.255
21 retrieving revision 1.256
22 diff -u -r1.255 -r1.256
23 --- ChangeLog 29 Oct 2013 21:08:27 -0000 1.255
24 +++ ChangeLog 7 Dec 2013 13:23:29 -0000 1.256
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-admin/eselect
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.255 2013/10/29 21:08:27 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.256 2013/12/07 13:23:29 ulm Exp $
30 +
31 +*eselect-1.4 (07 Dec 2013)
32 +
33 + 07 Dec 2013; Ulrich Müller <ulm@g.o> +eselect-1.4.ebuild:
34 + Version bump.
35
36 29 Oct 2013; Ulrich Müller <ulm@g.o> eselect-9999.ebuild:
37 Change to git-r3 again, following partial fix of bug 489100.
38
39
40
41 1.1 app-admin/eselect/eselect-1.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/eselect-1.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect/eselect-1.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: eselect-1.4.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.4.ebuild,v 1.1 2013/12/07 13:23:29 ulm Exp $
51
52 EAPI=4
53
54 inherit eutils bash-completion-r1
55
56 DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
57 HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
58 SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
59
60 LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-2.5 )"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
63 IUSE="doc emacs vim-syntax"
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 app-arch/xz-utils
73 doc? ( dev-python/docutils )"
74 RDEPEND="!app-admin/eselect-news
75 ${RDEPEND}
76 sys-apps/file
77 sys-libs/ncurses"
78
79 PDEPEND="emacs? ( app-emacs/eselect-mode )
80 vim-syntax? ( app-vim/eselect-syntax )"
81
82 src_compile() {
83 emake
84 use doc && emake html
85 }
86
87 src_install() {
88 emake DESTDIR="${D}" install
89 newbashcomp misc/${PN}.bashcomp ${PN}
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 if ! use prefix; then
96 fowners root:portage /var/lib/gentoo/news
97 fperms g+w /var/lib/gentoo/news
98 fi
99 }
100
101 pkg_postinst() {
102 # fowners in src_install doesn't work for the portage group:
103 # merging changes the group back to root
104 if ! use prefix; then
105 chgrp portage "${EROOT}/var/lib/gentoo/news" \
106 && chmod g+w "${EROOT}/var/lib/gentoo/news"
107 fi
108 }