diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-06-06 20:51:58 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-06-06 20:54:47 +0200 |
commit | a7c3c82dab37b4ebaee8fc9f110aa86264a15b4a (patch) | |
tree | 5a557af467499cca558d143bb218725abddb5330 /app-admin/eselect | |
parent | net-misc/minidlna: Remove old (diff) | |
download | gentoo-a7c3c82dab37b4ebaee8fc9f110aa86264a15b4a.tar.gz gentoo-a7c3c82dab37b4ebaee8fc9f110aa86264a15b4a.tar.bz2 gentoo-a7c3c82dab37b4ebaee8fc9f110aa86264a15b4a.zip |
app-admin/eselect: add 1.4.23
Closes: https://bugs.gentoo.org/905934
Closes: https://bugs.gentoo.org/907844
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-admin/eselect')
-rw-r--r-- | app-admin/eselect/Manifest | 1 | ||||
-rw-r--r-- | app-admin/eselect/eselect-1.4.23.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/eselect/Manifest b/app-admin/eselect/Manifest index 7a1f863df55a..8b8f8548245a 100644 --- a/app-admin/eselect/Manifest +++ b/app-admin/eselect/Manifest @@ -1,2 +1,3 @@ DIST eselect-1.4.20.tar.xz 180272 BLAKE2B 424653d00eda45335c3aaae50f6fbf2e89486da4529f657596516352f3b7fcb9859ceb2dc5b9762a34c44fb64e645fa27c46b86453bf50be6e8ae820664a4289 SHA512 9589ed89c4d5d31f71d535886eb50da67b84dec8a13a5df081e7569efee861dede4eaa43a0bfb9930c5b95d4f334e19245cb8820a73f7361527da262da1d1fb2 DIST eselect-1.4.22.tar.xz 183480 BLAKE2B 8f86bdddaf98bc075694bdf7283cbd366e0ef93635472b3bbac11fdd9765984cd82e493b16836bae66e4b2c42a9cb33ad0d2aacaaf8529b59e4898e11f172d26 SHA512 73a10278d604f462aefa099df398eec2b08aee33da69419351ff2faf1cf4c0f3de0f301d92015e52da63046fe7e2c1c388e11ac84b7deb3def505a59fa291dac +DIST eselect-1.4.23.tar.xz 183536 BLAKE2B 92972fa5efd35bed3a36b7c6418ff41d5630804bf75ec1235475047eb17eeabbce85b03bc59eab7a6201af73a85c3b4c2672de86fe36740eb2d4523c7091ae72 SHA512 3cdcb1c44fe08c572a2cf45318b3fa84a01b4f5d6b0329b813f54eaaa85c6eb88d11159dc29908917835a7622da6f613fddd28419fc3ce385d941ce073ccb6bb diff --git a/app-admin/eselect/eselect-1.4.23.ebuild b/app-admin/eselect/eselect-1.4.23.ebuild new file mode 100644 index 000000000000..f34db73d0445 --- /dev/null +++ b/app-admin/eselect/eselect-1.4.23.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-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 +} |