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: dev-perl/MogileFS-Client-Async/
Date: Fri, 30 Jun 2017 23:29:13
Message-Id: 1498865337.344f02daef95220239bcb170d4fdc081a90499bd.dilfridge@gentoo
1 commit: 344f02daef95220239bcb170d4fdc081a90499bd
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 30 23:28:57 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 30 23:28:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344f02da
7
8 dev-perl/MogileFS-Client-Async: Add build fix for Perl 5.26, bug 617138
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 .../MogileFS-Client-Async-0.030.0-r1.ebuild | 22 +++++++++++++++-------
13 1 file changed, 15 insertions(+), 7 deletions(-)
14
15 diff --git a/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild b/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild
16 index a3d5766e320..47d6e47d6de 100644
17 --- a/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild
18 +++ b/dev-perl/MogileFS-Client-Async/MogileFS-Client-Async-0.030.0-r1.ebuild
19 @@ -1,10 +1,10 @@
20 -# Copyright 1999-2014 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 -MODULE_AUTHOR=DLAMBLEY
28 -MODULE_VERSION=${PV%.0}
29 +DIST_AUTHOR=DLAMBLEY
30 +DIST_VERSION=${PV%.0}
31 inherit perl-module
32
33 DESCRIPTION="MogileFS Client using AnyEvent non-blocking IO"
34 @@ -13,14 +13,22 @@ SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36 IUSE=""
37
38 -RDEPEND="dev-perl/IO-AIO
39 +RDEPEND="
40 + dev-perl/IO-AIO
41 dev-perl/AnyEvent
42 dev-perl/AnyEvent-HTTP
43 dev-perl/File-Slurp
44 >=dev-perl/MogileFS-Client-1.16
45 dev-perl/Try-Tiny
46 - dev-perl/namespace-clean"
47 + dev-perl/namespace-clean
48 +"
49 DEPEND="${RDEPEND}"
50
51 # Tests only available if you have a local mogilefsd on 127.0.0.1:7001
52 -#SRC_TEST="do"
53 +DIST_TEST=skip
54 +
55 +src_prepare() {
56 + sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL ||
57 + die "Can't patch Makefile.PL for 5.26 dot-in-inc"
58 + perl-module_src_prepare
59 +}