1 |
commit: 166bc76dbefd657f31b94c3e677c269e841d320e |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 7 08:29:13 2018 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 7 10:02:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166bc76d |
7 |
|
8 |
dev-perl/Number-WithError: Add w/ version 1.10.0 |
9 |
|
10 |
Required by dev-perl/Archive-Tar-Wrapper via: |
11 |
-> dev-perl/Dumbbench |
12 |
|
13 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
14 |
|
15 |
dev-perl/Number-WithError/Manifest | 1 + |
16 |
.../Number-WithError-1.10.0.ebuild | 33 ++++++++++++++++++++++ |
17 |
.../files/Number-WithError-1.01-no-dot-inc.patch | 24 ++++++++++++++++ |
18 |
dev-perl/Number-WithError/metadata.xml | 12 ++++++++ |
19 |
4 files changed, 70 insertions(+) |
20 |
|
21 |
diff --git a/dev-perl/Number-WithError/Manifest b/dev-perl/Number-WithError/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..4d0106e898f |
24 |
--- /dev/null |
25 |
+++ b/dev-perl/Number-WithError/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST Number-WithError-1.01.tar.gz 38949 BLAKE2B 5ec7588f881bd46d329456c56a9b20455ec6d074e6f7531f9a039a7a9af5f121d21d17d9ea7b6bc2db42de2040961bd72d748ffab077816b62b5d9b8e910aaf7 SHA512 8d573801fa6c82b1e1578035f34d3208abc11cdd300563b21ae5a1f229f651e9f0b3f3c277da632ce3f583b86e99918ac0b5498ad3727a19e4d100b7e00df93b |
28 |
|
29 |
diff --git a/dev-perl/Number-WithError/Number-WithError-1.10.0.ebuild b/dev-perl/Number-WithError/Number-WithError-1.10.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..f33ff808f67 |
32 |
--- /dev/null |
33 |
+++ b/dev-perl/Number-WithError/Number-WithError-1.10.0.ebuild |
34 |
@@ -0,0 +1,33 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+DIST_AUTHOR=SMUELLER |
41 |
+DIST_VERSION=1.01 |
42 |
+inherit perl-module |
43 |
+ |
44 |
+DESCRIPTION="Numbers with error propagation and scientific rounding" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=virtual/perl-Math-BigInt-1.400.0 |
51 |
+ >=dev-perl/Params-Util-0.100.0 |
52 |
+ >=dev-perl/prefork-1.0.0 |
53 |
+" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ >=virtual/perl-ExtUtils-MakeMaker-6.420.0 |
56 |
+ test? ( |
57 |
+ dev-perl/Test-LectroTest |
58 |
+ >=virtual/perl-Test-Simple-0.470.0 |
59 |
+ ) |
60 |
+" |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}/${PN}-${DIST_VERSION}-no-dot-inc.patch" |
63 |
+) |
64 |
+PERL_RM_FILES=( |
65 |
+ "t/00podcover.t" |
66 |
+ "t/00pod.t" |
67 |
+) |
68 |
|
69 |
diff --git a/dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch b/dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch |
70 |
new file mode 100644 |
71 |
index 00000000000..62c40029cdc |
72 |
--- /dev/null |
73 |
+++ b/dev-perl/Number-WithError/files/Number-WithError-1.01-no-dot-inc.patch |
74 |
@@ -0,0 +1,24 @@ |
75 |
+From 8c15ff58866e38cb8ce4f7b7ad3ecac941f5863d Mon Sep 17 00:00:00 2001 |
76 |
+From: Kent Fredric <kentnl@g.o> |
77 |
+Date: Fri, 7 Sep 2018 20:23:23 +1200 |
78 |
+Subject: Fix Makefile.PL to work on perl 5.26+/no-dot-inc perls |
79 |
+ |
80 |
+Perl 5.26+ have @INC without '.' unless PERL_USE_UNSAFE_INC=1 |
81 |
+ |
82 |
+Perl 5.30+ will have no hack to avoid this problem \o/ |
83 |
+--- |
84 |
+ Makefile.PL | 1 + |
85 |
+ 1 file changed, 1 insertion(+) |
86 |
+ |
87 |
+diff --git a/Makefile.PL b/Makefile.PL |
88 |
+index 76b23e1..a3c10b1 100644 |
89 |
+--- a/Makefile.PL |
90 |
++++ b/Makefile.PL |
91 |
+@@ -1,3 +1,4 @@ |
92 |
++use lib '.'; |
93 |
+ use inc::Module::Install; |
94 |
+ |
95 |
+ name 'Number-WithError'; |
96 |
+-- |
97 |
+2.17.1 |
98 |
+ |
99 |
|
100 |
diff --git a/dev-perl/Number-WithError/metadata.xml b/dev-perl/Number-WithError/metadata.xml |
101 |
new file mode 100644 |
102 |
index 00000000000..91fdeb8c163 |
103 |
--- /dev/null |
104 |
+++ b/dev-perl/Number-WithError/metadata.xml |
105 |
@@ -0,0 +1,12 @@ |
106 |
+<?xml version="1.0" encoding="UTF-8"?> |
107 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
108 |
+<pkgmetadata> |
109 |
+ <maintainer type="project"> |
110 |
+ <email>perl@g.o</email> |
111 |
+ <name>Gentoo Perl Project</name> |
112 |
+ </maintainer> |
113 |
+ <upstream> |
114 |
+ <remote-id type="cpan">Number-WithError</remote-id> |
115 |
+ <remote-id type="cpan-module">Number::WithError</remote-id> |
116 |
+ </upstream> |
117 |
+</pkgmetadata> |