commit:     3c865b6fc70711ea764825af0a3cf70b2378507f
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue Sep 26 23:14:28 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 27 19:56:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c865b6f

app-i18n/fcitx-m17n: Use ${Fcitx_major_version}.9999 version scheme for live 
ebuild.

 .../fcitx-m17n/{fcitx-m17n-9999.ebuild => fcitx-m17n-4.9999.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/fcitx-m17n/fcitx-m17n-9999.ebuild 
b/app-i18n/fcitx-m17n/fcitx-m17n-4.9999.ebuild
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 b6fd196b409..813ccc34e11 100644
--- a/app-i18n/fcitx-m17n/fcitx-m17n-9999.ebuild
+++ b/app-i18n/fcitx-m17n/fcitx-m17n-4.9999.ebuild
@@ -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";

Reply via email to