Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/eselect/
Date: Sun, 17 Feb 2019 08:10:17
Message-Id: 1550390447.70e223ea33afbebbe50c5f40c22c772d526b5461.ulm@gentoo
1 commit: 70e223ea33afbebbe50c5f40c22c772d526b5461
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 17 08:00:47 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 17 08:00:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e223ea
7
8 app-admin/eselect: Version bump.
9
10 Package-Manager: Portage-2.3.60, Repoman-2.3.12
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 app-admin/eselect/Manifest | 1 +
14 app-admin/eselect/eselect-1.4.14.ebuild | 61 +++++++++++++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/app-admin/eselect/Manifest b/app-admin/eselect/Manifest
18 index f559db5149f..11af4f19529 100644
19 --- a/app-admin/eselect/Manifest
20 +++ b/app-admin/eselect/Manifest
21 @@ -1,2 +1,3 @@
22 DIST eselect-1.4.12.tar.xz 177520 BLAKE2B 0938fe9bd8785fe711edc1af63a9c318a4a5fe9141c61d7f1c4da0352242322f1e18e4f68f7e219a1aa2beae5b25ddac58d7c47d4272408fd8fe5207324ef7c7 SHA512 2ea182364dfb2333112e9eebe691e1963e95a4c9ab40945eb2e5bc8c81da76105c1ae6aa3d153b78dea6c1e0cadb9b0237f7556b8ceb9d48e0fba67a642d6081
23 DIST eselect-1.4.13.tar.xz 177848 BLAKE2B 70e5a793759e16119f5233b2c974e0fcc8d213b2033e2b3b76e0a047797b1a0f2feb21ad3beda72f644b498725b4d8ff5c221dcd0870adf5197eaf81c6f3c895 SHA512 5ce10bd288268bc5b52031703f8ac8f3cf07bb22039339bb00c92583ed226162ea8865788f5c1ff4e058d38f0bf25e3557273fb1e839e0391c1fafb9f702bc11
24 +DIST eselect-1.4.14.tar.xz 177492 BLAKE2B 236ddb09231283a153c20be779d012979a25d42a7043c75af866e777731761406d92896bfef399c3bc63e529af4e36cf538801302dc4bb719f065d6bab8ad9e4 SHA512 b17fb63039577f20515056fae1b0f7e86fa2d96f38a5eec22e637cee0b25f4d68087ef8a5bd4043893db5be66ea201bc8ae6437bb049d208b81e76a57612d658
25
26 diff --git a/app-admin/eselect/eselect-1.4.14.ebuild b/app-admin/eselect/eselect-1.4.14.ebuild
27 new file mode 100644
28 index 00000000000..d3250a39c01
29 --- /dev/null
30 +++ b/app-admin/eselect/eselect-1.4.14.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit bash-completion-r1
38 +
39 +DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
40 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect"
41 +SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
42 +
43 +LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-3.0 )"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 +IUSE="doc emacs vim-syntax"
47 +
48 +RDEPEND="sys-apps/sed
49 + || (
50 + sys-apps/coreutils
51 + sys-freebsd/freebsd-bin
52 + app-misc/realpath
53 + )"
54 +DEPEND="${RDEPEND}
55 + doc? ( dev-python/docutils )"
56 +RDEPEND="${RDEPEND}
57 + sys-apps/file
58 + sys-libs/ncurses:0"
59 +
60 +PDEPEND="emacs? ( app-emacs/eselect-mode )
61 + vim-syntax? ( app-vim/eselect-syntax )"
62 +
63 +src_compile() {
64 + emake
65 + use doc && emake html
66 +}
67 +
68 +src_install() {
69 + emake DESTDIR="${D}" install
70 + newbashcomp misc/${PN}.bashcomp ${PN}
71 + dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
72 + if use doc; then
73 + docinto html
74 + dodoc *.html doc/*.html doc/*.css
75 + fi
76 +
77 + # needed by news module
78 + keepdir /var/lib/gentoo/news
79 + if ! use prefix; then
80 + fowners root:portage /var/lib/gentoo/news
81 + fperms g+w /var/lib/gentoo/news
82 + fi
83 +}
84 +
85 +pkg_postinst() {
86 + # fowners in src_install doesn't work for the portage group:
87 + # merging changes the group back to root
88 + if ! use prefix; then
89 + chgrp portage "${EROOT}/var/lib/gentoo/news" \
90 + && chmod g+w "${EROOT}/var/lib/gentoo/news"
91 + fi
92 +}