commit:     86d51f8fb503db6f6f023efdb1ebca4590404fa7
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 16:49:32 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 17:28:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d51f8f

x11-libs/wxGTK: Fix version handling in 3.2.2.1

Closes: https://bugs.gentoo.org/895982
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 x11-libs/wxGTK/{wxGTK-3.2.2.1.ebuild => wxGTK-3.2.2.1-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-libs/wxGTK/wxGTK-3.2.2.1.ebuild 
b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
similarity index 98%
rename from x11-libs/wxGTK/wxGTK-3.2.2.1.ebuild
rename to x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
index 6198b73591d1..bba30b538faf 100644
--- a/x11-libs/wxGTK/wxGTK-3.2.2.1.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
@@ -5,10 +5,10 @@ EAPI=8
 
 inherit multilib-minimal
 
-WXSUBVERSION=${PV}-gtk3                                # 3.2.1-gtk3
-WXVERSION=${PV}                                                        # 3.2.1
+WXSUBVERSION="${PV}-gtk3"                              # 3.2.1-gtk3
+WXVERSION="$(ver_cut 1-3)"                             # 3.2.1
 # Make sure that this matches the number of components in ${PV}
-WXRELEASE=${WXVERSION%.*.*}-gtk3               # 3.2-gtk3
+WXRELEASE="$(ver_cut 1-2)-gtk3"                        # 3.2-gtk3
 WXRELEASE_NODOT=${WXRELEASE//./}               # 32-gtk3
 
 DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"

Reply via email to