public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Format-Human-Bytes/, dev-perl/Format-Human-Bytes/files/
@ 2020-09-17 15:22 Kent Fredric
  0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2020-09-17 15:22 UTC (permalink / raw
  To: gentoo-commits

commit:     94fa4df69e9bdb02119873855de25c0fb68f52f3
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 15:21:47 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 15:22:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94fa4df6

dev-perl/Format-Human-Bytes: -r bump for EAPI7

- EAPI7
- Parallel tests
- Convert Perl-5.26+ hack to a patch
- Improve deps

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 .../Format-Human-Bytes-0.60.0-r2.ebuild            | 25 ++++++++++++++++++++++
 .../files/Format-Human-Bytes-0.06-no-dot-inc.patch | 21 ++++++++++++++++++
 2 files changed, 46 insertions(+)

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
new file mode 100644
index 00000000000..7398d917c3d
--- /dev/null
+++ b/dev-perl/Format-Human-Bytes/Format-Human-Bytes-0.60.0-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=SEWI
+DIST_VERSION=0.06
+inherit perl-module
+
+DESCRIPTION="Format a bytecount and make it human readable"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	>=virtual/perl-ExtUtils-MakeMaker-6.420.0
+	test? (
+		virtual/perl-Test-Simple
+	)
+"
+PATCHES=(
+	"${FILESDIR}/${PN}-0.06-no-dot-inc.patch"
+)

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
new file mode 100644
index 00000000000..af43083966c
--- /dev/null
+++ b/dev-perl/Format-Human-Bytes/files/Format-Human-Bytes-0.06-no-dot-inc.patch
@@ -0,0 +1,21 @@
+From a1a1935d7951e5baa890dc1150d3112ed79860ba Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Fri, 18 Sep 2020 01:32:16 +1200
+Subject: Ensure '.' in @INC on Perl 5.26+
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index ee699b3..b5fad9c 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ 
+ name     'Format-Human-Bytes';
+-- 
+2.28.0
+


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-17 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-17 15:22 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Format-Human-Bytes/, dev-perl/Format-Human-Bytes/files/ Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox