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 D32BF158649 for ; Thu, 11 May 2023 20:19:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12F90E0909; Thu, 11 May 2023 20:19:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 EDF4BE0909 for ; Thu, 11 May 2023 20:19:08 +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 1FF6F340BB9 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 8845E990 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: <1683836146.ab538e7750fb85d57a3eb9d9b440848c1f2c074a.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/portageq X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ab538e7750fb85d57a3eb9d9b440848c1f2c074a 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: 58e463b2-9047-4316-8459-d4a547b85173 X-Archives-Hash: 1ee692b5eab9f022e9de2e79630b846b commit: ab538e7750fb85d57a3eb9d9b440848c1f2c074a Author: Ulrich Müller gentoo org> AuthorDate: Thu May 11 17:27:51 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 11 20:15:46 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ab538e77 ebuild-helpers/portageq: Deprecate Calling portageq from ebuilds was never allowed. Last usage was removed from Gentoo repository on 2019-03-14. Bug: https://bugs.gentoo.org/906129 Signed-off-by: Ulrich Müller gentoo.org> Signed-off-by: Sam James gentoo.org> bin/ebuild-helpers/portageq | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/portageq b/bin/ebuild-helpers/portageq index 7d14f54c2..0df0cd273 100755 --- a/bin/ebuild-helpers/portageq +++ b/bin/ebuild-helpers/portageq @@ -1,10 +1,14 @@ #!/usr/bin/env bash -# Copyright 2009-2015 Gentoo Foundation +# Copyright 2009-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 scriptpath=${BASH_SOURCE[0]} scriptname=${scriptpath##*/} +source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 + +eqawarn "QA Notice: '${0##*/}' is not allowed in ebuild scope" + # Use safe cwd, avoiding unsafe import for bug #469338. cd "${PORTAGE_PYM_PATH}" || exit 1