From 3b663adb4abdbc2213564f76e43461a29cf0a188 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 7 Apr 2016 22:43:55 -0400 Subject: [PATCH] www-plugins/chrome-binary-plugins: Remove version suffix Package-Manager: portage-2.2.28_p64 --- ...ild => chrome-binary-plugins-49.0.2623.110.ebuild} | 11 ++++------- ...=> chrome-binary-plugins-50.0.2661.66_beta.ebuild} | 11 ++++------- ...=> chrome-binary-plugins-51.0.2700.0_alpha.ebuild} | 11 ++++------- 3 files changed, 12 insertions(+), 21 deletions(-) rename www-plugins/chrome-binary-plugins/{chrome-binary-plugins-49.0.2623.110_p1.ebuild => chrome-binary-plugins-49.0.2623.110.ebuild} (94%) rename www-plugins/chrome-binary-plugins/{chrome-binary-plugins-50.0.2661.66_beta1.ebuild => chrome-binary-plugins-50.0.2661.66_beta.ebuild} (94%) rename www-plugins/chrome-binary-plugins/{chrome-binary-plugins-51.0.2700.0_alpha1.ebuild => chrome-binary-plugins-51.0.2700.0_alpha.ebuild} (94%) diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110_p1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110.ebuild similarity index 94% rename from www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110_p1.ebuild rename to www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110.ebuild index 4babbfc63bbc..23cd900adc0e 100644 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110_p1.ebuild +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110.ebuild @@ -13,20 +13,17 @@ case ${PV} in *_alpha*) SLOT="unstable" CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_alpha/-} + MY_PV=${PV%_alpha}-1 ;; *_beta*) SLOT="beta" CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_beta/-} + MY_PV=${PV%_beta}-1 ;; - *_p*) + *) SLOT="stable" CHROMEDIR="opt/google/chrome" - MY_PV=${PV/_p/-} - ;; - *) - die "Invalid value for \${PV}: ${PV}" + MY_PV=${PV}-1 ;; esac diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta.ebuild similarity index 94% rename from www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta1.ebuild rename to www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta.ebuild index 1dbafa6a762d..b246cc856ff6 100644 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta1.ebuild +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta.ebuild @@ -13,20 +13,17 @@ case ${PV} in *_alpha*) SLOT="unstable" CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_alpha/-} + MY_PV=${PV%_alpha}-1 ;; *_beta*) SLOT="beta" CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_beta/-} + MY_PV=${PV%_beta}-1 ;; - *_p*) + *) SLOT="stable" CHROMEDIR="opt/google/chrome" - MY_PV=${PV/_p/-} - ;; - *) - die "Invalid value for \${PV}: ${PV}" + MY_PV=${PV}-1 ;; esac diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha.ebuild similarity index 94% rename from www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha1.ebuild rename to www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha.ebuild index 1dbafa6a762d..b246cc856ff6 100644 --- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha1.ebuild +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha.ebuild @@ -13,20 +13,17 @@ case ${PV} in *_alpha*) SLOT="unstable" CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_alpha/-} + MY_PV=${PV%_alpha}-1 ;; *_beta*) SLOT="beta" CHROMEDIR="opt/google/chrome-${SLOT}" - MY_PV=${PV/_beta/-} + MY_PV=${PV%_beta}-1 ;; - *_p*) + *) SLOT="stable" CHROMEDIR="opt/google/chrome" - MY_PV=${PV/_p/-} - ;; - *) - die "Invalid value for \${PV}: ${PV}" + MY_PV=${PV}-1 ;; esac -- 2.26.2