Diff skk-jisyo-202005 with a skk-jisyo-999999

/usr/portage/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild 2023-10-09 14:52:28.764368332 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="8"
5
USE_RUBY="ruby26 ruby27 ruby30 ruby31"
6

  
7
inherit git-r3 ruby-single
5 8

  
6 9
MY_PN=${PN^^}
7 10

  
8 11
DESCRIPTION="Jisyo (dictionary) files for the SKK Japanese-input software"
9 12
HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html"
10
SRC_URI="mirror://gentoo/${P}.tar.xz
11
	https://dev.gentoo.org/~hattya/distfiles/${P}.tar.xz"
13
EGIT_REPO_URI="https://github.com/skk-dev/dict"
12 14

  
13 15
LICENSE="CC-BY-SA-3.0 GPL-2+ public-domain unicode"
14 16
SLOT="0"
15
KEYWORDS="amd64 arm ~hppa ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
16
IUSE="cdb"
17
KEYWORDS=""
18
IUSE="cdb ${USE_RUBY//ruby/ruby_targets_ruby}"
17 19

  
18
DEPEND="app-alternatives/awk
20
DEPEND="${RUBY_DEPS}
21
	app-i18n/skktools
22
	app-alternatives/awk
19 23
	cdb? (
20 24
		|| (
21 25
			dev-db/tinycdb
......
27 31
DOCS=( ChangeLog{,.{1..3}} committers.md )
28 32
HTML_DOCS=( edict_doc.html )
29 33

  
34
SKKTOOLS_DIR="${EPREFIX}/usr/share/skktools/convert2skk"
35

  
30 36
src_prepare() {
31 37
	rm -f ${MY_PN}.{hukugougo,noregist,notes,pubdic+,requested,unannotated,*wrong*}
32 38

  
......
42 48
}
43 49

  
44 50
src_compile() {
51
	local ctdic="${MY_PN}.china_taiwan" ruby
52
	mv ${ctdic}{.header,}
53
	for ruby in ${RUBY_TARGETS_PREFERENCE}; do
54
		if use ruby_targets_${ruby}; then
55
			${ruby} ${SKKTOOLS_DIR}/ctdicconv.rb csv/${ctdic##*.}.csv | skkdic-expr2 >> ${ctdic}
56
			break
57
		fi
58
	done
59

  
45 60
	if use cdb; then
46 61
		local cdbmake=cdb_make f
47 62
		if has_version dev-db/tinycdb; then
Thank you!