summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-04-26 00:25:05 +1200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-04-26 22:02:54 +0200
commit7d5b9baf96416c0bff88398fd61f12b75f664291 (patch)
treee3c81b73094974622e252f263407c6d90c729f45 /dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-1.400.0.ebuild
parentdev-perl/Variable-Magic: Bump to version 0.590.0 (diff)
downloadgentoo-7d5b9baf96416c0bff88398fd61f12b75f664291.tar.gz
gentoo-7d5b9baf96416c0bff88398fd61f12b75f664291.tar.bz2
gentoo-7d5b9baf96416c0bff88398fd61f12b75f664291.zip
dev-perl/WWW-Dict-Leo-Org: Bump to version 1.400.0
- EAPI6 - Handle case conversion in src_prepare to ensure packlist is correct Upstream: - Error handling improved - Packaging enhancements. Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
Diffstat (limited to 'dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-1.400.0.ebuild')
-rw-r--r--dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-1.400.0.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-1.400.0.ebuild b/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-1.400.0.ebuild
new file mode 100644
index 000000000000..8a5b04634ea1
--- /dev/null
+++ b/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-1.400.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=TLINDEN
+DIST_VERSION=1.40
+inherit perl-module
+
+DESCRIPTION="Commandline interface to http://dict.leo.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ virtual/perl-Carp
+ dev-perl/HTML-TableParser
+ virtual/perl-DB_File"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+src_prepare() {
+ einfo "Renaming leo to Leo"
+ mv "${S}/"{l,L}eo || die
+ sed -i "s/'leo'/'Leo'/" "${S}/"Makefile.PL || die
+ sed -i "s/^leo$/Leo/" "${S}/"MANIFEST || die
+ perl-module_src_prepare
+}
+
+pkg_postinst() {
+ elog "We renamed leo to Leo"
+ elog "due to conflicts with app-editors/leo"
+}