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

similarity index 88%
rename from app-i18n/fcitx-m17n/fcitx-m17n-9999.ebuild
rename to app-i18n/fcitx-m17n/fcitx-m17n-4.9999.ebuild
index b6fd196b4093e0ab1f48f6b11979f571fcf61a17..813ccc34e11fc17cba76cfc75743bf43545a56f2 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-m17n"
@@ -13,7 +13,7 @@ fi
 
 DESCRIPTION="m17n-provided input methods for Fcitx"
 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-m17n"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        SRC_URI=""
 else
        SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"