From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 66C19138334 for ; Sun, 29 Sep 2019 02:56:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6E59E0942; Sun, 29 Sep 2019 02:56:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 905D4E0942 for ; Sun, 29 Sep 2019 02:56:46 +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 8A3C334B6B2 for ; Sun, 29 Sep 2019 02:56:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCDC5800 for ; Sun, 29 Sep 2019 02:56:43 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1569725772.4df9624aac252b98996826438e0615e86686b80e.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/anthy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/anthy/anthy-9100h-r2.ebuild X-VCS-Directories: app-i18n/anthy/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 4df9624aac252b98996826438e0615e86686b80e X-VCS-Branch: master Date: Sun, 29 Sep 2019 02:56:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1bc28d4-9cea-4aeb-a599-69407b6c92b7 X-Archives-Hash: 2b8b4f5690703d71190ad04e8be7c16e commit: 4df9624aac252b98996826438e0615e86686b80e Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Sat Sep 28 01:54:59 2019 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun Sep 29 02:56:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df9624a app-i18n/anthy: Use EAPI="7". Signed-off-by: Arfrever Frehtes Taifersar Arahesis Apache.Org> Signed-off-by: Mike Gilbert gentoo.org> app-i18n/anthy/anthy-9100h-r2.ebuild | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/app-i18n/anthy/anthy-9100h-r2.ebuild b/app-i18n/anthy/anthy-9100h-r2.ebuild index 45d7ba0deb5..2ae79f831a7 100644 --- a/app-i18n/anthy/anthy-9100h-r2.ebuild +++ b/app-i18n/anthy/anthy-9100h-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 2003-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" -inherit elisp-common ltprune +inherit elisp-common DESCRIPTION="Anthy -- free and secure Japanese input system" HOMEPAGE="http://anthy.osdn.jp/" @@ -14,12 +14,16 @@ SLOT="0" KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="canna-2ch emacs static-libs" -RDEPEND="canna-2ch? ( app-dicts/canna-2ch ) +BDEPEND="canna-2ch? ( app-dicts/canna-2ch ) emacs? ( virtual/emacs )" -DEPEND="${RDEPEND}" +DEPEND="" +RDEPEND="${BDEPEND}" -PATCHES=( "${FILESDIR}"/${PN}-anthy_context_t.patch ) -DOCS=( AUTHORS ChangeLog DIARY NEWS README ) +PATCHES=( + "${FILESDIR}/${PN}-anthy_context_t.patch" +) + +DOCS=(AUTHORS ChangeLog DIARY NEWS README) SITEFILE="50${PN}-gentoo.el" @@ -27,27 +31,27 @@ src_prepare() { default if use canna-2ch; then - einfo "Adding nichan.ctd to anthy.dic." - sed -i "/set_input_encoding eucjp/aread ${EPREFIX}/var/lib/canna/dic/canna/nichan.ctd" mkworddic/dict.args.in + einfo "Adding nichan.ctd to anthy.dic" + sed -e "/set_input_encoding eucjp/aread ${EPREFIX}/var/lib/canna/dic/canna/nichan.ctd" -i mkworddic/dict.args.in || die fi } src_configure() { econf \ $(use_enable static-libs static) \ - EMACS=$(usex emacs "${EMACS}") + EMACS="$(usex emacs "${EMACS}")" } src_install() { default - prune_libtool_files + find "${D}" -name "*.la" -type f -delete || die + + rm doc/Makefile* || die + dodoc -r doc if use emacs; then elisp-site-file-install "${FILESDIR}"/${SITEFILE} fi - - rm -f doc/Makefile* - dodoc -r doc } pkg_postinst() {