commit: c7784acea9b02e03532a6d650fcb4ec9cda67135
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue Sep 26 20:53:08 2017 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 27 19:56:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7784ace
app-i18n/fcitx-configtool: Use ${Fcitx_major_version}.9999 version scheme for
live ebuild.
app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild | 4 ++--
.../{fcitx-configtool-9999.ebuild => fcitx-configtool-4.9999.ebuild} | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild
b/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild
index 28b6f212a5c..0b23abbbe06 100644
--- a/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild
+++ b/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.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-configtool"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="GTK+ GUI configuration tool for Fcitx"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI=""
else
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild
b/app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild
similarity index 90%
rename from app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild
rename to app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild
index a3a49216157..aa0e86bd570 100644
--- a/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild
+++ b/app-i18n/fcitx-configtool/fcitx-configtool-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-configtool"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="GTK+ GUI configuration tool for Fcitx"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI=""
else
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"