Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-libpinyin/
Date: Wed, 27 Sep 2017 19:57:31
Message-Id: 1506542219.8b818d81d96944dd74a7bdd336bb6609242b3095.floppym@gentoo
1 commit: 8b818d81d96944dd74a7bdd336bb6609242b3095
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Tue Sep 26 21:02:43 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 27 19:56:59 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b818d81
7
8 app-i18n/fcitx-libpinyin: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
9
10 .../{fcitx-libpinyin-9999.ebuild => fcitx-libpinyin-4.9999.ebuild} | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13 diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild
14 similarity index 92%
15 rename from app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild
16 rename to app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild
17 index 3497b22a034..3496db3a2e8 100644
18 --- a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild
19 +++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild
20 @@ -5,7 +5,7 @@ EAPI="6"
21
22 inherit cmake-utils gnome2-utils
23
24 -if [[ "${PV}" == "9999" ]]; then
25 +if [[ "${PV}" =~ (^|\.)9999$ ]]; then
26 inherit git-r3
27
28 EGIT_REPO_URI="https://github.com/fcitx/fcitx-libpinyin"
29 @@ -13,7 +13,7 @@ fi
30
31 DESCRIPTION="Chinese LibPinyin input methods for Fcitx"
32 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-libpinyin"
33 -if [[ "${PV}" == "9999" ]]; then
34 +if [[ "${PV}" =~ (^|\.)9999$ ]]; then
35 SRC_URI="https://download.fcitx-im.org/data/model.text.20161206.tar.gz -> fcitx-data-model.text.20161206.tar.gz"
36 else
37 SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
38 @@ -44,7 +44,7 @@ DEPEND="${RDEPEND}
39 DOCS=(AUTHORS)
40
41 src_prepare() {
42 - if [[ "${PV}" == "9999" ]]; then
43 + if [[ "${PV}" =~ (^|\.)9999$ ]]; then
44 ln -s "${DISTDIR}/fcitx-data-model.text.20161206.tar.gz" data/model.text.20161206.tar.gz || die
45 fi