commit:     859c011529ca64ac824ade08235208a1b5738e37
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  8 17:14:41 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  8 17:16:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859c0115

app-admin/eselect: Version bump to 1.4.19

Closes: https://bugs.gentoo.org/830707
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-admin/eselect/Manifest              |  1 +
 app-admin/eselect/eselect-1.4.19.ebuild | 58 +++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/app-admin/eselect/Manifest b/app-admin/eselect/Manifest
index 369dab13f70c..31f2d45f7e0c 100644
--- a/app-admin/eselect/Manifest
+++ b/app-admin/eselect/Manifest
@@ -1,3 +1,4 @@
 DIST eselect-1.4.16.tar.xz 178660 BLAKE2B 
dae97ee324cb67983c5395b5dc54c4b84d2da43f6a0c5c8ab81ff402ab211e9d1f1d3fe5c174b130ac1e11d3dd19e3812056274145415ee029e649cda880cd95
 SHA512 
264fb6122f5f7c9e73bb2250a94c3c0377e5263e2e5ae653ed58e08ebf6ed1b4aa165ae5c1d70b0156081c4db5672d1ec9d379782919d5b40a2f3e862378ce62
 DIST eselect-1.4.17.tar.xz 178980 BLAKE2B 
d905ac88bc009080912af75e64c7920d745788866fa3cb35466d68a652efbbd6984d6e1efeed76d9a344aed94705b74c85aa43e9c037d4d548d2e24afa69bd7a
 SHA512 
35dc4c52f44c4f64db9c0dc2aec57b3055a6d36760b1bbbd094ad11b3f9e71a731444802632817b89c3b511f1dc9bb92046b59322d177e13fdc501ed767b591e
 DIST eselect-1.4.18.tar.xz 179968 BLAKE2B 
ce54e54dd406c0d5a7a012ff7cf111709e7a51c510aaaa1d0145dade7bc9678e5f67081dfaef0743c86324adddb5468b093f9612e9932198d1bc9428a2dc93f6
 SHA512 
8e7afae4d383ddcc38c51f947fdaff267cc7ed87e26d236ff84585e4037764fd553f61c205fdc412ebc5170d80fa60a83cd93aa6fe39230ebff10a903af12ae2
+DIST eselect-1.4.19.tar.xz 180240 BLAKE2B 
eaf1cee4cdca7963f4bdf0ceaab7431e1fd2fd07a05747db7b3437841602b302224701988b6cbd24ffa2ee30a58e6f4b34810b46f272e4d2bb032aec0a1512cc
 SHA512 
18e0e769ad95ce67904e3ae95351463f00f1b255f390da7d54383d04f27e76cd32616b79c0fcd60d3f3aaab40c7cffd34a9348c55a1484224713f72a55e072d7

diff --git a/app-admin/eselect/eselect-1.4.19.ebuild 
b/app-admin/eselect/eselect-1.4.19.ebuild
new file mode 100644
index 000000000000..c72f843451a8
--- /dev/null
+++ b/app-admin/eselect/eselect-1.4.19.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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-4.0 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc emacs vim-syntax"
+
+DEPEND="sys-apps/sed
+       || (
+               sys-apps/coreutils
+               app-misc/realpath
+       )"
+RDEPEND="${DEPEND}
+       sys-apps/file
+       sys-libs/ncurses:0"
+BDEPEND="doc? ( dev-python/docutils )"
+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