public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/skk-jisyo/
Date: Sat, 16 May 2020 15:21:26 +0000 (UTC)	[thread overview]
Message-ID: <1589642153.72957fac8cea06c044b2dcfbda52dbdb667ed660.hattya@gentoo> (raw)

commit:     72957fac8cea06c044b2dcfbda52dbdb667ed660
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 15:15:53 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat May 16 15:15:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72957fac

app-i18n/skk-jisyo: new snapshot

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-i18n/skk-jisyo/Manifest                |  1 +
 app-i18n/skk-jisyo/metadata.xml            |  8 ++--
 app-i18n/skk-jisyo/skk-jisyo-202005.ebuild | 71 ++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+), 4 deletions(-)

diff --git a/app-i18n/skk-jisyo/Manifest b/app-i18n/skk-jisyo/Manifest
index 76246650286..16a3249a04d 100644
--- a/app-i18n/skk-jisyo/Manifest
+++ b/app-i18n/skk-jisyo/Manifest
@@ -1 +1,2 @@
 DIST skk-jisyo-201905.tar.xz 6198572 BLAKE2B a26e0be0406699424b24a8d1b004317b5d274fc02ed50ef6c4c696de8e039a6cfd7b34b292b7b7ecbdc2fee1950f6cc2a122ef457ba12f96972584560d3ac355 SHA512 db32fab5d5bf232838a3d502d4f648dde556381df9f96acec13d011274dedf5443676ce36324430dbe8cacb6a037e7bf70e72ef46b94fc6b57b9448e76aab38b
+DIST skk-jisyo-202005.tar.xz 6836292 BLAKE2B 6d73e6d2e38de178c6683ae447b0ea79054036739b7a01fe386d677cc99556d37f47adf4156e1d571681195b85a2134cac710b12fa08df87e4fe5e5098289119 SHA512 7cc639b307d56d4cb5d04280a003ffa2cfb326f7821d70dddb619e117c1b8358417e44f8137de1b8027ec7f97df8bff8fba845019c015cf8c48ed5d91753155c

diff --git a/app-i18n/skk-jisyo/metadata.xml b/app-i18n/skk-jisyo/metadata.xml
index e1a49f49888..6f2ca22da23 100644
--- a/app-i18n/skk-jisyo/metadata.xml
+++ b/app-i18n/skk-jisyo/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>cjk@gentoo.org</email>
-    <name>Cjk</name>
-  </maintainer>
+	<maintainer type="project">
+		<email>cjk@gentoo.org</email>
+		<name>Cjk</name>
+	</maintainer>
 </pkgmetadata>

diff --git a/app-i18n/skk-jisyo/skk-jisyo-202005.ebuild b/app-i18n/skk-jisyo/skk-jisyo-202005.ebuild
new file mode 100644
index 00000000000..ab1e56cf1b1
--- /dev/null
+++ b/app-i18n/skk-jisyo/skk-jisyo-202005.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PN=${PN^^}
+
+DESCRIPTION="Jisyo (dictionary) files for the SKK Japanese-input software"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+	https://dev.gentoo.org/~hattya/distfiles/${P}.tar.xz"
+
+LICENSE="CC-BY-SA-3.0 GPL-2+ public-domain unicode"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE="cdb"
+
+DEPEND="virtual/awk
+	cdb? (
+		|| (
+			dev-db/tinycdb
+			dev-db/cdb
+		)
+	)"
+RDEPEND=""
+
+DOCS=( ChangeLog{,.{1..3}} committers.md )
+HTML_DOCS=( edict_doc.html )
+
+src_prepare() {
+	rm -f ${MY_PN}.{hukugougo,noregist,notes,pubdic+,requested,unannotated,*wrong*}
+
+	default
+}
+
+cdb_make() {
+	cdbmake "${1}" "${1}.tmp"
+}
+
+tinycdb_make() {
+	cdb -c "${1}"
+}
+
+src_compile() {
+	if use cdb; then
+		local cdbmake=cdb_make f
+		if has_version dev-db/tinycdb; then
+			cdbmake=tinycdb_make
+		fi
+		for f in {,zipcode/}${MY_PN}.*; do
+			LC_ALL=C awk '
+				/^[^;]/ {
+					s = substr($0, index($0, " ") + 1)
+					print "+" length($1) "," length(s) ":" $1 "->" s
+				}
+				END {
+					print ""
+				}
+			' ${f} | ${cdbmake} ${f}.cdb || die
+		done
+	fi
+}
+
+src_install() {
+	insinto /usr/share/skk
+	doins {,zipcode/}${MY_PN}.*
+
+	einstalldocs
+	docinto zipcode
+	dodoc zipcode/README.md
+}


             reply	other threads:[~2020-05-16 15:21 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-16 15:21 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12  9:52 [gentoo-commits] repo/gentoo:master commit in: app-i18n/skk-jisyo/ Akinori Hattori
2024-07-22 13:49 Akinori Hattori
2024-07-21 13:22 Sam James
2024-07-21 12:56 Jakov Smolić
2024-07-21 12:42 Sam James
2024-07-21 12:42 Sam James
2024-07-21 12:42 Sam James
2024-04-26 13:02 Akinori Hattori
2024-04-26 13:02 Akinori Hattori
2024-04-26 13:02 Akinori Hattori
2022-06-08 14:13 Akinori Hattori
2022-06-08 14:13 Akinori Hattori
2022-03-22 18:43 Jakov Smolić
2020-05-16 15:21 Akinori Hattori
2020-05-16 13:44 Akinori Hattori
2020-05-13 17:12 Agostino Sarubbo
2020-05-13 11:31 Agostino Sarubbo
2020-05-13 11:29 Agostino Sarubbo
2020-05-13 11:28 Agostino Sarubbo
2020-05-13 11:27 Agostino Sarubbo
2020-04-30 13:38 Akinori Hattori
2020-04-30 13:38 Akinori Hattori
2020-02-08  9:34 Akinori Hattori
2019-12-13 13:29 Akinori Hattori
2019-11-03 13:34 Mikle Kolyada
2019-10-07  9:53 Agostino Sarubbo
2019-10-07  9:47 Agostino Sarubbo
2019-10-04 12:57 Agostino Sarubbo
2019-10-04 11:55 Agostino Sarubbo
2019-10-03 12:30 Akinori Hattori
2019-09-14  9:58 Akinori Hattori
2019-09-14  9:58 Akinori Hattori
2018-05-07 13:07 Akinori Hattori
2017-08-12 14:29 Akinori Hattori
2017-07-23 15:30 Akinori Hattori
2017-06-25  5:37 Akinori Hattori
2017-06-18  9:54 Akinori Hattori
2017-06-16 19:46 Andreas Hüttel
2017-04-30  9:08 Jeroen Roovers
2017-04-27 10:36 Agostino Sarubbo
2017-04-23 10:27 Agostino Sarubbo
2017-04-19 16:01 Michael Weber
2016-09-15 14:16 Akinori Hattori
2016-06-14  2:29 Yixun Lan
2016-05-21  6:11 Akinori Hattori
2016-05-13 12:58 Akinori Hattori
2016-05-13 12:55 Akinori Hattori
2016-05-13 12:51 Akinori Hattori

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=1589642153.72957fac8cea06c044b2dcfbda52dbdb667ed660.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