commit:     53998f73a665cc928a62ebd989d98b64a5daaccc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 05:13:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 05:13:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53998f73

sys-apps/mawk: drop obsolete eselect-awk code

We have app-alternatives/awk these days and eselect-awk is long-gone.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/mawk/mawk-1.3.4_p20240905.ebuild | 14 +-------------
 sys-apps/mawk/mawk-1.3.4_p20250131.ebuild | 12 ------------
 2 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/sys-apps/mawk/mawk-1.3.4_p20240905.ebuild 
b/sys-apps/mawk/mawk-1.3.4_p20240905.ebuild
index 79a43f3db44b..c68cdcfb8aae 100644
--- a/sys-apps/mawk/mawk-1.3.4_p20240905.ebuild
+++ b/sys-apps/mawk/mawk-1.3.4_p20240905.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -38,15 +38,3 @@ src_install() {
        doexe examples/*
        docompress -x /usr/share/doc/${PF}/examples
 }
-
-pkg_postinst() {
-       if has_version app-admin/eselect && has_version 
app-eselect/eselect-awk; then
-               eselect awk update ifunset
-       fi
-}
-
-pkg_postrm() {
-       if has_version app-admin/eselect && has_version 
app-eselect/eselect-awk; then
-               eselect awk update ifunset
-       fi
-}

diff --git a/sys-apps/mawk/mawk-1.3.4_p20250131.ebuild 
b/sys-apps/mawk/mawk-1.3.4_p20250131.ebuild
index a42756dde618..be8b392ab86d 100644
--- a/sys-apps/mawk/mawk-1.3.4_p20250131.ebuild
+++ b/sys-apps/mawk/mawk-1.3.4_p20250131.ebuild
@@ -38,15 +38,3 @@ src_install() {
        doexe examples/*
        docompress -x /usr/share/doc/${PF}/examples
 }
-
-pkg_postinst() {
-       if has_version app-admin/eselect && has_version 
app-eselect/eselect-awk; then
-               eselect awk update ifunset
-       fi
-}
-
-pkg_postrm() {
-       if has_version app-admin/eselect && has_version 
app-eselect/eselect-awk; then
-               eselect awk update ifunset
-       fi
-}

Reply via email to