commit:     2b22669ee5e1aa64457ddb70fe34e2b405256400
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  4 17:34:20 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Apr  4 17:35:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b22669e

dev-perl/WWW-Dict-Leo-Org: Bump to version 2.0.0

Thanks for the report by "Adam" in bug #614664

- Add USE="examples"

Upstream:
- Generalised lang parsing and passing support
- Increased language support
- Better Tabular output
- Better Error Handling
- More Portable
- Implementation now uses XML interface instead of removed HTML
  interface.

Bug: https://bugs.gentoo.org/614664
Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-perl/WWW-Dict-Leo-Org/Manifest                 |  1 +
 .../WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.0.0.ebuild | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-perl/WWW-Dict-Leo-Org/Manifest 
b/dev-perl/WWW-Dict-Leo-Org/Manifest
index 9ead71c1c52..ab520e81fef 100644
--- a/dev-perl/WWW-Dict-Leo-Org/Manifest
+++ b/dev-perl/WWW-Dict-Leo-Org/Manifest
@@ -1 +1,2 @@
 DIST WWW-Dict-Leo-Org-1.40.tar.gz 13656 SHA256 
4285702fd5d3e0633891739cb149b9f950afe4c69ad0a10a9c6e185ff29552da SHA512 
1f71e7571eef4f68addf1b999e61bc0ecbe3fd5fc5bf1156c20d1c5018f232d7ed986bbf714bc549865c1cf81e3863b453065234033d8b763768db29f8e565f7
 WHIRLPOOL 
7b70536cc2ddd040a21a9027910afbbdcedf080fd07f677b410764e2cb24c143acc23fe5ee38122046bd04bf9f4a715b098a336c3edc7f65f8534d152822f13b
+DIST WWW-Dict-Leo-Org-2.00.tar.gz 14169 SHA256 
36da8827396263791c097724c9545c39877a0b827d1fa7f61463ee54b3c20428 SHA512 
7fa523eb1668dd96ec7486eb977851785fec3124be770ae5237f0dd6b27c0cfbafa31b7f5153f68904a2789682c53255b7a48b61c7bf2fbca5fea6d88616e42e
 WHIRLPOOL 
4bb6235f84e95ab76a0a5627f8e0a98bcd84f809a40c4ce63297cf75e35e8fbf47b79e5a6db815e1a028cad26a7fd91ea218a78196198256f1c83e77b7820c49

diff --git a/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.0.0.ebuild 
b/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.0.0.ebuild
new file mode 100644
index 00000000000..4fa4e9bc515
--- /dev/null
+++ b/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=TLINDEN
+DIST_VERSION=2.00
+DIST_EXAMPLES=("samples/*")
+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-MIME-Base64
+       dev-perl/XML-Simple
+"
+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"
+}

Reply via email to