1 |
commit: 427666571f9936f21d1e15bdcdee8f1ab3727ca6 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Tue Sep 26 20:38:01 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 27 19:56:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42766657 |
7 |
|
8 |
app-i18n/fcitx: Use ${Fcitx_major_version}.9999 version scheme for live ebuild. |
9 |
|
10 |
app-i18n/fcitx/fcitx-4.2.9.3.ebuild | 6 +++--- |
11 |
app-i18n/fcitx/{fcitx-9999.ebuild => fcitx-4.9999.ebuild} | 6 +++--- |
12 |
2 files changed, 6 insertions(+), 6 deletions(-) |
13 |
|
14 |
diff --git a/app-i18n/fcitx/fcitx-4.2.9.3.ebuild b/app-i18n/fcitx/fcitx-4.2.9.3.ebuild |
15 |
index 6a1c4258963..a6b5e59f576 100644 |
16 |
--- a/app-i18n/fcitx/fcitx-4.2.9.3.ebuild |
17 |
+++ b/app-i18n/fcitx/fcitx-4.2.9.3.ebuild |
18 |
@@ -5,7 +5,7 @@ EAPI="6" |
19 |
|
20 |
inherit cmake-utils gnome2-utils xdg-utils |
21 |
|
22 |
-if [[ "${PV}" == "9999" ]]; then |
23 |
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then |
24 |
inherit git-r3 |
25 |
|
26 |
EGIT_REPO_URI="https://github.com/fcitx/fcitx" |
27 |
@@ -13,7 +13,7 @@ fi |
28 |
|
29 |
DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework" |
30 |
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx" |
31 |
-if [[ "${PV}" == "9999" ]]; then |
32 |
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then |
33 |
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz |
34 |
https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz |
35 |
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz |
36 |
@@ -77,7 +77,7 @@ PATCHES=( |
37 |
DOCS=(AUTHORS ChangeLog THANKS) |
38 |
|
39 |
src_prepare() { |
40 |
- if [[ "${PV}" == "9999" ]]; then |
41 |
+ if [[ "${PV}" =~ (^|\.)9999$ ]]; then |
42 |
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die |
43 |
ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die |
44 |
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die |
45 |
|
46 |
diff --git a/app-i18n/fcitx/fcitx-9999.ebuild b/app-i18n/fcitx/fcitx-4.9999.ebuild |
47 |
similarity index 97% |
48 |
rename from app-i18n/fcitx/fcitx-9999.ebuild |
49 |
rename to app-i18n/fcitx/fcitx-4.9999.ebuild |
50 |
index 92282aeb542..54b3183f34c 100644 |
51 |
--- a/app-i18n/fcitx/fcitx-9999.ebuild |
52 |
+++ b/app-i18n/fcitx/fcitx-4.9999.ebuild |
53 |
@@ -5,7 +5,7 @@ EAPI="6" |
54 |
|
55 |
inherit cmake-utils gnome2-utils xdg-utils |
56 |
|
57 |
-if [[ "${PV}" == "9999" ]]; then |
58 |
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then |
59 |
inherit git-r3 |
60 |
|
61 |
EGIT_REPO_URI="https://github.com/fcitx/fcitx" |
62 |
@@ -13,7 +13,7 @@ fi |
63 |
|
64 |
DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework" |
65 |
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx" |
66 |
-if [[ "${PV}" == "9999" ]]; then |
67 |
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then |
68 |
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz |
69 |
https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz |
70 |
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz |
71 |
@@ -73,7 +73,7 @@ DEPEND="${RDEPEND} |
72 |
DOCS=(AUTHORS ChangeLog THANKS) |
73 |
|
74 |
src_prepare() { |
75 |
- if [[ "${PV}" == "9999" ]]; then |
76 |
+ if [[ "${PV}" =~ (^|\.)9999$ ]]; then |
77 |
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die |
78 |
ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die |
79 |
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die |