From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1324065-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id C303E158012
	for <garchives@archives.gentoo.org>; Fri, 24 Sep 2021 23:36:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 684B2E0967;
	Fri, 24 Sep 2021 23:36:57 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9E668E095C
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Sep 2021 23:36:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 902D6342BC8
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Sep 2021 23:36:55 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E10510B
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Sep 2021 23:36:54 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1632526558.2ccaae3b5887aa7fd4b402ea7ca77a8633ec6e49.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/grass/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-geosciences/grass/grass-9999.ebuild
X-VCS-Directories: sci-geosciences/grass/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 2ccaae3b5887aa7fd4b402ea7ca77a8633ec6e49
X-VCS-Branch: master
Date: Fri, 24 Sep 2021 23:36:54 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b2d3288e-f41e-40f2-b9c2-f09c993af88b
X-Archives-Hash: 06ca8a443661c03f21649660830ea824

commit:     2ccaae3b5887aa7fd4b402ea7ca77a8633ec6e49
Author:     Tomas Zigo <tomas.zigo <AT> slovanet <DOT> sk>
AuthorDate: Fri Sep 24 12:22:58 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 23:35:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccaae3b

sci-geosciences/grass: Fix search and replace "GRASS_PYTHON" variable

Fix search & replace "GRASS_PYTHON" shell environment variable

* GRASS GIS use Python Black code formatter tool (single quotation mark -> double quotation mark)
* fix error if you launch 'd.mon start=wx0' command: 'main.py: no python-exec wrapped executable found in /usr/lib/python-exec.'

Closes: https://github.com/gentoo/gentoo/pull/22333
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/grass/grass-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/grass/grass-9999.ebuild b/sci-geosciences/grass/grass-9999.ebuild
index 96940103bfd..9c8670fef28 100644
--- a/sci-geosciences/grass/grass-9999.ebuild
+++ b/sci-geosciences/grass/grass-9999.ebuild
@@ -230,8 +230,8 @@ GISBASE = os.path.normpath(\"${gisbase}\"):" \
 		"${ED}"${gisbase}/etc/fontcap || die
 
 	# set proper python interpreter
-	sed -e "s:os.environ\['GRASS_PYTHON'\] = \"python3\":\
-os.environ\['GRASS_PYTHON'\] = \"${EPYTHON}\":" \
+	sed -e "s:os.environ\[\"GRASS_PYTHON\"\] = \"python3\":\
+os.environ\[\"GRASS_PYTHON\"\] = \"${EPYTHON}\":" \
 		-i "${ED}"/usr/bin/${MY_PM} || die
 
 	# set proper GISDBASE directory path in the demolocation .grassrc80 file