summaryrefslogtreecommitdiff
path: root/dev-perl/tkispell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/tkispell
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/tkispell')
-rw-r--r--dev-perl/tkispell/Manifest6
-rw-r--r--dev-perl/tkispell/files/tkispell-0.18-aspell.patch46
-rw-r--r--dev-perl/tkispell/files/tkispell-0.180.0-aspell.patch31
-rw-r--r--dev-perl/tkispell/metadata.xml12
-rw-r--r--dev-perl/tkispell/tkispell-0.180.0-r1.ebuild35
-rw-r--r--dev-perl/tkispell/tkispell-0.180.0.ebuild23
6 files changed, 153 insertions, 0 deletions
diff --git a/dev-perl/tkispell/Manifest b/dev-perl/tkispell/Manifest
new file mode 100644
index 000000000000..b53aeddd7890
--- /dev/null
+++ b/dev-perl/tkispell/Manifest
@@ -0,0 +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 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/files/tkispell-0.180.0-aspell.patch b/dev-perl/tkispell/files/tkispell-0.180.0-aspell.patch
new file mode 100644
index 000000000000..1db7bd291eff
--- /dev/null
+++ b/dev-perl/tkispell/files/tkispell-0.180.0-aspell.patch
@@ -0,0 +1,31 @@
+diff -ruN tkispell-0.18.orig/Makefile.PL tkispell-0.18/Makefile.PL
+--- tkispell-0.18.orig/Makefile.PL 2004-02-28 20:38:46.000000000 +0100
++++ tkispell-0.18/Makefile.PL 2014-10-11 10:43:09.372002632 +0200
+@@ -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 -ruN tkispell-0.18.orig/tkispell tkispell-0.18/tkispell
+--- tkispell-0.18.orig/tkispell 2004-03-14 03:50:34.000000000 +0100
++++ tkispell-0.18/tkispell 2014-10-11 10:43:58.772005395 +0200
+@@ -14,7 +14,7 @@
+ 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 = '';
diff --git a/dev-perl/tkispell/metadata.xml b/dev-perl/tkispell/metadata.xml
new file mode 100644
index 000000000000..6443d758ddad
--- /dev/null
+++ b/dev-perl/tkispell/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <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
+}
diff --git a/dev-perl/tkispell/tkispell-0.180.0.ebuild b/dev-perl/tkispell/tkispell-0.180.0.ebuild
new file mode 100644
index 000000000000..b8095bc71ced
--- /dev/null
+++ b/dev-perl/tkispell/tkispell-0.180.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=RKIES
+MODULE_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}/${P}-aspell.patch" )