app-i18n/fcitx-qt5: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Wed, 27 Sep 2017 08:56:37 +0000 (10:56 +0200)
committerMike Gilbert <floppym@gentoo.org>
Wed, 27 Sep 2017 19:57:00 +0000 (15:57 -0400)
app-i18n/fcitx-qt5/fcitx-qt5-1.1.1.ebuild
app-i18n/fcitx-qt5/fcitx-qt5-4.9999.ebuild [moved from app-i18n/fcitx-qt5/fcitx-qt5-9999.ebuild with 90% similarity]

index bf637e0b2fd8c3e58802487320221b88e0e7a7f6..18564da597d7b6d0bea6189867d238e076fa61b8 100644 (file)
@@ -5,7 +5,7 @@ EAPI="6"
 
 inherit cmake-utils
 
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        inherit git-r3
 
        EGIT_REPO_URI="https://github.com/fcitx/fcitx-qt5"
@@ -13,7 +13,7 @@ fi
 
 DESCRIPTION="Fcitx input method module for Qt 5"
 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-qt5"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        SRC_URI=""
 else
        SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
similarity index 90%
rename from app-i18n/fcitx-qt5/fcitx-qt5-9999.ebuild
rename to app-i18n/fcitx-qt5/fcitx-qt5-4.9999.ebuild
index d99be3fd9f4ebf913bda578f3689403fd4b0917e..eaa37a365ba3cf8f7789a25d3d86bf6ae6304239 100644 (file)
@@ -5,7 +5,7 @@ EAPI="6"
 
 inherit cmake-utils
 
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        inherit git-r3
 
        EGIT_REPO_URI="https://github.com/fcitx/fcitx-qt5"
@@ -13,7 +13,7 @@ fi
 
 DESCRIPTION="Fcitx input method module for Qt 5"
 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-qt5"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        SRC_URI=""
 else
        SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"