diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-20 16:00:09 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-20 16:06:27 +0100 |
commit | c2917b138ae4a78b9fb3e9a37de3a4b9e9bd02f1 (patch) | |
tree | 9da6504ad14c672f0c47039b46e15f289ec41d18 /app-i18n | |
parent | app-i18n/xsunpinyin: treeclean (diff) | |
download | gentoo-c2917b138ae4a78b9fb3e9a37de3a4b9e9bd02f1.tar.gz gentoo-c2917b138ae4a78b9fb3e9a37de3a4b9e9bd02f1.tar.bz2 gentoo-c2917b138ae4a78b9fb3e9a37de3a4b9e9bd02f1.zip |
app-i18n/sunpinyin-data: treeclean
Closes: https://bugs.gentoo.org/807148
Closes: https://bugs.gentoo.org/713412
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/sunpinyin-data/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/sunpinyin-data/metadata.xml | 11 | ||||
-rw-r--r-- | app-i18n/sunpinyin-data/sunpinyin-data-20140820.ebuild | 45 |
3 files changed, 0 insertions, 58 deletions
diff --git a/app-i18n/sunpinyin-data/Manifest b/app-i18n/sunpinyin-data/Manifest deleted file mode 100644 index 4b60e3da4161..000000000000 --- a/app-i18n/sunpinyin-data/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST dict.utf8-20131214.tar.bz2 674512 BLAKE2B b5e1756b52e8b4fd7839d4a72004b7ddc789986899cc626341f13b702ee1e0b54780c992b2988289bdbe7ff979f3243efc1b5a5e04a0529b9a3f6b327a49faef SHA512 adaf52a27c6afdeb950912845f3fcb7a6799f997d50a2892ceecf76ed13e3644407338d734832c2ce4b09bce11fec4731774f1eb2dd4c30bea5490555915bd5b -DIST lm_sc.3gm.arpa-20140820.tar.bz2 36623028 BLAKE2B 9456c51dbba59e5d20a1bdd9b06f0ef863c77eb7651287b45f143e6919aedf46ea81ca4da5c037c4b9775c19e68849720cb0e1b3db4cc9dd8df84832ac2eba6a SHA512 ea3ede62eb993c4d21ca7cf339635f4686493a0cefd57df4a31f00a001e67502a13ff9612ff667b941b82b47de00be9f3c9689677d04195a7ef8716bac087519 diff --git a/app-i18n/sunpinyin-data/metadata.xml b/app-i18n/sunpinyin-data/metadata.xml deleted file mode 100644 index c458036026f6..000000000000 --- a/app-i18n/sunpinyin-data/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>cjk@gentoo.org</email> - <name>Cjk</name> - </maintainer> - <upstream> - <remote-id type="github">sunpinyin/open-gram</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-i18n/sunpinyin-data/sunpinyin-data-20140820.ebuild b/app-i18n/sunpinyin-data/sunpinyin-data-20140820.ebuild deleted file mode 100644 index c2bcae4866a7..000000000000 --- a/app-i18n/sunpinyin-data/sunpinyin-data-20140820.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2013-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit edo - -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 ~riscv x86" -IUSE="" - -# https://github.com/sunpinyin/sunpinyin/commit/0fff1e78d9a409205e025736286838721a2ccbf8 -BDEPEND=">=app-i18n/sunpinyin-2.0.4_pre20140819192400" -DEPEND="" -RDEPEND="" - -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 - edo slmpack lm_sc.3gm.arpa dict.utf8 lm_sc.3gm - edo slmthread lm_sc.3gm lm_sc.t3g.orig - edo tslmendian -i lm_sc.t3g.orig -o lm_sc.t3g - # lexicon3 - edo genpyt -i dict.utf8 -s lm_sc.t3g.orig -l pydict_sc.log -o pydict_sc.bin -} - -src_install() { - insinto /usr/share/${PN/-data} - doins lm_sc.t3g pydict_sc.bin -} |