app-i18n/fcitx-chewing: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Tue, 26 Sep 2017 20:46:27 +0000 (22:46 +0200)
committerMike Gilbert <floppym@gentoo.org>
Wed, 27 Sep 2017 19:56:58 +0000 (15:56 -0400)
app-i18n/fcitx-chewing/fcitx-chewing-0.2.3.ebuild
app-i18n/fcitx-chewing/fcitx-chewing-4.9999.ebuild [moved from app-i18n/fcitx-chewing/fcitx-chewing-9999.ebuild with 90% similarity]

index d0cd526b77cac4781308c2d303ca302520653bf1..c6ba5224f161e8a9d0d2c9f69bafd5fa04d5c6a5 100644 (file)
@@ -5,7 +5,7 @@ EAPI="6"
 
 inherit cmake-utils gnome2-utils
 
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        inherit git-r3
 
        EGIT_REPO_URI="https://github.com/fcitx/fcitx-chewing"
@@ -13,7 +13,7 @@ fi
 
 DESCRIPTION="Chinese Chewing input method for Fcitx"
 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-chewing"
-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-chewing/fcitx-chewing-9999.ebuild
rename to app-i18n/fcitx-chewing/fcitx-chewing-4.9999.ebuild
index cc0804d0cb29618cdfc65756908e877c34849860..81658f7c320937a2760301b105689b20d91fddaf 100644 (file)
@@ -5,7 +5,7 @@ EAPI="6"
 
 inherit cmake-utils gnome2-utils
 
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        inherit git-r3
 
        EGIT_REPO_URI="https://github.com/fcitx/fcitx-chewing"
@@ -13,7 +13,7 @@ fi
 
 DESCRIPTION="Chinese Chewing input method for Fcitx"
 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-chewing"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        SRC_URI=""
 else
        SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"