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/ibus-libpinyin/
Date: Thu, 31 Aug 2017 19:53:28
Message-Id: 1504209174.29ab6ecefe26bfcb8a72b0aa358b2e2ec124a811.floppym@gentoo
1 commit: 29ab6ecefe26bfcb8a72b0aa358b2e2ec124a811
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Aug 31 18:47:17 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 31 19:52:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ab6ece
7
8 app-i18n/ibus-libpinyin: Version bump (1.9.1).
9
10 app-i18n/ibus-libpinyin/Manifest | 1 +
11 .../ibus-libpinyin/ibus-libpinyin-1.9.1.ebuild | 53 ++++++++++++++++++++++
12 2 files changed, 54 insertions(+)
13
14 diff --git a/app-i18n/ibus-libpinyin/Manifest b/app-i18n/ibus-libpinyin/Manifest
15 index 7a9bd2b5d13..9665fd855ab 100644
16 --- a/app-i18n/ibus-libpinyin/Manifest
17 +++ b/app-i18n/ibus-libpinyin/Manifest
18 @@ -1,3 +1,4 @@
19 DIST ibus-libpinyin-1.6.92.tar.gz 1686249 SHA256 e611cff47b84345e1f60b8e94f74811bcfdf53b6ef7436b5cb5aff47eea743a3 SHA512 b4af0083c9c1dd4273c75372acf5d74ce317effdf56d8a0de8a3e3cd24f40b1b2dba91786d0a1cd72c9d7867b9ae630c4f69b04b378529dca8be0869e91d322d WHIRLPOOL 5dd8493bbbaa0f3d189a825bd4237a56276e88b8da91e75c1e3d49c1c1b2050ee2f9aaa4524ea00418690d8ff2085d6b6f686e60752e838f2515ca9d780347ef
20 DIST ibus-libpinyin-1.7.4.tar.gz 1692228 SHA256 4627eab10ded24bd1a95ee56a2f7bd6a82deb94435aea674267fc40febd66f81 SHA512 d94f495e74650830f759889112df8b749d6e28192ed866f6bd132b16e16cda59d97aabc2762596bbe337a3deeb30ccd680ad370c28c1932ab05c6a40d8e1c265 WHIRLPOOL 1227c7f96565c001a90bced8aa4f847cfbe9bfae6810641e76472c437a29cdb539d2b316add9850270fa4eb2436761375f9d436749c8f06a573206ddba02064c
21 DIST ibus-libpinyin-1.9.0.tar.gz 1692442 SHA256 c8ec2450cec6f11870982b0130293dc967632631077029ca76c27ef349189e3e SHA512 cf90fd5233ca7a77d45b69efc76a211ff69895eed09998bec09b362f6b67a91687510144f55ee67e31897ee81c47e86e2e1258ee1771bae1f04d8aa398b13e1e WHIRLPOOL cb4a5cb645b2a0126f1d44452813021d3dc6b484e3f07f2a1bf5370b475103f0bf86a91576620ac038342dccf1d3f21da220a457b926c61329dc1e718e7f4c15
22 +DIST ibus-libpinyin-1.9.1.tar.gz 1691476 SHA256 52371801da350fb98632b20b483a2556ae27b3faf05fdcacc4f7ead01c969718 SHA512 600ceb9cb2ef38b07588914f2071b458825ee32b5cf32e6064394500a6d4854c4beea830f5057bba313c17f805033ab06de79e7fbc0a733506279ab2fc7585f6 WHIRLPOOL 08d7fd63a24af88f521ee0985c6e3b13a197fdb6a3d6c73342e33fe73f1e7cd77810a234b77b4bd947ccf7a773db3c5375d248e58fcbc00f5409860276f05f66
23
24 diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.1.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.1.ebuild
25 new file mode 100644
26 index 00000000000..6e9cf595e03
27 --- /dev/null
28 +++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.1.ebuild
29 @@ -0,0 +1,53 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
36 +PYTHON_REQ_USE="sqlite(+)"
37 +
38 +inherit autotools gnome2-utils python-single-r1
39 +
40 +DESCRIPTION="Intelligent Pinyin engine based on libpinyin for IBus"
41 +HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin"
42 +SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="boost lua opencc"
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +RDEPEND="${PYTHON_DEPS}
51 + app-i18n/ibus[python(+),${PYTHON_USEDEP}]
52 + >=app-i18n/libpinyin-2.1.0:=
53 + dev-python/pygobject:3[${PYTHON_USEDEP}]
54 + boost? ( dev-libs/boost:= )
55 + lua? ( dev-lang/lua:0 )
56 + opencc? ( app-i18n/opencc:= )"
57 +
58 +DEPEND="${RDEPEND}
59 + virtual/libintl
60 + virtual/pkgconfig"
61 +
62 +src_prepare() {
63 + default
64 + sed -i "s/python/${EPYTHON}/" setup/ibus-setup-libpinyin.in || die
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + econf \
70 + --enable-english-input-mode \
71 + $(use_enable boost) \
72 + $(use_enable lua lua-extension) \
73 + $(use_enable opencc)
74 +}
75 +
76 +pkg_postinst() {
77 + gnome2_icon_cache_update
78 +}
79 +
80 +pkg_postrm() {
81 + gnome2_icon_cache_update
82 +}