diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-07-12 21:34:42 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-07-12 21:34:42 +0900 |
commit | 9ecdc347f4cb968aa1ca4b92357609cf829a9859 (patch) | |
tree | 6a3a2bca7edac494fdea25d991e9977f79a49b4e /app-dicts | |
parent | app-dicts/canna-2ch: fix install (diff) | |
download | gentoo-9ecdc347f4cb968aa1ca4b92357609cf829a9859.tar.gz gentoo-9ecdc347f4cb968aa1ca4b92357609cf829a9859.tar.bz2 gentoo-9ecdc347f4cb968aa1ca4b92357609cf829a9859.zip |
app-dicts/canna-2ch: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-dicts')
-rw-r--r-- | app-dicts/canna-2ch/canna-2ch-20030827.ebuild | 15 | ||||
-rw-r--r-- | app-dicts/canna-2ch/canna-2ch-20040519.ebuild | 7 | ||||
-rw-r--r-- | app-dicts/canna-2ch/metadata.xml | 14 |
3 files changed, 17 insertions, 19 deletions
diff --git a/app-dicts/canna-2ch/canna-2ch-20030827.ebuild b/app-dicts/canna-2ch/canna-2ch-20030827.ebuild index 2cd3b357a3e3..85ec43f9e43c 100644 --- a/app-dicts/canna-2ch/canna-2ch-20030827.ebuild +++ b/app-dicts/canna-2ch/canna-2ch-20030827.ebuild @@ -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 } diff --git a/app-dicts/canna-2ch/canna-2ch-20040519.ebuild b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild index f74c01b6acf3..38918f7084df 100644 --- a/app-dicts/canna-2ch/canna-2ch-20040519.ebuild +++ b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild @@ -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 } diff --git a/app-dicts/canna-2ch/metadata.xml b/app-dicts/canna-2ch/metadata.xml index e4e50f32422d..95f2f679f0e5 100644 --- a/app-dicts/canna-2ch/metadata.xml +++ b/app-dicts/canna-2ch/metadata.xml @@ -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> |