x11-libs/wxGTK: Fix versionating variables for current case of no subrelease number
authorMart Raudsepp <leio@gentoo.org>
Thu, 4 Jan 2018 02:15:30 +0000 (04:15 +0200)
committerMart Raudsepp <leio@gentoo.org>
Thu, 4 Jan 2018 17:17:51 +0000 (19:17 +0200)
This is a bug of my own doing, not from kuzetsa, as I edited the commit myself
to bump to 3.0.3 instead of 3.0.3.1, latter of which has a subrelease number
and all was well then.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild

index e7b417b265a5b204ce8cf153d1eaf4ebeea7fb6b..6066afd3bb45f24022e5466cf9da5c2126032ab6 100644 (file)
@@ -13,8 +13,8 @@ SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidge
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit"
 
-WXSUBVERSION=${PV}-gtk3                                        # 3.0.2.0-gtk3
-WXVERSION=${WXSUBVERSION%.*}                   # 3.0.2
+WXSUBVERSION=${PV}.0-gtk3                      # 3.0.3.0-gtk3
+WXVERSION=${WXSUBVERSION%.*}                   # 3.0.3
 WXRELEASE=${WXVERSION%.*}-gtk3                 # 3.0-gtk3
 WXRELEASE_NODOT=${WXRELEASE//./}               # 30-gtk3