1 |
commit: 2b22669ee5e1aa64457ddb70fe34e2b405256400 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 4 17:34:20 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 4 17:35:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b22669e |
7 |
|
8 |
dev-perl/WWW-Dict-Leo-Org: Bump to version 2.0.0 |
9 |
|
10 |
Thanks for the report by "Adam" in bug #614664 |
11 |
|
12 |
- Add USE="examples" |
13 |
|
14 |
Upstream: |
15 |
- Generalised lang parsing and passing support |
16 |
- Increased language support |
17 |
- Better Tabular output |
18 |
- Better Error Handling |
19 |
- More Portable |
20 |
- Implementation now uses XML interface instead of removed HTML |
21 |
interface. |
22 |
|
23 |
Bug: https://bugs.gentoo.org/614664 |
24 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
25 |
|
26 |
dev-perl/WWW-Dict-Leo-Org/Manifest | 1 + |
27 |
.../WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.0.0.ebuild | 39 ++++++++++++++++++++++ |
28 |
2 files changed, 40 insertions(+) |
29 |
|
30 |
diff --git a/dev-perl/WWW-Dict-Leo-Org/Manifest b/dev-perl/WWW-Dict-Leo-Org/Manifest |
31 |
index 9ead71c1c52..ab520e81fef 100644 |
32 |
--- a/dev-perl/WWW-Dict-Leo-Org/Manifest |
33 |
+++ b/dev-perl/WWW-Dict-Leo-Org/Manifest |
34 |
@@ -1 +1,2 @@ |
35 |
DIST WWW-Dict-Leo-Org-1.40.tar.gz 13656 SHA256 4285702fd5d3e0633891739cb149b9f950afe4c69ad0a10a9c6e185ff29552da SHA512 1f71e7571eef4f68addf1b999e61bc0ecbe3fd5fc5bf1156c20d1c5018f232d7ed986bbf714bc549865c1cf81e3863b453065234033d8b763768db29f8e565f7 WHIRLPOOL 7b70536cc2ddd040a21a9027910afbbdcedf080fd07f677b410764e2cb24c143acc23fe5ee38122046bd04bf9f4a715b098a336c3edc7f65f8534d152822f13b |
36 |
+DIST WWW-Dict-Leo-Org-2.00.tar.gz 14169 SHA256 36da8827396263791c097724c9545c39877a0b827d1fa7f61463ee54b3c20428 SHA512 7fa523eb1668dd96ec7486eb977851785fec3124be770ae5237f0dd6b27c0cfbafa31b7f5153f68904a2789682c53255b7a48b61c7bf2fbca5fea6d88616e42e WHIRLPOOL 4bb6235f84e95ab76a0a5627f8e0a98bcd84f809a40c4ce63297cf75e35e8fbf47b79e5a6db815e1a028cad26a7fd91ea218a78196198256f1c83e77b7820c49 |
37 |
|
38 |
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 |
39 |
new file mode 100644 |
40 |
index 00000000000..4fa4e9bc515 |
41 |
--- /dev/null |
42 |
+++ b/dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.0.0.ebuild |
43 |
@@ -0,0 +1,39 @@ |
44 |
+# Copyright 1999-2017 Gentoo Foundation |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=6 |
48 |
+ |
49 |
+DIST_AUTHOR=TLINDEN |
50 |
+DIST_VERSION=2.00 |
51 |
+DIST_EXAMPLES=("samples/*") |
52 |
+inherit perl-module |
53 |
+ |
54 |
+DESCRIPTION="Commandline interface to http://dict.leo.org/" |
55 |
+ |
56 |
+LICENSE="GPL-2" |
57 |
+SLOT="0" |
58 |
+KEYWORDS="~amd64 ~x86" |
59 |
+IUSE="" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ virtual/perl-Carp |
63 |
+ dev-perl/HTML-TableParser |
64 |
+ virtual/perl-MIME-Base64 |
65 |
+ dev-perl/XML-Simple |
66 |
+" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ virtual/perl-ExtUtils-MakeMaker |
69 |
+" |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ einfo "Renaming leo to Leo" |
73 |
+ mv "${S}/"{l,L}eo || die |
74 |
+ sed -i "s/'leo'/'Leo'/" "${S}/"Makefile.PL || die |
75 |
+ sed -i "s/^leo$/Leo/" "${S}/"MANIFEST || die |
76 |
+ perl-module_src_prepare |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ elog "We renamed leo to Leo" |
81 |
+ elog "due to conflicts with app-editors/leo" |
82 |
+} |