public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: bin/, bin/ebuild-helpers/
Date: Sun, 17 Aug 2025 19:06:04 +0000 (UTC)	[thread overview]
Message-ID: <1755457236.c74fc9aee7ab5777cf3fd2f2c3ed744dc79c0be8.ulm@gentoo> (raw)

commit:     c74fc9aee7ab5777cf3fd2f2c3ed744dc79c0be8
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  9 08:02:11 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 19:00:36 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=c74fc9ae

EAPI 9 bans domo

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 bin/eapi.sh             | 1 +
 bin/ebuild-helpers/domo | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/bin/eapi.sh b/bin/eapi.sh
index 892742c5d1..272d9e4a74 100644
--- a/bin/eapi.sh
+++ b/bin/eapi.sh
@@ -30,6 +30,7 @@ ___eapi_has_dohard()             [[ ${1-${EAPI-0}} == [0-3] ]]
 ___eapi_has_doheader()           [[ ${1-${EAPI-0}} != [0-4] ]]
 ___eapi_has_dohtml()             [[ ${1-${EAPI-0}} == [0-6] ]]
 ___eapi_has_dolib_libopts()      [[ ${1-${EAPI-0}} == [0-6] ]]
+___eapi_has_domo()               [[ ${1-${EAPI-0}} == [0-8] ]]
 ___eapi_has_dosed()              [[ ${1-${EAPI-0}} == [0-3] ]]
 ___eapi_has_dostrip()            [[ ${1-${EAPI-0}} != [0-6] ]]
 ___eapi_has_eapply()             [[ ${1-${EAPI-0}} != [0-5] ]]

diff --git a/bin/ebuild-helpers/domo b/bin/ebuild-helpers/domo
index e261da955e..c95fc38009 100755
--- a/bin/ebuild-helpers/domo
+++ b/bin/ebuild-helpers/domo
@@ -1,9 +1,14 @@
 #!/usr/bin/env bash
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 source "${PORTAGE_BIN_PATH:?}"/isolated-functions.sh || exit
 
+if ! ___eapi_has_domo; then
+	die "'${0##*/}' has been banned for EAPI '${EAPI}'"
+	exit 1
+fi
+
 mynum=${#}
 if [ ${mynum} -lt 1 ] ; then
 	__helpers_die "${0}: at least one argument needed"


             reply	other threads:[~2025-08-17 19:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-17 19:06 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-21 19:23 [gentoo-commits] proj/portage:master commit in: bin/, bin/ebuild-helpers/ Ulrich Müller
2021-05-24  6:08 Zac Medico
2018-09-17  6:45 Michał Górny
2018-03-28  5:47 Zac Medico
2018-03-28  5:19 Zac Medico
2018-03-04 21:05 Michał Górny
2018-03-04 21:05 Michał Górny
2018-03-04 21:05 Michał Górny

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=1755457236.c74fc9aee7ab5777cf3fd2f2c3ed744dc79c0be8.ulm@gentoo \
    --to=ulm@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