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 D71141382C5 for ; Sun, 18 Mar 2018 08:01:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3F5AE0798; Sun, 18 Mar 2018 08:01:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 77445E0798 for ; Sun, 18 Mar 2018 08:01:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 523D8335CA1 for ; Sun, 18 Mar 2018 08:01:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC02C25C for ; Sun, 18 Mar 2018 08:01:43 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1521360076.81e4aceb9f9caa0fe4b68bbc67fce8ae73b364ea.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/tkispell/files/, dev-perl/tkispell/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/tkispell/files/tkispell-0.18-aspell.patch dev-perl/tkispell/metadata.xml dev-perl/tkispell/tkispell-0.180.0-r1.ebuild X-VCS-Directories: dev-perl/tkispell/ dev-perl/tkispell/files/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 81e4aceb9f9caa0fe4b68bbc67fce8ae73b364ea X-VCS-Branch: master Date: Sun, 18 Mar 2018 08:01: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-Archives-Salt: b010aada-c820-4747-a1c7-00659000002f X-Archives-Hash: 8d71c5271e55d703f764c9332428fa6c commit: 81e4aceb9f9caa0fe4b68bbc67fce8ae73b364ea Author: Kent Fredric gentoo org> AuthorDate: Sun Mar 18 08:00:12 2018 +0000 Commit: Kent Fredric gentoo org> CommitDate: Sun Mar 18 08:01:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81e4aceb dev-perl/tkispell: EAPI6 + tests - EAPI6ify - Add basic compile tests - Make patch -p1/git am compatible - Remove extra whitespace from patch - Add missing CPAN remote-id's Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-perl/tkispell/files/tkispell-0.18-aspell.patch | 46 ++++++++++++++++++++++ dev-perl/tkispell/metadata.xml | 4 ++ dev-perl/tkispell/tkispell-0.180.0-r1.ebuild | 35 ++++++++++++++++ 3 files changed, 85 insertions(+) diff --git a/dev-perl/tkispell/files/tkispell-0.18-aspell.patch b/dev-perl/tkispell/files/tkispell-0.18-aspell.patch new file mode 100644 index 00000000000..14c080db3cf --- /dev/null +++ b/dev-perl/tkispell/files/tkispell-0.18-aspell.patch @@ -0,0 +1,46 @@ +From ed7ede66c01fbae6c5de0e6dc28d991a1f27016c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= +Date: Sat, 11 Oct 2014 21:48:27 +1300 +Subject: Patch to use aspell instead of ispell + +--- + Makefile.PL | 8 ++++---- + tkispell | 2 +- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index 4cebdea..8a49493 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,11 +1,11 @@ + use ExtUtils::MakeMaker; + +-my $ispell_bin = `which ispell`; ++my $ispell_bin = `which ispell-aspell`; + # The first match is for Solaris which. The second is for + # Linux which. +-if (($ispell_bin =~ /no ispell/) || (length($ispell_bin) == 0)) { +- print "Could not find locate ispell. Make sure that\n"; +- print "the ispell program is installed in a directory\n"; ++if (($ispell_bin =~ /no ispell-aspell/) || (length($ispell_bin) == 0)) { ++ print "Could not find locate ispell-aspell. Make sure that\n"; ++ print "the ispell-aspell program is installed in a directory\n"; + print "named in the PATH environment variable.\n"; + exit 1; + } +diff --git a/tkispell b/tkispell +index fbc6cc7..6bde051 100644 +--- a/tkispell ++++ b/tkispell +@@ -14,7 +14,7 @@ my $lang = $ENV{LANG}; + if ($lang =~ /^C$/ || ! defined ($lang)) {$lang = 'default'; } + my $hdict = $ENV{HOME}."/.ispell_$lang"; # Personal dictionary. + +-my $ispell_prog = `which ispell`; ++my $ispell_prog = `which ispell-aspell`; + chomp $ispell_prog; + my ($cw, $b1, @misspelledlist, @replacementlist, @addlist, $midx); + my $ifname = ''; +-- +2.16.2 + diff --git a/dev-perl/tkispell/metadata.xml b/dev-perl/tkispell/metadata.xml index 2b9a936fc0a..6443d758dda 100644 --- a/dev-perl/tkispell/metadata.xml +++ b/dev-perl/tkispell/metadata.xml @@ -5,4 +5,8 @@ perl@gentoo.org Gentoo Perl Project + + tkispell + Tk::SimpleFileSelect + diff --git a/dev-perl/tkispell/tkispell-0.180.0-r1.ebuild b/dev-perl/tkispell/tkispell-0.180.0-r1.ebuild new file mode 100644 index 00000000000..0522d6010a9 --- /dev/null +++ b/dev-perl/tkispell/tkispell-0.180.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=RKIES +DIST_VERSION=0.18 +inherit perl-module + +DESCRIPTION="Perl/Tk user interface for ispell" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + app-text/aspell + dev-perl/Tk + virtual/perl-Carp +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-0.18-aspell.patch" ) + +src_test() { + ebegin "Compile testing Tk::SimpleFileSelect 0.68" + perl -Mblib="${S}" -M"Tk::SimpleFileSelect 0.68 ()" -e1 + if ! eend $?; then + echo + eerror "One or more modules failed compile:"; + eerror " Tk::SimpleFileSelect 0.68" + die "Failing due to module compilation errors"; + fi + perl-module_src_test +}