summaryrefslogtreecommitdiff
path: root/dev-perl/tkispell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-23 04:19:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-23 04:19:44 +0000
commitc5283d322accc6097afec74eab24550829788bab (patch)
treeb99ce668128d82a026eaa31461643f9173f9b77b /dev-perl/tkispell
parent5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff)
gentoo resync : 23.03.2018
Diffstat (limited to 'dev-perl/tkispell')
-rw-r--r--dev-perl/tkispell/Manifest4
-rw-r--r--dev-perl/tkispell/files/tkispell-0.18-aspell.patch46
-rw-r--r--dev-perl/tkispell/metadata.xml4
-rw-r--r--dev-perl/tkispell/tkispell-0.180.0-r1.ebuild35
4 files changed, 88 insertions, 1 deletions
diff --git a/dev-perl/tkispell/Manifest b/dev-perl/tkispell/Manifest
index d70ca9c155ce..b53aeddd7890 100644
--- a/dev-perl/tkispell/Manifest
+++ b/dev-perl/tkispell/Manifest
@@ -1,4 +1,6 @@
+AUX tkispell-0.18-aspell.patch 1574 BLAKE2B 43027d0ff663c3d51ca82814dc0508473c9840b97c2f99239612c45e7b0e5d333ce1bc825f3d819f91eb58bd4c63bcc6a6d2cc815b533f51a03ed86ef984f573 SHA512 2da8d74a43aff400a878fe568e287d7fd3d96611f5c9303cc1514c253d9972664b391063f9665f348f9bcd4affa568d7aa96a3bf5582523b9b3bd61186eba8c1
AUX tkispell-0.180.0-aspell.patch 1411 BLAKE2B a36c5a371ee06f578bbe542f8e690593466dfb57dcf4d227f65b3c147173d721389c991936f7169582e2e735b64b7781a530788d4f4b1c3ffa762f4920c152b4 SHA512 e9869b12e9a207412d1444ae3d45173ee9e58828f8f20b9c73fdf6c82db25b2590d250a80b500b5e801d64520dadffdb04c64ae35e0a3d3dc752ccbe42b6889d
DIST tkispell-0.18.tar.gz 16067 BLAKE2B 314165e586868135e7209360aafdf908aadb93fca5d94e8fa1e05f46e7f6e31fe24b198fdab470082deadbc0deba91820604884b469adc700cff500c261f88ce SHA512 15a32367c53b36217a5c57d1b109b304c5b97e4c46b4ab64cbce66c99c46a651af5d376a8219e35c6ec909250040e7be1e4d073546a893ff25650187ca561e08
+EBUILD tkispell-0.180.0-r1.ebuild 711 BLAKE2B 4d3b5907cd70dd7f5eb2257e50c8c7f3d31f328b2bd7c179ef6b5aa5c32e383a91b7b965ebd76bc41806ac766dd18b7cd39af17fc8fe42235734156b44961698 SHA512 3fcc4406bbb8af1a9dc5b19a4207426d5029afe5c8e91e085a196991fd0478252b4749b4cb83edae5df78ac6948d2a8fe73780ae8a700d1f1ee2ef2b2e24feb3
EBUILD tkispell-0.180.0.ebuild 393 BLAKE2B 258baaaf442dd5e711be63c897f1e84c835ee9e5eb53e1bed8505a5b96c9de922eeffda4f2a6dc3e71ebb36bebb5d689bf2f0c479752d02984bbc2d4b69c9439 SHA512 d984424cf1614a26d1e8cf8c407e7e1578556b83edc75fabdc29cbf2cd7aa7b21ae88b2a2c1446e2b3ed136f2b4a83485e8acdc4f9bdcd3663c603b2cf07c360
-MISC metadata.xml 257 BLAKE2B 04035438572dc9c398ed29172f6454a150c86d72e6cad7947b0adb3ec8fcc084c68530bca43988c6e1683f4b89d4698796cbe212e9a44b5dfe1908999a8444f0 SHA512 80cde0da56c3ac4023da7b0c17c62eae85139aaefd8ba453dd0c0718da1d40102c57d5beb5b8f984dcbeacad930517347e4d91dd5bd94e973fb81974d078a18e
+MISC metadata.xml 399 BLAKE2B f0715191b4e7c991a9858c00dae64f7bf960219e7dea1f30a79febe63f3b784fab90538b25591495ab37759ae1d0f012d39266260baa319f368d70a681edaf7a SHA512 3b602ed98f74a9a1d7c0053426a4daed193ebc3aa322dd65910916621853a35ac33ff71f6411d517901a7aafb3cdd13443c2baf4217bafc21272be32e79332c5
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 000000000000..14c080db3cf3
--- /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?= <dilfridge@gentoo.org>
+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 2b9a936fc0a1..6443d758ddad 100644
--- a/dev-perl/tkispell/metadata.xml
+++ b/dev-perl/tkispell/metadata.xml
@@ -5,4 +5,8 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
+ <upstream>
+ <remote-id type="cpan">tkispell</remote-id>
+ <remote-id type="cpan-module">Tk::SimpleFileSelect</remote-id>
+ </upstream>
</pkgmetadata>
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 000000000000..0522d6010a95
--- /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
+}