diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2017-09-26 22:38:01 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-09-27 15:56:56 -0400 |
commit | 427666571f9936f21d1e15bdcdee8f1ab3727ca6 (patch) | |
tree | 6957b8a430d49c0f2451780394253987d722bf4b /app-i18n | |
parent | dev-python/celery: add eventlet and unittest2 to test deps for 4.0.2 (diff) | |
download | gentoo-427666571f9936f21d1e15bdcdee8f1ab3727ca6.tar.gz gentoo-427666571f9936f21d1e15bdcdee8f1ab3727ca6.tar.bz2 gentoo-427666571f9936f21d1e15bdcdee8f1ab3727ca6.zip |
app-i18n/fcitx: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/fcitx/fcitx-4.2.9.3.ebuild | 6 | ||||
-rw-r--r-- | app-i18n/fcitx/fcitx-4.9999.ebuild (renamed from app-i18n/fcitx/fcitx-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 6a1c4258963d..a6b5e59f5762 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 index 92282aeb5421..54b3183f34c0 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 |