dev-perl/Number-WithError: Add w/ version 1.10.0

Required by dev-perl/Archive-Tar-Wrapper via:
-> dev-perl/Dumbbench

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Kent Fredric
2018-09-07 20:29:13 +12:00
parent e0a5c9be16
commit 166bc76dbe
4 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST Number-WithError-1.01.tar.gz 38949 BLAKE2B 5ec7588f881bd46d329456c56a9b20455ec6d074e6f7531f9a039a7a9af5f121d21d17d9ea7b6bc2db42de2040961bd72d748ffab077816b62b5d9b8e910aaf7 SHA512 8d573801fa6c82b1e1578035f34d3208abc11cdd300563b21ae5a1f229f651e9f0b3f3c277da632ce3f583b86e99918ac0b5498ad3727a19e4d100b7e00df93b

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=SMUELLER
DIST_VERSION=1.01
inherit perl-module
DESCRIPTION="Numbers with error propagation and scientific rounding"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=virtual/perl-Math-BigInt-1.400.0
>=dev-perl/Params-Util-0.100.0
>=dev-perl/prefork-1.0.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.420.0
test? (
dev-perl/Test-LectroTest
>=virtual/perl-Test-Simple-0.470.0
)
"
PATCHES=(
"${FILESDIR}/${PN}-${DIST_VERSION}-no-dot-inc.patch"
)
PERL_RM_FILES=(
"t/00podcover.t"
"t/00pod.t"
)

View File

@@ -0,0 +1,24 @@
From 8c15ff58866e38cb8ce4f7b7ad3ecac941f5863d Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Fri, 7 Sep 2018 20:23:23 +1200
Subject: Fix Makefile.PL to work on perl 5.26+/no-dot-inc perls
Perl 5.26+ have @INC without '.' unless PERL_USE_UNSAFE_INC=1
Perl 5.30+ will have no hack to avoid this problem \o/
---
Makefile.PL | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.PL b/Makefile.PL
index 76b23e1..a3c10b1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,3 +1,4 @@
+use lib '.';
use inc::Module::Install;
name 'Number-WithError';
--
2.17.1

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Number-WithError</remote-id>
<remote-id type="cpan-module">Number::WithError</remote-id>
</upstream>
</pkgmetadata>