1 |
commit: 1258ab0a1ca6313b29629213823cc32effe95e88 |
2 |
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 22 10:20:59 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 08:39:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1258ab0a |
7 |
|
8 |
dev-perl/MIME-Lite: Bump to version 3.30.0 |
9 |
|
10 |
- use EAPI6 |
11 |
- Patch out mess in Makefile.PL |
12 |
- Patch out bad tests |
13 |
|
14 |
Package-Manager: portage-2.2.27 |
15 |
|
16 |
dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild | 41 +++++++++++++++++++++++ |
17 |
dev-perl/MIME-Lite/Manifest | 1 + |
18 |
dev-perl/MIME-Lite/files/3.030-makefilepl.patch | 43 +++++++++++++++++++++++++ |
19 |
3 files changed, 85 insertions(+) |
20 |
|
21 |
diff --git a/dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild b/dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild |
22 |
new file mode 100644 |
23 |
index 0000000..2b425cf |
24 |
--- /dev/null |
25 |
+++ b/dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild |
26 |
@@ -0,0 +1,41 @@ |
27 |
+# Copyright 1999-2016 Gentoo Foundation |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+# $Id$ |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+DIST_AUTHOR=RJBS |
34 |
+DIST_VERSION=3.030 |
35 |
+inherit perl-module |
36 |
+ |
37 |
+DESCRIPTION="Low-calorie MIME generator" |
38 |
+ |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
41 |
+IUSE="minimal" |
42 |
+ |
43 |
+PATCHES=("${FILESDIR}/${DIST_VERSION}-makefilepl.patch") |
44 |
+PERL_RM_FILES=( |
45 |
+ "t/pod.t" |
46 |
+ "t/pod-coverage.t" |
47 |
+) |
48 |
+# MIME::QuotedPrint -> perl-MIME-Base64 |
49 |
+# Mail::Address -> MailTools |
50 |
+RDEPEND=" |
51 |
+ !minimal? ( |
52 |
+ virtual/perl-MIME-Base64 |
53 |
+ >=dev-perl/MIME-Types-1.280.0 |
54 |
+ >=dev-perl/MailTools-1.620.0 |
55 |
+ ) |
56 |
+ dev-perl/Email-Date-Format |
57 |
+ virtual/perl-File-Spec |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ virtual/perl-ExtUtils-MakeMaker |
61 |
+" |
62 |
+ |
63 |
+src_install() { |
64 |
+ perl-module_src_install |
65 |
+ insinto /usr/share/${PN} |
66 |
+ doins -r contrib |
67 |
+} |
68 |
|
69 |
diff --git a/dev-perl/MIME-Lite/Manifest b/dev-perl/MIME-Lite/Manifest |
70 |
index cbaf7b1..4fb303b 100644 |
71 |
--- a/dev-perl/MIME-Lite/Manifest |
72 |
+++ b/dev-perl/MIME-Lite/Manifest |
73 |
@@ -1 +1,2 @@ |
74 |
DIST MIME-Lite-3.029.tar.gz 64651 SHA256 79cc876ccedcf928c89d232c6bdba8894014c6c37003b4ab5adc03a7de11c87f SHA512 b60a435d9db3db2c4622a801418af21a499381b4e1d42e67383661211e82aeff341588a4570bc51cfed5c8b44c54c657eb64995caf61405c6aabd1b4c0859153 WHIRLPOOL e81b6b4b3a6e4d63a69cf8b79bdeaf8a853f2db1e914278781554e600811a592c6a2c94ad69bb0ec07c729b2a8dc8bd401407b72158896cd65de6f3d64c9b346 |
75 |
+DIST MIME-Lite-3.030.tar.gz 81830 SHA256 8f39901bc580bc3dce69e10415305e4435ff90264c63d29f707b4566460be962 SHA512 978cb234d16afcfc9b2fa16c74de04ee74f3a1050b28f7d380d64c8c8688c6d75452d7bc4c7b2575800455a45cdde477e05e8afe2b962ef2527c3ecc265d1158 WHIRLPOOL d807cb139a74ff97c0544f75342205acc736231fdfe3681f5ed6f864bfc9a4bbd108d5b56c93b6456d98ce721be9a12c5a66e3fd31c62fdf9fe60d5915ac714e |
76 |
|
77 |
diff --git a/dev-perl/MIME-Lite/files/3.030-makefilepl.patch b/dev-perl/MIME-Lite/files/3.030-makefilepl.patch |
78 |
new file mode 100644 |
79 |
index 0000000..1fea2f7 |
80 |
--- /dev/null |
81 |
+++ b/dev-perl/MIME-Lite/files/3.030-makefilepl.patch |
82 |
@@ -0,0 +1,43 @@ |
83 |
+diff -Naur MIME-Lite-3.030/Makefile.PL MIME-Lite-3.030.new/Makefile.PL |
84 |
+--- MIME-Lite-3.030/Makefile.PL 2013-11-04 02:04:48.000000000 +0000 |
85 |
++++ MIME-Lite-3.030.new/Makefile.PL 2016-02-22 10:15:49.107771292 +0000 |
86 |
+@@ -5,39 +5,12 @@ |
87 |
+ #------------------------------------------------------------ |
88 |
+ # Makefile: |
89 |
+ #------------------------------------------------------------ |
90 |
+-my %extra_prereq = ( |
91 |
+- 'Mail::Address' => 1.62, |
92 |
+- 'MIME::Types' => 1.28, |
93 |
+- 'MIME::Base64' => undef, |
94 |
+- 'MIME::QuotedPrint' => undef, |
95 |
+-); |
96 |
+- |
97 |
+-for my $module (sort keys %extra_prereq) { |
98 |
+- local $@; |
99 |
+- my $ok = eval "require $module; \$extra_prereq{\$module} && \$module->VERSION(\$extra_prereq{\$module}); 1"; |
100 |
+- delete $extra_prereq{ $module } if $ok; |
101 |
+-} |
102 |
+- |
103 |
+ my %prereq = ( |
104 |
+ 'File::Spec' => 0, |
105 |
+ 'File::Basename' => 0, |
106 |
+ 'Email::Date::Format' => '1.000', # first release |
107 |
+ ); |
108 |
+ |
109 |
+-if (%extra_prereq) { |
110 |
+- print "MIME::Lite is designed to take advantage of a variety of external modules\n", |
111 |
+- "if they are not present then MIME::Lite will attempt to do its best\n", |
112 |
+- "but its strongly recommend that you install them.\n\n", |
113 |
+- "These modules are:\n", |
114 |
+- (map {; "\t$_\n" } sort keys %extra_prereq), |
115 |
+- "I can add these modules to the prereq list which will cause the files to be\n", |
116 |
+- "automatically installed if they aren't already present\n"; |
117 |
+- |
118 |
+- if (prompt("Add prereqs?",'Yes')=~/y/i) { |
119 |
+- %prereq = (%prereq, %extra_prereq); |
120 |
+- } |
121 |
+-} |
122 |
+- |
123 |
+ # Write the Makefile: |
124 |
+ WriteMakefile( |
125 |
+ NAME => 'MIME::Lite', |