From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1130282-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id F3F7D138334
	for <garchives@archives.gentoo.org>; Fri, 13 Dec 2019 13:29:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1FAF9E07DB;
	Fri, 13 Dec 2019 13:29:42 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C456AE07DB
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Dec 2019 13:29:41 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id AE02B34D839
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Dec 2019 13:29:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 68B138B1
	for <gentoo-commits@lists.gentoo.org>; Fri, 13 Dec 2019 13:29:38 +0000 (UTC)
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" <hattya@gentoo.org>
Message-ID: <1576243726.0a6b403aa61a4b5ebfd6a31406ea42279b7ee4de.hattya@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/skk-jisyo/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-i18n/skk-jisyo/Manifest app-i18n/skk-jisyo/skk-jisyo-201905.ebuild
X-VCS-Directories: app-i18n/skk-jisyo/
X-VCS-Committer: hattya
X-VCS-Committer-Name: Akinori Hattori
X-VCS-Revision: 0a6b403aa61a4b5ebfd6a31406ea42279b7ee4de
X-VCS-Branch: master
Date: Fri, 13 Dec 2019 13:29:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 9fa3f9d7-9cf0-4bc6-b2a3-f43b58f31034
X-Archives-Hash: 7d82e7aa4934c287b6875565cb0f39de

commit:     0a6b403aa61a4b5ebfd6a31406ea42279b7ee4de
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 13 13:28:46 2019 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 13:28:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6b403a

app-i18n/skk-jisyo: new snapshot

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

 app-i18n/skk-jisyo/Manifest                |  1 +
 app-i18n/skk-jisyo/skk-jisyo-201905.ebuild | 70 ++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/app-i18n/skk-jisyo/Manifest b/app-i18n/skk-jisyo/Manifest
index 9cece8ff1f6..4e9af7381e7 100644
--- a/app-i18n/skk-jisyo/Manifest
+++ b/app-i18n/skk-jisyo/Manifest
@@ -1,2 +1,3 @@
 DIST skk-jisyo-201605.tar.xz 6288104 BLAKE2B d68332a4fa0804b596fc42f3dc8231a6eebe8bddacc6e0babec6cc5992ddaadb46e8fa9af742daa30545a585428afe79eab28329ce1d37e0192b08b20d7c584e SHA512 1093d363fe571c3e3e05fa54046fc4b88cbed2fbd104838576c83694556585401c3affa0afb2ed078c6f1b06f62a7b14145b1305f6fef089f160b4073900c7a1
 DIST skk-jisyo-201805.tar.xz 6133180 BLAKE2B 52408eb2f1fa5e5146fd4db55c249f80b5ede7d2ce1e7a3c11fb69507f87f86d778e25b04ce4e39dd241ea2d8000d829b34c47df991cb91f886923e330b652eb SHA512 13675502332609857b66391bdb9dc252b9f7a48814f6db10c60106b9cc3ce823df7615d77e0579d13b9d3da93dae2006cedc145d8dd80af39b9d4ecfe94373d5
+DIST skk-jisyo-201905.tar.xz 6198572 BLAKE2B a26e0be0406699424b24a8d1b004317b5d274fc02ed50ef6c4c696de8e039a6cfd7b34b292b7b7ecbdc2fee1950f6cc2a122ef457ba12f96972584560d3ac355 SHA512 db32fab5d5bf232838a3d502d4f648dde556381df9f96acec13d011274dedf5443676ce36324430dbe8cacb6a037e7bf70e72ef46b94fc6b57b9448e76aab38b

diff --git a/app-i18n/skk-jisyo/skk-jisyo-201905.ebuild b/app-i18n/skk-jisyo/skk-jisyo-201905.ebuild
new file mode 100644
index 00000000000..988c19a0a04
--- /dev/null
+++ b/app-i18n/skk-jisyo/skk-jisyo-201905.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 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="GPL-2 freedist public-domain"
+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.txt edict_doc.txt )
+
+src_prepare() {
+	rm -f ${MY_PN}.{wrong*,noregist,not_wrong,hukugougo,notes,requested,pubdic+}
+
+	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
+}