From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/sunpinyin-data/
Date: Wed, 8 Aug 2018 13:52:02 +0000 (UTC) [thread overview]
Message-ID: <1533736309.b060f95bcfac9bcc754141bb2941c891fa73de6d.hattya@gentoo> (raw)
commit: b060f95bcfac9bcc754141bb2941c891fa73de6d
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 8 13:48:47 2018 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 8 13:51:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b060f95b
app-i18n/sunpinyin-data: new upstream release
Package-Manager: Portage-2.3.40, Repoman-2.3.9
app-i18n/sunpinyin-data/Manifest | 2 +
.../sunpinyin-data/sunpinyin-data-20140820.ebuild | 45 ++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/app-i18n/sunpinyin-data/Manifest b/app-i18n/sunpinyin-data/Manifest
index 4a8d08502cb..eda79cc3954 100644
--- a/app-i18n/sunpinyin-data/Manifest
+++ b/app-i18n/sunpinyin-data/Manifest
@@ -1,3 +1,5 @@
DIST dict.utf8-20120830.tar.bz2 652472 BLAKE2B bd31553027e25261e2d69a4f1a82d2c1f18b424f16f1b62a817151892b0d012be7cf1f2b7f7fbbfda98dbc40c21186eaccdca2453d139f0e50aaf3d793d64671 SHA512 4400bc2a54cbf828e1d34f8240d8915a29171d6def125fecf4aa13b442dc2442d9ea591e4451cf030d22d974fbdba09adde4112c08acae9ae023823311ae8535
DIST dict.utf8-20130220.tar.bz2 652859 BLAKE2B 9e0cdefc0db519b0e12dd2cb2621ef500e0ed5a0ff9a0eea76d6f64eac1cdb455f2d3c8a806fe7aa8c50cbc369c0ef6d937fdf01fecbc349773b12375bb419f3 SHA512 d58ec106959a7713e452df2fe2fa5a5f66e82bd67eeeee8740cd3eeedf30af8d14a90dae224ed2931dffd85b0327c704927409bde0247452d79cf40c5bc7cff8
+DIST dict.utf8-20131214.tar.bz2 674512 BLAKE2B b5e1756b52e8b4fd7839d4a72004b7ddc789986899cc626341f13b702ee1e0b54780c992b2988289bdbe7ff979f3243efc1b5a5e04a0529b9a3f6b327a49faef SHA512 adaf52a27c6afdeb950912845f3fcb7a6799f997d50a2892ceecf76ed13e3644407338d734832c2ce4b09bce11fec4731774f1eb2dd4c30bea5490555915bd5b
+DIST lm_sc.3gm.arpa-20140820.tar.bz2 36623028 BLAKE2B 9456c51dbba59e5d20a1bdd9b06f0ef863c77eb7651287b45f143e6919aedf46ea81ca4da5c037c4b9775c19e68849720cb0e1b3db4cc9dd8df84832ac2eba6a SHA512 ea3ede62eb993c4d21ca7cf339635f4686493a0cefd57df4a31f00a001e67502a13ff9612ff667b941b82b47de00be9f3c9689677d04195a7ef8716bac087519
DIST lm_sc.t3g.arpa-20121025.tar.bz2 36262281 BLAKE2B 55d8820228986f9a7b3d567ebca7bf37079e3d05f9b062814116702957e4447c5283ac9034b6a9171a9696df01398bb29ea55a2a1ded3a952e48f14a697d8698 SHA512 3159dd3700382cfa617ba025ce542660580f3057e0dd6bbb92947902495db08e4454c1d09d01a55c90653444513d125dd034e944b060a9d8e009c3633b106d97
diff --git a/app-i18n/sunpinyin-data/sunpinyin-data-20140820.ebuild b/app-i18n/sunpinyin-data/sunpinyin-data-20140820.ebuild
new file mode 100644
index 00000000000..c35487a14ea
--- /dev/null
+++ b/app-i18n/sunpinyin-data/sunpinyin-data-20140820.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DICT_VERSION="20131214"
+LM_VERSION="${PV}"
+
+DESCRIPTION="Data sets for Sunpinyin"
+HOMEPAGE="https://github.com/sunpinyin/open-gram"
+SRC_URI="mirror://sourceforge/open-gram/dict.utf8-${DICT_VERSION}.tar.bz2
+ mirror://sourceforge/open-gram/lm_sc.3gm.arpa-${LM_VERSION}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="=app-i18n/sunpinyin-3*"
+
+src_unpack() {
+ default
+ mkdir "${S}" || die
+ mv "${WORKDIR}"/dict.utf8 "${S}" || die
+ mv "${WORKDIR}"/lm_sc.3gm.arpa "${S}" || die
+}
+
+src_compile() {
+ # lm_sc.t3g
+ echoit slmpack lm_sc.3gm.arpa dict.utf8 lm_sc.3gm
+ echoit slmthread lm_sc.3gm lm_sc.t3g.orig
+ echoit tslmendian -i lm_sc.t3g.orig -o lm_sc.t3g
+ # lexicon3
+ echoit genpyt -i dict.utf8 -s lm_sc.t3g.orig -l pydict_sc.log -o pydict_sc.bin
+}
+
+echoit() {
+ echo "${@}"
+ "${@}"
+}
+
+src_install() {
+ insinto /usr/share/${PN/-data}
+ doins lm_sc.t3g pydict_sc.bin
+}
next reply other threads:[~2018-08-09 6:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 13:52 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-02 7:48 [gentoo-commits] repo/gentoo:master commit in: app-i18n/sunpinyin-data/ Joonas Niilola
2022-04-18 18:07 Sam James
2021-11-19 6:24 Yixun Lan
2020-09-02 14:23 Mike Gilbert
2018-08-08 13:52 Akinori Hattori
2018-08-08 13:52 Akinori Hattori
2017-11-18 10:13 Sergei Trofimovich
2017-11-01 20:54 Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1533736309.b060f95bcfac9bcc754141bb2941c891fa73de6d.hattya@gentoo \
--to=hattya@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox