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