commit: 427666571f9936f21d1e15bdcdee8f1ab3727ca6
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue Sep 26 20:38:01 2017 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 27 19:56:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42766657
app-i18n/fcitx: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
app-i18n/fcitx/fcitx-4.2.9.3.ebuild | 6 +++---
app-i18n/fcitx/{fcitx-9999.ebuild => fcitx-4.9999.ebuild} | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/app-i18n/fcitx/fcitx-4.2.9.3.ebuild
b/app-i18n/fcitx/fcitx-4.2.9.3.ebuild
index 6a1c4258963..a6b5e59f576 100644
--- a/app-i18n/fcitx/fcitx-4.2.9.3.ebuild
+++ b/app-i18n/fcitx/fcitx-4.2.9.3.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit cmake-utils gnome2-utils xdg-utils
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input
method framework"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz ->
fcitx-data-pinyin.tar.gz
https://download.fcitx-im.org/data/table.tar.gz ->
fcitx-data-table.tar.gz
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz ->
fcitx-data-py_stroke-20121124.tar.gz
@@ -77,7 +77,7 @@ PATCHES=(
DOCS=(AUTHORS ChangeLog THANKS)
src_prepare() {
- if [[ "${PV}" == "9999" ]]; then
+ if [[ "${PV}" =~ (^|\.)9999$ ]]; then
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz"
src/im/pinyin/data/pinyin.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-table.tar.gz"
src/im/table/data/table.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz"
src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die
diff --git a/app-i18n/fcitx/fcitx-9999.ebuild
b/app-i18n/fcitx/fcitx-4.9999.ebuild
similarity index 97%
rename from app-i18n/fcitx/fcitx-9999.ebuild
rename to app-i18n/fcitx/fcitx-4.9999.ebuild
index 92282aeb542..54b3183f34c 100644
--- a/app-i18n/fcitx/fcitx-9999.ebuild
+++ b/app-i18n/fcitx/fcitx-4.9999.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit cmake-utils gnome2-utils xdg-utils
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input
method framework"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz ->
fcitx-data-pinyin.tar.gz
https://download.fcitx-im.org/data/table.tar.gz ->
fcitx-data-table.tar.gz
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz ->
fcitx-data-py_stroke-20121124.tar.gz
@@ -73,7 +73,7 @@ DEPEND="${RDEPEND}
DOCS=(AUTHORS ChangeLog THANKS)
src_prepare() {
- if [[ "${PV}" == "9999" ]]; then
+ if [[ "${PV}" =~ (^|\.)9999$ ]]; then
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz"
src/im/pinyin/data/pinyin.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-table.tar.gz"
src/im/table/data/table.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz"
src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die