www-plugins/chrome-binary-plugins: Remove version suffix
authorMike Gilbert <floppym@gentoo.org>
Fri, 8 Apr 2016 02:43:55 +0000 (22:43 -0400)
committerMike Gilbert <floppym@gentoo.org>
Fri, 8 Apr 2016 02:46:10 +0000 (22:46 -0400)
Package-Manager: portage-2.2.28_p64

www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110.ebuild [moved from www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110_p1.ebuild with 94% similarity]
www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta.ebuild [moved from www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta1.ebuild with 94% similarity]
www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha.ebuild [moved from www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha1.ebuild with 94% similarity]

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 4babbfc63bbc2588e374e1fca2d4e3e22a66b47c..23cd900adc0e9ebe01eed8807d93ada03934d9f5 100644 (file)
@@ -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
 
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 1dbafa6a762da14c4216dc1b26ae6883d92780dc..b246cc856ff658031a247c2709eab047b6bd01e2 100644 (file)
@@ -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
 
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 1dbafa6a762da14c4216dc1b26ae6883d92780dc..b246cc856ff658031a247c2709eab047b6bd01e2 100644 (file)
@@ -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