commit:     a2f7897b6f9bc9d5c6fd8082b3700d0ef01dd3b8
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 10:35:40 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 10:41:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f7897b

app-admin/eselect: Bump to version 1.4.15.

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-admin/eselect/Manifest              |  1 +
 app-admin/eselect/eselect-1.4.15.ebuild | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/app-admin/eselect/Manifest b/app-admin/eselect/Manifest
index 7bb526480d8..ec976ec27b4 100644
--- a/app-admin/eselect/Manifest
+++ b/app-admin/eselect/Manifest
@@ -1,2 +1,3 @@
 DIST eselect-1.4.12.tar.xz 177520 BLAKE2B 
0938fe9bd8785fe711edc1af63a9c318a4a5fe9141c61d7f1c4da0352242322f1e18e4f68f7e219a1aa2beae5b25ddac58d7c47d4272408fd8fe5207324ef7c7
 SHA512 
2ea182364dfb2333112e9eebe691e1963e95a4c9ab40945eb2e5bc8c81da76105c1ae6aa3d153b78dea6c1e0cadb9b0237f7556b8ceb9d48e0fba67a642d6081
 DIST eselect-1.4.14.tar.xz 177492 BLAKE2B 
236ddb09231283a153c20be779d012979a25d42a7043c75af866e777731761406d92896bfef399c3bc63e529af4e36cf538801302dc4bb719f065d6bab8ad9e4
 SHA512 
b17fb63039577f20515056fae1b0f7e86fa2d96f38a5eec22e637cee0b25f4d68087ef8a5bd4043893db5be66ea201bc8ae6437bb049d208b81e76a57612d658
+DIST eselect-1.4.15.tar.xz 178996 BLAKE2B 
4354d975c8af2e1de0f0c6efe2badc92584e947f9b73c05aac144caf8f9d74c850d366c7c225112322a504262b5f285f6e2e8d32223f1b2d4bac87db740a148c
 SHA512 
ceb55fecc2bf70e816679af9b20653b29aa9ce24ca2d4cd0c6e02ab214689459bc2ccd5b3968ac49249b8fb6613c6055e7e76598b86c6a114a9abf847c4a2b58

diff --git a/app-admin/eselect/eselect-1.4.15.ebuild 
b/app-admin/eselect/eselect-1.4.15.ebuild
new file mode 100644
index 00000000000..61a8c2e50a6
--- /dev/null
+++ b/app-admin/eselect/eselect-1.4.15.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect";
+SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz";
+
+LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-3.0 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~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"
+IUSE="doc emacs vim-syntax"
+
+RDEPEND="sys-apps/sed
+       || (
+               sys-apps/coreutils
+               sys-freebsd/freebsd-bin
+               app-misc/realpath
+       )"
+DEPEND="${RDEPEND}
+       doc? ( dev-python/docutils )"
+RDEPEND="${RDEPEND}
+       sys-apps/file
+       sys-libs/ncurses:0"
+
+PDEPEND="emacs? ( app-emacs/eselect-mode )
+       vim-syntax? ( app-vim/eselect-syntax )"
+
+src_compile() {
+       emake
+       use doc && emake html
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       newbashcomp misc/${PN}.bashcomp ${PN}
+       dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
+       if use doc; then
+               docinto html
+               dodoc *.html doc/*.html doc/*.css
+       fi
+
+       # needed by news module
+       keepdir /var/lib/gentoo/news
+       if ! use prefix; then
+               fowners root:portage /var/lib/gentoo/news
+               fperms g+w /var/lib/gentoo/news
+       fi
+}
+
+pkg_postinst() {
+       # fowners in src_install doesn't work for the portage group:
+       # merging changes the group back to root
+       if ! use prefix; then
+               chgrp portage "${EROOT}/var/lib/gentoo/news" \
+                       && chmod g+w "${EROOT}/var/lib/gentoo/news"
+       fi
+}

Reply via email to