summaryrefslogtreecommitdiff
path: root/dev-perl/MIME-Lite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/MIME-Lite
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/MIME-Lite')
-rw-r--r--dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild40
-rw-r--r--dev-perl/MIME-Lite/Manifest6
-rw-r--r--dev-perl/MIME-Lite/files/3.030-makefilepl.patch43
-rw-r--r--dev-perl/MIME-Lite/metadata.xml17
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild b/dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild
new file mode 100644
index 000000000000..bd63ca7705bf
--- /dev/null
+++ b/dev-perl/MIME-Lite/MIME-Lite-3.30.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=RJBS
+DIST_VERSION=3.030
+inherit perl-module
+
+DESCRIPTION="Low-calorie MIME generator"
+
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="minimal"
+
+PATCHES=("${FILESDIR}/${DIST_VERSION}-makefilepl.patch")
+PERL_RM_FILES=(
+ "t/pod.t"
+ "t/pod-coverage.t"
+)
+# MIME::QuotedPrint -> perl-MIME-Base64
+# Mail::Address -> MailTools
+RDEPEND="
+ !minimal? (
+ virtual/perl-MIME-Base64
+ >=dev-perl/MIME-Types-1.280.0
+ >=dev-perl/MailTools-1.620.0
+ )
+ dev-perl/Email-Date-Format
+ virtual/perl-File-Spec
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+src_install() {
+ perl-module_src_install
+ insinto /usr/share/${PN}
+ doins -r contrib
+}
diff --git a/dev-perl/MIME-Lite/Manifest b/dev-perl/MIME-Lite/Manifest
new file mode 100644
index 000000000000..57e5d6a17bd1
--- /dev/null
+++ b/dev-perl/MIME-Lite/Manifest
@@ -0,0 +1,6 @@
+AUX 3.030-makefilepl.patch 1554 SHA256 10dccc557fbf45d00c5e5ffb0cfa9857bcd97d38fe9c5d0baa7a629861f06fd0 SHA512 556df200a8a54501d0267afbd2cce04280c1e2161973c89c0c8c4561ace42ca5b98acff2a216888af9fc4853fb682e73c2388767e7f8d39f763371e670a6b675 WHIRLPOOL 858bfb1b87747e0e8316d3b3a14774522ab85a65dd74116dd38507651d83642fd992684f40cccfed724536a7b6e95f5e7bc5954c6f08572d114a086c28b118bd
+DIST MIME-Lite-3.030.tar.gz 81830 SHA256 8f39901bc580bc3dce69e10415305e4435ff90264c63d29f707b4566460be962 SHA512 978cb234d16afcfc9b2fa16c74de04ee74f3a1050b28f7d380d64c8c8688c6d75452d7bc4c7b2575800455a45cdde477e05e8afe2b962ef2527c3ecc265d1158 WHIRLPOOL d807cb139a74ff97c0544f75342205acc736231fdfe3681f5ed6f864bfc9a4bbd108d5b56c93b6456d98ce721be9a12c5a66e3fd31c62fdf9fe60d5915ac714e
+EBUILD MIME-Lite-3.30.0.ebuild 782 SHA256 cf80e3b5724d88db0f17f41a606b397eb317ee4d0a4c30905a0f14c675f217ba SHA512 661e226f62c74ec8a584cef378644b29de45e045f794713a8d7ac53f5fe60c0c8758ce675804c3494d18fbc81265c6b3d6c506f91840f44172bbe8e2f9966ac8 WHIRLPOOL 87246b47b5a2b127fe62d23fb2170822da707200ed74d875b60b3e256dadf4fcd138aa082a533680932043a7226ead00b30dc0b1422d77d3c0895db0f8ae35f0
+MISC ChangeLog 3082 SHA256 bc47c1d3fad75b0eacede7c551f0abd1ffe6cdae58ea6fe8aa50bb5603ec3c9d SHA512 14b1b65f275a42119d6b6289139a3e027986c5972caaff64d970db9482133d21e113a83b022163ab11b6119012a91d49fa643c0727383034f8b9c6586e14830c WHIRLPOOL 86dd04fb2be737ee52c278ff4c0c250499485938a899b3e1a6d849ae5693dde01f21e2ffc89371b79b66f2a9910ea6131fed2cfbacd87e6d35fc64e27df5373b
+MISC ChangeLog-2015 6050 SHA256 dc8acaebe52181b393d75162d1fe565448a506d4edcba7947b949347cff63f50 SHA512 aa1086274483571a5c121257941bef456452ba328d55b763a1f27cb4ab2e97bcd78f284d7fcb1123af1ba33c17ad7653e4fa8a01edfd46b3307df4cb3253fc45 WHIRLPOOL 3e776a77ea6a4323813cb8dabb4c33d58b0954a2d6066fccbbc5f101e9867b38c0ccf8b335f5930118ed4cac0aeca94c1d0035f66a3b6e432dc2d9d4ef2969c1
+MISC metadata.xml 695 SHA256 e20ab6e340c78ffd930a77bbe665cde8a893cf24dbb06efc7d0c1a1ce6788625 SHA512 ef4c8f1f7dda7c43e898587c1666863d37198e7fafa1a735c1df85a4112784ef5124bfcf6ee6fd4d3d0d0ce93ede1e1bcf626d1ab3e83fa2c17a7d4cb86d4efd WHIRLPOOL bfd6dada184b4ed32575892a619bbc7dfa7e57b728f7dc2a2d8fe5ed1a199f42896f218b5906e224aa90c1b79cd6b04bdf9d4a98f3bf07c77932695187d9d4cc
diff --git a/dev-perl/MIME-Lite/files/3.030-makefilepl.patch b/dev-perl/MIME-Lite/files/3.030-makefilepl.patch
new file mode 100644
index 000000000000..1fea2f7f53a4
--- /dev/null
+++ b/dev-perl/MIME-Lite/files/3.030-makefilepl.patch
@@ -0,0 +1,43 @@
+diff -Naur MIME-Lite-3.030/Makefile.PL MIME-Lite-3.030.new/Makefile.PL
+--- MIME-Lite-3.030/Makefile.PL 2013-11-04 02:04:48.000000000 +0000
++++ MIME-Lite-3.030.new/Makefile.PL 2016-02-22 10:15:49.107771292 +0000
+@@ -5,39 +5,12 @@
+ #------------------------------------------------------------
+ # Makefile:
+ #------------------------------------------------------------
+-my %extra_prereq = (
+- 'Mail::Address' => 1.62,
+- 'MIME::Types' => 1.28,
+- 'MIME::Base64' => undef,
+- 'MIME::QuotedPrint' => undef,
+-);
+-
+-for my $module (sort keys %extra_prereq) {
+- local $@;
+- my $ok = eval "require $module; \$extra_prereq{\$module} && \$module->VERSION(\$extra_prereq{\$module}); 1";
+- delete $extra_prereq{ $module } if $ok;
+-}
+-
+ my %prereq = (
+ 'File::Spec' => 0,
+ 'File::Basename' => 0,
+ 'Email::Date::Format' => '1.000', # first release
+ );
+
+-if (%extra_prereq) {
+- print "MIME::Lite is designed to take advantage of a variety of external modules\n",
+- "if they are not present then MIME::Lite will attempt to do its best\n",
+- "but its strongly recommend that you install them.\n\n",
+- "These modules are:\n",
+- (map {; "\t$_\n" } sort keys %extra_prereq),
+- "I can add these modules to the prereq list which will cause the files to be\n",
+- "automatically installed if they aren't already present\n";
+-
+- if (prompt("Add prereqs?",'Yes')=~/y/i) {
+- %prereq = (%prereq, %extra_prereq);
+- }
+-}
+-
+ # Write the Makefile:
+ WriteMakefile(
+ NAME => 'MIME::Lite',
diff --git a/dev-perl/MIME-Lite/metadata.xml b/dev-perl/MIME-Lite/metadata.xml
new file mode 100644
index 000000000000..844c716250e4
--- /dev/null
+++ b/dev-perl/MIME-Lite/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">MIME-Lite</remote-id>
+ <remote-id type="cpan-module">MIME::Lite</remote-id>
+ <remote-id type="cpan-module">MIME::Lite::IO_Handle</remote-id>
+ <remote-id type="cpan-module">MIME::Lite::IO_Scalar</remote-id>
+ <remote-id type="cpan-module">MIME::Lite::IO_ScalarArray</remote-id>
+ <remote-id type="cpan-module">MIME::Lite::SMTP</remote-id>
+ <remote-id type="cpan-module">MailTool</remote-id>
+ </upstream>
+</pkgmetadata>