Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/grepmail/
Date: Thu, 06 Jul 2017 16:39:37
Message-Id: 1499359166.c99f2ab9a9656719032f10a3b43bfb7cf0f041c9.dilfridge@gentoo
1 commit: c99f2ab9a9656719032f10a3b43bfb7cf0f041c9
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 6 16:39:10 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 6 16:39:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99f2ab9
7
8 net-mail/grepmail: Add build fix for Perl 5.26, bug 623580
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 net-mail/grepmail/grepmail-5.30.33-r2.ebuild | 31 ++++++++++++++++++++--------
13 1 file changed, 22 insertions(+), 9 deletions(-)
14
15 diff --git a/net-mail/grepmail/grepmail-5.30.33-r2.ebuild b/net-mail/grepmail/grepmail-5.30.33-r2.ebuild
16 index 8944fb7b638..b029483a224 100644
17 --- a/net-mail/grepmail/grepmail-5.30.33-r2.ebuild
18 +++ b/net-mail/grepmail/grepmail-5.30.33-r2.ebuild
19 @@ -1,7 +1,7 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=6
26
27 inherit versionator perl-module
28
29 @@ -15,16 +15,29 @@ SRC_URI="mirror://sourceforge/grepmail/${MY_P}.tar.gz"
30 SLOT="0"
31 LICENSE="GPL-2"
32 KEYWORDS="amd64 ppc x86"
33 -IUSE=""
34 +IUSE="test"
35
36 -RDEPEND="dev-perl/Inline
37 +RDEPEND="
38 + dev-perl/Inline
39 dev-perl/TimeDate
40 dev-perl/Date-Manip
41 virtual/perl-Digest-MD5
42 - >=dev-perl/Mail-Mbox-MessageParser-1.40.01"
43 -DEPEND="${RDEPEND}"
44 + >=dev-perl/Mail-Mbox-MessageParser-1.40.01
45 +"
46 +DEPEND="${RDEPEND}
47 +"
48 +# test? ( dev-perl/Mail-Mbox-MessageParser )
49
50 # 100% failure on running
51 -SRC_TEST="skip"
52 -PATCHES=( "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch
53 - "${FILESDIR}"/5.30.33-midnight.patch )
54 +DIST_TEST="skip"
55 +
56 +PATCHES=(
57 + "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch
58 + "${FILESDIR}"/5.30.33-midnight.patch
59 +)
60 +
61 +src_prepare() {
62 + sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL ||
63 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
64 + perl-module_src_prepare
65 +}