summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2010-07-16 13:54:23 +0000
committerTiziano Müller <dev-zero@gentoo.org>2010-07-16 13:54:23 +0000
commit49431b4a9234fa9d5ec4a8d1accce7c6c2c78bc3 (patch)
treee62211f4d0d76a540221b2cb32db40d878bf9af4 /dev-perl/Mail-Builder
parentversion bump (diff)
downloadgentoo-2-49431b4a9234fa9d5ec4a8d1accce7c6c2c78bc3.tar.gz
gentoo-2-49431b4a9234fa9d5ec4a8d1accce7c6c2c78bc3.tar.bz2
gentoo-2-49431b4a9234fa9d5ec4a8d1accce7c6c2c78bc3.zip
Require perl-core/{version,parent} with perl-5.8.x and a newer version of Email-MessageID. Fixed tests with perl-5.8.x.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Mail-Builder')
-rw-r--r--dev-perl/Mail-Builder/ChangeLog7
-rw-r--r--dev-perl/Mail-Builder/Mail-Builder-1.16.ebuild7
-rw-r--r--dev-perl/Mail-Builder/files/1.16-escape-at-for-perl-5.8.patch14
3 files changed, 24 insertions, 4 deletions
diff --git a/dev-perl/Mail-Builder/ChangeLog b/dev-perl/Mail-Builder/ChangeLog
index 7723b8a64d2a..92f6cda30c49 100644
--- a/dev-perl/Mail-Builder/ChangeLog
+++ b/dev-perl/Mail-Builder/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/Mail-Builder
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Builder/ChangeLog,v 1.1 2010/07/15 08:02:20 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Builder/ChangeLog,v 1.2 2010/07/16 13:54:23 dev-zero Exp $
+
+ 16 Jul 2010; Tiziano Müller <dev-zero@gentoo.org>
+ Mail-Builder-1.16.ebuild, +files/1.16-escape-at-for-perl-5.8.patch:
+ Require perl-core/{version,parent} with perl-5.8.x and a newer version of
+ Email-MessageID. Fixed tests with perl-5.8.x.
*Mail-Builder-1.16 (15 Jul 2010)
diff --git a/dev-perl/Mail-Builder/Mail-Builder-1.16.ebuild b/dev-perl/Mail-Builder/Mail-Builder-1.16.ebuild
index 78943b614344..b404a1c2b501 100644
--- a/dev-perl/Mail-Builder/Mail-Builder-1.16.ebuild
+++ b/dev-perl/Mail-Builder/Mail-Builder-1.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Builder/Mail-Builder-1.16.ebuild,v 1.1 2010/07/15 08:02:20 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-Builder/Mail-Builder-1.16.ebuild,v 1.2 2010/07/16 13:54:23 dev-zero Exp $
EAPI="3"
@@ -16,12 +16,12 @@ IUSE="examples test"
SRC_TEST="do"
-COMMON="dev-lang/perl
+COMMON="|| ( >=dev-lang/perl-5.10.1 ( perl-core/version perl-core/parent ) )
dev-perl/MIME-tools
dev-perl/Class-Accessor
dev-perl/HTML-Tree
dev-perl/MIME-Types
- dev-perl/Email-MessageID
+ >=dev-perl/Email-MessageID-1.40.1
dev-perl/Text-Table
dev-perl/IO-stringy"
DEPEND="${COMMON}
@@ -29,6 +29,7 @@ DEPEND="${COMMON}
dev-perl/Test-Pod-Coverage )"
RDEPEND="${COMMON}"
+PATCHES=("${FILESDIR}/${PV}-escape-at-for-perl-5.8.patch")
src_install() {
mydoc="Changes README"
perl-module_src_install
diff --git a/dev-perl/Mail-Builder/files/1.16-escape-at-for-perl-5.8.patch b/dev-perl/Mail-Builder/files/1.16-escape-at-for-perl-5.8.patch
new file mode 100644
index 000000000000..f1d01be226e2
--- /dev/null
+++ b/dev-perl/Mail-Builder/files/1.16-escape-at-for-perl-5.8.patch
@@ -0,0 +1,14 @@
+diff --git a/t/008_builder.t b/t/008_builder.t
+index bde82ef..5776ba8 100755
+--- a/t/008_builder.t
++++ b/t/008_builder.t
+@@ -139,7 +139,7 @@ is($mime->head->get('Subject'),'Testmail'."\n");
+ is($mime->head->get('From'),'"me" <from2@test.com>'."\n");
+
+ is($mime->head->get('Content-Language'),'de'."\n");
+-like($mime->head->get('Message-ID'),qr/<[0-9A-Za-z.@-]+>/);
++like($mime->head->get('Message-ID'),qr/<[0-9A-Za-z.\@-]+>/);
+ is($mime->parts,2);
+ is($mime->parts(0)->mime_type,'application/pdf');
+ is($mime->parts(1)->mime_type,'text/plain');
+\ No newline at end of file