1 |
commit: 24155fec91083bc45ebf5dc5e97a5dd9cc782d4a |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 4 16:18:53 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 4 16:36:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24155fec |
7 |
|
8 |
dev-perl/MIME-Lite: Version bump 3.033 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
dev-perl/MIME-Lite/MIME-Lite-3.33.0.ebuild | 45 +++++++++++++++++++++++++ |
14 |
dev-perl/MIME-Lite/Manifest | 1 + |
15 |
dev-perl/MIME-Lite/files/3.033-makefilepl.patch | 43 +++++++++++++++++++++++ |
16 |
3 files changed, 89 insertions(+) |
17 |
|
18 |
diff --git a/dev-perl/MIME-Lite/MIME-Lite-3.33.0.ebuild b/dev-perl/MIME-Lite/MIME-Lite-3.33.0.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..61331ec36a6 |
21 |
--- /dev/null |
22 |
+++ b/dev-perl/MIME-Lite/MIME-Lite-3.33.0.ebuild |
23 |
@@ -0,0 +1,45 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+DIST_AUTHOR=RJBS |
30 |
+DIST_VERSION=3.033 |
31 |
+inherit perl-module |
32 |
+ |
33 |
+DESCRIPTION="Low-calorie MIME generator" |
34 |
+ |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
37 |
+IUSE="minimal" |
38 |
+ |
39 |
+PATCHES=( "${FILESDIR}/3.033-makefilepl.patch" ) |
40 |
+ |
41 |
+PERL_RM_FILES=( |
42 |
+ "t/pod.t" |
43 |
+ "t/pod-coverage.t" |
44 |
+) |
45 |
+ |
46 |
+# MIME::QuotedPrint -> perl-MIME-Base64 |
47 |
+# Mail::Address -> MailTools |
48 |
+RDEPEND=" |
49 |
+ !minimal? ( |
50 |
+ virtual/perl-MIME-Base64 |
51 |
+ >=dev-perl/MIME-Types-1.280.0 |
52 |
+ >=dev-perl/MailTools-1.620.0 |
53 |
+ ) |
54 |
+ dev-perl/Email-Date-Format |
55 |
+ virtual/perl-File-Spec |
56 |
+" |
57 |
+BDEPEND="${RDEPEND} |
58 |
+ virtual/perl-ExtUtils-MakeMaker |
59 |
+" |
60 |
+ |
61 |
+# Race condition in "testout" directory creation |
62 |
+DIST_TEST="do" |
63 |
+ |
64 |
+src_install() { |
65 |
+ perl-module_src_install |
66 |
+ insinto /usr/share/${PN} |
67 |
+ doins -r contrib |
68 |
+} |
69 |
|
70 |
diff --git a/dev-perl/MIME-Lite/Manifest b/dev-perl/MIME-Lite/Manifest |
71 |
index b0429a01c88..7e344d06a35 100644 |
72 |
--- a/dev-perl/MIME-Lite/Manifest |
73 |
+++ b/dev-perl/MIME-Lite/Manifest |
74 |
@@ -1 +1,2 @@ |
75 |
DIST MIME-Lite-3.030.tar.gz 81830 BLAKE2B c82fa81140725c0447fecce1f1033ed0677e1b80b6b16be7ed2567d4a71ef14fd341c367fc283242fbc4f480b48fd85859bc1660b2c12256cfe309960caf5c56 SHA512 978cb234d16afcfc9b2fa16c74de04ee74f3a1050b28f7d380d64c8c8688c6d75452d7bc4c7b2575800455a45cdde477e05e8afe2b962ef2527c3ecc265d1158 |
76 |
+DIST MIME-Lite-3.033.tar.gz 82715 BLAKE2B 306f641c62605559f768f45f4ceafc5267326fb475eabf45ce8e344a430117f0b335ff7939bec90343a5c23498832743de99a799d59149f26468516c4b088362 SHA512 315fbe01a432e67953305fb1db70aa337d3c7e1710087196535e108fbb516cf868a277acc693afbbc34ffa135386c6a784ddf4c1de0359fbe6c6339b26aac878 |
77 |
|
78 |
diff --git a/dev-perl/MIME-Lite/files/3.033-makefilepl.patch b/dev-perl/MIME-Lite/files/3.033-makefilepl.patch |
79 |
new file mode 100644 |
80 |
index 00000000000..3a1c6527a74 |
81 |
--- /dev/null |
82 |
+++ b/dev-perl/MIME-Lite/files/3.033-makefilepl.patch |
83 |
@@ -0,0 +1,43 @@ |
84 |
+diff -ruN MIME-Lite-3.033.orig/Makefile.PL MIME-Lite-3.033/Makefile.PL |
85 |
+--- MIME-Lite-3.033.orig/Makefile.PL 2021-05-30 00:02:41.000000000 +0200 |
86 |
++++ MIME-Lite-3.033/Makefile.PL 2021-07-04 18:17:45.413495198 +0200 |
87 |
+@@ -6,39 +6,12 @@ |
88 |
+ #------------------------------------------------------------ |
89 |
+ # Makefile: |
90 |
+ #------------------------------------------------------------ |
91 |
+-my %extra_prereq = ( |
92 |
+- 'Mail::Address' => 1.62, |
93 |
+- 'MIME::Types' => 1.28, |
94 |
+- 'MIME::Base64' => 0, |
95 |
+- 'MIME::QuotedPrint' => 0, |
96 |
+-); |
97 |
+- |
98 |
+ my %prereq = ( |
99 |
+ 'File::Spec' => 0, |
100 |
+ 'File::Basename' => 0, |
101 |
+ 'Email::Date::Format' => '1.000', # first release |
102 |
+ ); |
103 |
+ |
104 |
+-for my $module (sort keys %extra_prereq) { |
105 |
+- local $@; |
106 |
+- my $ok = eval "require $module; \$extra_prereq{\$module} && \$module->VERSION(\$extra_prereq{\$module}); 1"; |
107 |
+- $prereq{ $module } = delete $extra_prereq{ $module } if $ok; |
108 |
+-} |
109 |
+- |
110 |
+-if (%extra_prereq) { |
111 |
+- print "MIME::Lite is designed to take advantage of a variety of external modules\n", |
112 |
+- "if they are not present then MIME::Lite will attempt to do its best\n", |
113 |
+- "but its strongly recommend that you install them.\n\n", |
114 |
+- "These modules are:\n", |
115 |
+- (map {; "\t$_\n" } sort keys %extra_prereq), |
116 |
+- "I can add these modules to the prereq list which will cause the files to be\n", |
117 |
+- "automatically installed if they aren't already present\n"; |
118 |
+- |
119 |
+- if (prompt("Add prereqs?",'Yes')=~/y/i) { |
120 |
+- %prereq = (%prereq, %extra_prereq); |
121 |
+- } |
122 |
+-} |
123 |
+- |
124 |
+ # Write the Makefile: |
125 |
+ WriteMakefile( |
126 |
+ NAME => 'MIME::Lite', |