From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8D432158649 for ; Thu, 11 May 2023 20:19:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83CE2E09D4; Thu, 11 May 2023 20:19:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66954E093E for ; Thu, 11 May 2023 20:19:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EEC8340BBD for ; Thu, 11 May 2023 20:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C9EBA61 for ; Thu, 11 May 2023 20:19:06 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683836147.63d6f2e8985de480c21a5c2f09bba1547c7de6b8.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/prepallstrip bin/ebuild-helpers/prepstrip X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 63d6f2e8985de480c21a5c2f09bba1547c7de6b8 X-VCS-Branch: master Date: Thu, 11 May 2023 20:19:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1a60e6a0-a6a7-425d-a4ec-cbae47185041 X-Archives-Hash: c8818477a1e1b63e451cb021325407f6 commit: 63d6f2e8985de480c21a5c2f09bba1547c7de6b8 Author: Ulrich Müller gentoo org> AuthorDate: Thu May 11 17:30:27 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 11 20:15:47 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=63d6f2e8 prep{,all}strip: Deprecate in all EAPIs Calling these commands from ebuilds was never allowed. Last usage was removed from Gentoo repository on 2019-04-14. Bug: https://bugs.gentoo.org/906156 Signed-off-by: Ulrich Müller gentoo.org> Signed-off-by: Sam James gentoo.org> bin/ebuild-helpers/prepallstrip | 4 +++- bin/ebuild-helpers/prepstrip | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/ebuild-helpers/prepallstrip b/bin/ebuild-helpers/prepallstrip index 2f9c0f70e..f22483a53 100755 --- a/bin/ebuild-helpers/prepallstrip +++ b/bin/ebuild-helpers/prepallstrip @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 @@ -8,6 +8,8 @@ if ___eapi_has_dostrip; then die "${0##*/}: ${0##*/} has been banned for EAPI '${EAPI}'; use 'dostrip' instead" fi +eqawarn "QA Notice: '${0##*/}' is not allowed in ebuild scope" + if ! ___eapi_has_prefix_variables; then ED=${D} fi diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index 789296050..0da4c6516 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 @@ -8,4 +8,6 @@ if ___eapi_has_dostrip; then die "${0##*/}: ${0##*/} has been banned for EAPI '${EAPI}'; use 'dostrip' instead" fi +eqawarn "QA Notice: '${0##*/}' is not allowed in ebuild scope" + __PORTAGE_HELPER=prepstrip exec "${PORTAGE_BIN_PATH}"/estrip "${@}"