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
