app-dicts/canna-2ch: update to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
Akinori Hattori
2017-07-12 21:34:42 +09:00
parent a992b12f83
commit 9ecdc347f4
3 changed files with 17 additions and 19 deletions

View File

@@ -1,7 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit cannadic eutils
EAPI="6"
inherit cannadic
DESCRIPTION="Japanese Canna dictionary for 2channelers"
HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
@@ -14,21 +16,16 @@ KEYWORDS="alpha ~amd64 ppc ppc64 sparc x86"
IUSE="canna"
DEPEND="canna? ( app-i18n/canna )"
RDEPEND=""
S="${WORKDIR}/${PN}"
PATCHES=( "${FILESDIR}/"${P}-canna36p4-gentoo.patch )
CANNADICS="2ch"
DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-canna36p4-gentoo.patch"
}
src_compile() {
# Anthy users do not need binary dictionary
if use canna ; then
if use canna; then
mkbindic nichan.ctd || die
fi
}

View File

@@ -1,7 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit cannadic eutils
EAPI="6"
inherit cannadic
DESCRIPTION="Japanese Canna dictionary for 2channelers"
HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
@@ -14,7 +16,6 @@ KEYWORDS="~alpha amd64 hppa ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="canna"
DEPEND="canna? ( app-i18n/canna )"
RDEPEND=""
S="${WORKDIR}/${PN}"
CANNADICS="2ch"
@@ -22,7 +23,7 @@ DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
src_compile() {
# Anthy users do not need binary dictionary
if use canna ; then
if use canna; then
mkbindic nichan.ctd || die
fi
}

View File

@@ -1,11 +1,11 @@
<?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>
<upstream>
<remote-id type="sourceforge">omaemona</remote-id>
</upstream>
<maintainer type="project">
<email>cjk@gentoo.org</email>
<name>Cjk</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">omaemona</remote-id>
</upstream>
</pkgmetadata>