commit:     e74a25b9076f92e07b2a80357bb6f2185751dbe2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 17 11:25:07 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jul 17 11:25:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74a25b9

app-i18n/anthy: Remove references to app-dicts/canna-2ch

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...anthy-9100h-r2.ebuild => anthy-9100h-r3.ebuild} | 25 ++++++----------------
 app-i18n/anthy/metadata.xml                        |  3 ---
 profiles/arch/arm/package.use.mask                 |  1 -
 profiles/base/use.mask                             |  1 -
 4 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/app-i18n/anthy/anthy-9100h-r2.ebuild 
b/app-i18n/anthy/anthy-9100h-r3.ebuild
similarity index 63%
rename from app-i18n/anthy/anthy-9100h-r2.ebuild
rename to app-i18n/anthy/anthy-9100h-r3.ebuild
index bfd867fdc12..0a4beeca472 100644
--- a/app-i18n/anthy/anthy-9100h-r2.ebuild
+++ b/app-i18n/anthy/anthy-9100h-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2003-2020 Gentoo Authors
+# Copyright 2003-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=7
 
 inherit elisp-common
 
@@ -12,30 +12,17 @@ SRC_URI="mirror://sourceforge.jp/${PN}/37536/${P}.tar.gz"
 LICENSE="GPL-2 LGPL-2.1"
 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"
+IUSE="emacs static-libs"
 
-BDEPEND="canna-2ch? ( app-dicts/canna-2ch )
-       emacs? ( >=app-editors/emacs-23.1:* )"
+BDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
 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"
 
-src_prepare() {
-       default
-
-       if use canna-2ch; then
-               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) \

diff --git a/app-i18n/anthy/metadata.xml b/app-i18n/anthy/metadata.xml
index 7b0ba62c9e0..794feb3174c 100644
--- a/app-i18n/anthy/metadata.xml
+++ b/app-i18n/anthy/metadata.xml
@@ -15,9 +15,6 @@
     and <pkg>app-editors/emacs</pkg> (to enable Anthy support for emacs, build
     this package with emacs USE flag).
   </longdescription>
-  <use>
-    <flag name="canna-2ch">Enable support for 
<pkg>app-dicts/canna-2ch</pkg></flag>
-  </use>
   <upstream>
     <remote-id type="sourceforge-jp">anthy</remote-id>
   </upstream>

diff --git a/profiles/arch/arm/package.use.mask 
b/profiles/arch/arm/package.use.mask
index 626aeb873c6..5646312f480 100644
--- a/profiles/arch/arm/package.use.mask
+++ b/profiles/arch/arm/package.use.mask
@@ -349,7 +349,6 @@ net-vpn/strongswan strongswan_plugins_unbound
 
 # Benda Xu <[email protected]> (2015-01-03)
 # not tested
-app-i18n/anthy canna-2ch
 app-i18n/scim-anthy kasumi
 
 # Markus Meier <[email protected]> (2014-11-29)

diff --git a/profiles/base/use.mask b/profiles/base/use.mask
index ac54fe933f1..b1101daaaaf 100644
--- a/profiles/base/use.mask
+++ b/profiles/base/use.mask
@@ -22,7 +22,6 @@ postgres_targets_postgres9_5
 # Abandoned upstream, last release 17 years ago, unmaintained, tons of
 # QA bugs, eclass is terrible. Bug #796878, removal in 30 days.
 canna
-canna-2ch
 
 # Brian Evans <[email protected]> (2021-01-07)
 # PHP 7.2 is security vulnerable and end-of-life

Reply via email to