Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Format-Human-Bytes/, dev-perl/Format-Human-Bytes/files/
Date: Thu, 17 Sep 2020 15:22:22
Message-Id: 1600356127.94fa4df69e9bdb02119873855de25c0fb68f52f3.kentnl@gentoo
1 commit: 94fa4df69e9bdb02119873855de25c0fb68f52f3
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 15:21:47 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 15:22:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94fa4df6
7
8 dev-perl/Format-Human-Bytes: -r bump for EAPI7
9
10 - EAPI7
11 - Parallel tests
12 - Convert Perl-5.26+ hack to a patch
13 - Improve deps
14
15 Package-Manager: Portage-3.0.4, Repoman-3.0.1
16 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
17
18 .../Format-Human-Bytes-0.60.0-r2.ebuild | 25 ++++++++++++++++++++++
19 .../files/Format-Human-Bytes-0.06-no-dot-inc.patch | 21 ++++++++++++++++++
20 2 files changed, 46 insertions(+)
21
22 diff --git a/dev-perl/Format-Human-Bytes/Format-Human-Bytes-0.60.0-r2.ebuild b/dev-perl/Format-Human-Bytes/Format-Human-Bytes-0.60.0-r2.ebuild
23 new file mode 100644
24 index 00000000000..7398d917c3d
25 --- /dev/null
26 +++ b/dev-perl/Format-Human-Bytes/Format-Human-Bytes-0.60.0-r2.ebuild
27 @@ -0,0 +1,25 @@
28 +# Copyright 1999-2020 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=7
32 +
33 +DIST_AUTHOR=SEWI
34 +DIST_VERSION=0.06
35 +inherit perl-module
36 +
37 +DESCRIPTION="Format a bytecount and make it human readable"
38 +
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86"
41 +IUSE="test"
42 +RESTRICT="!test? ( test )"
43 +
44 +BDEPEND="
45 + >=virtual/perl-ExtUtils-MakeMaker-6.420.0
46 + test? (
47 + virtual/perl-Test-Simple
48 + )
49 +"
50 +PATCHES=(
51 + "${FILESDIR}/${PN}-0.06-no-dot-inc.patch"
52 +)
53
54 diff --git a/dev-perl/Format-Human-Bytes/files/Format-Human-Bytes-0.06-no-dot-inc.patch b/dev-perl/Format-Human-Bytes/files/Format-Human-Bytes-0.06-no-dot-inc.patch
55 new file mode 100644
56 index 00000000000..af43083966c
57 --- /dev/null
58 +++ b/dev-perl/Format-Human-Bytes/files/Format-Human-Bytes-0.06-no-dot-inc.patch
59 @@ -0,0 +1,21 @@
60 +From a1a1935d7951e5baa890dc1150d3112ed79860ba Mon Sep 17 00:00:00 2001
61 +From: Kent Fredric <kentnl@g.o>
62 +Date: Fri, 18 Sep 2020 01:32:16 +1200
63 +Subject: Ensure '.' in @INC on Perl 5.26+
64 +
65 +---
66 + Makefile.PL | 1 +
67 + 1 file changed, 1 insertion(+)
68 +
69 +diff --git a/Makefile.PL b/Makefile.PL
70 +index ee699b3..b5fad9c 100644
71 +--- a/Makefile.PL
72 ++++ b/Makefile.PL
73 +@@ -1,3 +1,4 @@
74 ++use lib '.';
75 + use inc::Module::Install;
76 +
77 + name 'Format-Human-Bytes';
78 +--
79 +2.28.0
80 +