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/libkkc/
Date: Sun, 29 Sep 2019 02:56:50
Message-Id: 1569725773.5f216ac5a93a89127bb5d32c8f5bc55f46dcd347.floppym@gentoo
1 commit: 5f216ac5a93a89127bb5d32c8f5bc55f46dcd347
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Sat Sep 28 02:17:48 2019 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 29 02:56:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f216ac5
7
8 app-i18n/libkkc: Version bump (0.3.6_pre20190809104047). Support Python 3.
9
10 Fixes: https://bugs.gentoo.org/695004
11 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13
14 app-i18n/libkkc/Manifest | 1 +
15 .../libkkc/libkkc-0.3.6_pre20190809104047.ebuild | 67 ++++++++++++++++++++++
16 2 files changed, 68 insertions(+)
17
18 diff --git a/app-i18n/libkkc/Manifest b/app-i18n/libkkc/Manifest
19 index edbfdd2a30a..be3971ae010 100644
20 --- a/app-i18n/libkkc/Manifest
21 +++ b/app-i18n/libkkc/Manifest
22 @@ -1 +1,2 @@
23 DIST libkkc-0.3.5.tar.gz 1424282 BLAKE2B 5c1664f85b15e4f7b82d07c21ee29b82bea0d8f534b2f866c9604e38b5578b323c3252ae76a325ec269d82c972c9155bb42ca9c765bc47e13825edabfd974ca5 SHA512 f611c3104a22ad38af29746870849d8937b6af2a7fee0952cc25f36ef845b5617a192df7ca63ff2a507384f7a6a13c9c1b4fa3b9a34f3f041bee8793d04b9236
24 +DIST libkkc-0.3.6_pre20190809104047.tar.gz 389976 BLAKE2B 03c43384f4f1f0e48a3eec2afb9f90a39e42469439a7dbc06692e020d83b8362f19c41ea8960cd5147edca04dcf67be5e74315f494dd017a6ce018f217b6a5a7 SHA512 87c5294900b29e4b2225c24ee744c619691a5f25edc453c2ece44133695a8d0e1a1a07bb5a00d615cc95057ae5b451c845c7ce476df555e025097c38aff87a69
25
26 diff --git a/app-i18n/libkkc/libkkc-0.3.6_pre20190809104047.ebuild b/app-i18n/libkkc/libkkc-0.3.6_pre20190809104047.ebuild
27 new file mode 100644
28 index 00000000000..3f920501d61
29 --- /dev/null
30 +++ b/app-i18n/libkkc/libkkc-0.3.6_pre20190809104047.ebuild
31 @@ -0,0 +1,67 @@
32 +# Copyright 2013-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +PYTHON_COMPAT=(python{3_6,3_7})
37 +
38 +inherit autotools python-any-r1 vala
39 +
40 +if [[ "${PV}" == "9999" ]]; then
41 + inherit git-r3
42 +
43 + EGIT_REPO_URI="https://github.com/ueno/libkkc"
44 +elif [[ "${PV}" == *_pre* ]]; then
45 + LIBKKC_GIT_REVISION="b2e5a152980ee627c39ca8a49082e6df7694b8fc"
46 +fi
47 +
48 +DESCRIPTION="Japanese Kana Kanji conversion input method library"
49 +HOMEPAGE="https://github.com/ueno/libkkc"
50 +if [[ "${PV}" == "9999" ]]; then
51 + SRC_URI=""
52 +elif [[ "${PV}" == *_pre* ]]; then
53 + SRC_URI="https://github.com/ueno/${PN}/archive/${LIBKKC_GIT_REVISION}.tar.gz -> ${P}.tar.gz"
54 +else
55 + SRC_URI="https://github.com/ueno/${PN}/releases/download/v${PV}/${P}.tar.gz"
56 +fi
57 +
58 +LICENSE="GPL-3+"
59 +SLOT="0"
60 +KEYWORDS="~amd64 ~x86"
61 +IUSE="nls static-libs"
62 +
63 +BDEPEND="$(python_gen_any_dep 'dev-libs/marisa[python,${PYTHON_USEDEP}]')
64 + $(vala_depend)
65 + dev-libs/gobject-introspection
66 + virtual/pkgconfig
67 + nls? ( sys-devel/gettext )"
68 +DEPEND="dev-libs/glib:2
69 + dev-libs/json-glib
70 + dev-libs/libgee:0.8
71 + dev-libs/marisa
72 + nls? ( virtual/libintl )"
73 +RDEPEND="${DEPEND}"
74 +
75 +if [[ "${PV}" == *_pre* ]]; then
76 + S="${WORKDIR}/libkkc-${LIBKKC_GIT_REVISION}"
77 +fi
78 +
79 +python_check_deps() {
80 + has_version -b "dev-libs/marisa[python,${PYTHON_USEDEP}]"
81 +}
82 +
83 +src_prepare() {
84 + default
85 + eautoreconf
86 + vala_src_prepare
87 +}
88 +
89 +src_configure() {
90 + econf \
91 + $(use_enable nls) \
92 + $(use_enable static-libs static)
93 +}
94 +
95 +src_install() {
96 + default
97 + find "${D}" -name "*.la" -type f -delete || die
98 +}