From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/nawk/
Date: Thu, 1 Dec 2022 19:38:43 +0000 (UTC) [thread overview]
Message-ID: <1669923504.23401467319b8ec5d092057ac6fada11865adfb5.sam@gentoo> (raw)
commit: 23401467319b8ec5d092057ac6fada11865adfb5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 1 17:29:43 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 1 19:38:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23401467
sys-apps/nawk: Remove dep on app-eselect/eselect-awk
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28495
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{nawk-20180827.ebuild => nawk-20180827-r1.ebuild} | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/sys-apps/nawk/nawk-20180827.ebuild b/sys-apps/nawk/nawk-20180827-r1.ebuild
similarity index 75%
rename from sys-apps/nawk/nawk-20180827.ebuild
rename to sys-apps/nawk/nawk-20180827-r1.ebuild
index d3ddf5c3f048..3e5c1d65b36b 100644
--- a/sys-apps/nawk/nawk-20180827.ebuild
+++ b/sys-apps/nawk/nawk-20180827-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,12 +13,9 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
-RDEPEND="
- app-eselect/eselect-awk"
-
DEPEND="
- ${RDEPEND}
- virtual/yacc"
+ virtual/yacc
+"
S="${WORKDIR}/awk-${PV}"
@@ -48,9 +45,15 @@ src_install() {
}
pkg_postinst() {
- eselect awk update ifunset
+ if has_version app-admin/eselect && has_version app-eselect/eselect-awk
+ then
+ eselect awk update ifunset
+ fi
}
pkg_postrm() {
- eselect awk update ifunset
+ if has_version app-admin/eselect && has_version app-eselect/eselect-awk
+ then
+ eselect awk update ifunset
+ fi
}
next reply other threads:[~2022-12-01 19:38 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 19:38 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-24 4:45 [gentoo-commits] repo/gentoo:master commit in: sys-apps/nawk/ Sam James
2025-03-13 3:15 Sam James
2025-03-13 3:15 Sam James
2025-03-13 1:28 Sam James
2025-03-13 1:24 Sam James
2025-03-13 1:21 Sam James
2025-03-13 1:21 Sam James
2025-03-13 1:09 Sam James
2025-02-09 5:18 Sam James
2025-02-09 5:18 Sam James
2023-12-28 4:15 Sam James
2023-10-27 12:17 Sam James
2023-10-23 14:05 Arthur Zamarin
2023-10-22 11:44 Sam James
2023-10-22 11:40 Sam James
2023-10-22 11:39 Sam James
2023-10-22 11:39 Sam James
2023-10-22 11:39 Sam James
2023-10-22 11:39 Sam James
2023-09-12 2:23 Sam James
2023-02-13 3:41 Matt Turner
2022-12-27 19:53 Sam James
2022-12-27 19:45 Sam James
2022-12-27 13:40 Sam James
2022-12-27 11:31 Sam James
2022-12-24 3:02 WANG Xuerui
2022-12-18 11:45 James Le Cuirot
2022-12-18 1:50 Yixun Lan
2022-12-16 21:19 Arthur Zamarin
2022-12-16 21:19 Arthur Zamarin
2022-12-16 21:19 Arthur Zamarin
2022-12-16 18:26 Arthur Zamarin
2022-12-16 7:53 Sam James
2022-12-02 15:18 Christoph Junghans
2022-12-01 19:41 Sam James
2022-12-01 18:11 Christoph Junghans
2022-12-01 17:58 Christoph Junghans
2021-05-22 17:20 David Seifert
2021-01-06 15:26 Fabian Groffen
2020-05-06 17:25 Michał Górny
2018-02-19 19:58 Christoph Junghans
2016-11-14 2:01 Christoph Junghans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1669923504.23401467319b8ec5d092057ac6fada11865adfb5.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox