commit:     325c36bc2114d5111f8a82ba0813d4bc7de7abf2
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  7 15:15:44 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar  7 15:17:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325c36bc

sci-geosciences/grass: replace assignment to read-only variable

Bug: https://bugs.gentoo.org/774459
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

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

diff --git a/sci-geosciences/grass/grass-9999.ebuild 
b/sci-geosciences/grass/grass-9999.ebuild
index 70b94da0445..a77634827df 100644
--- a/sci-geosciences/grass/grass-9999.ebuild
+++ b/sci-geosciences/grass/grass-9999.ebuild
@@ -10,9 +10,8 @@ WX_GTK_VER="3.0-gtk3"
 
 inherit autotools desktop flag-o-matic git-r3 python-single-r1 toolchain-funcs 
wxwidgets xdg
 
-PV="7.9"
-MY_PM=${PN}$(ver_cut 1-2 ${PV})
-MY_PM=${MY_PM/.}
+MY_P="${PN}7.9"
+MY_PM="${MY_P/.}"
 
 DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D 
vizualization"
 HOMEPAGE="https://grass.osgeo.org/";

Reply via email to