1 |
commit: e328456dc1bff7445e192aa63e47df7bd92b58d6 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 1 08:01:11 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 1 08:01:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e328456d |
7 |
|
8 |
dev-perl/Math-BigInt-Lite: Bump to version 0.170.0 |
9 |
|
10 |
Upstream: |
11 |
- Improve blog() with regards to objectify() |
12 |
- Fix bexp() from objectifying too many args |
13 |
- Add from_bin, from_oct, from_hex |
14 |
- Correct bdiv to do floored division |
15 |
- Add btdiv |
16 |
|
17 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
18 |
|
19 |
dev-perl/Math-BigInt-Lite/Manifest | 1 + |
20 |
.../Math-BigInt-Lite-0.170.0.ebuild | 33 +++++++++++++++++++++ |
21 |
.../Math-BigInt-Lite-0.170.0-no-dot-inc.patch | 34 ++++++++++++++++++++++ |
22 |
3 files changed, 68 insertions(+) |
23 |
|
24 |
diff --git a/dev-perl/Math-BigInt-Lite/Manifest b/dev-perl/Math-BigInt-Lite/Manifest |
25 |
index b2522f33c1f..65d43fd98d1 100644 |
26 |
--- a/dev-perl/Math-BigInt-Lite/Manifest |
27 |
+++ b/dev-perl/Math-BigInt-Lite/Manifest |
28 |
@@ -1 +1,2 @@ |
29 |
DIST Math-BigInt-Lite-0.14.tar.gz 44517 SHA256 0ae0d1fdfbfe0d1801f3fd99d1958a61958f1d50ce4d38acca735e85ef3035ef SHA512 abee57d6497566f8dfa32d273f0ef9cf914ed57b9397c61455695cbfc141fce8f1ccd2c65a2043ec0d4843dc0a1cde978a0b8b05bcc12e71a7438cd379a462c5 WHIRLPOOL a64b379303cf26d048975087082aec768fbac1e46d9bcf03a6d43de0206f2fb2e649fe041628ea2fb90eae14f23d5778c246fb53c01ebd491f26e8362038c307 |
30 |
+DIST Math-BigInt-Lite-0.17.tar.gz 71248 SHA256 f3323f5537dda709a9718ee1a730394651c085eddab665a84a4adee9991931de SHA512 8a1eb42d43a09cc7e16a9c430c6fb1a9c2f799e1dd3cb67436a6fafff510ed39550d4db8d28f5992c754c8391e0e9700b230e9b74dd05a108faecc9f0e55ef4e WHIRLPOOL b9e091c7954b654301ffba5956d78ad80360c853c1c049cf637e10b0536e52611265ca229bb9984aec4c2dd7f368390352ae4640888fe8f672250e7157ba037f |
31 |
|
32 |
diff --git a/dev-perl/Math-BigInt-Lite/Math-BigInt-Lite-0.170.0.ebuild b/dev-perl/Math-BigInt-Lite/Math-BigInt-Lite-0.170.0.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..037b684079f |
35 |
--- /dev/null |
36 |
+++ b/dev-perl/Math-BigInt-Lite/Math-BigInt-Lite-0.170.0.ebuild |
37 |
@@ -0,0 +1,33 @@ |
38 |
+# Copyright 1999-2017 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=6 |
42 |
+ |
43 |
+DIST_AUTHOR=PJACKLAM |
44 |
+DIST_VERSION=0.17 |
45 |
+inherit perl-module |
46 |
+ |
47 |
+DESCRIPTION="What BigInts are before they become big" |
48 |
+ |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="test" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=virtual/perl-Math-BigInt-1.999.801 |
55 |
+" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ >=virtual/perl-ExtUtils-MakeMaker-6.420.0 |
58 |
+ test? ( |
59 |
+ >=virtual/perl-Test-Simple-0.520.0 |
60 |
+ virtual/perl-Math-BigRat |
61 |
+ ) |
62 |
+" |
63 |
+PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch") |
64 |
+src_test() { |
65 |
+ local bad_files=( "t/pod_cov.t" "t/pod.t" ) |
66 |
+ # https://rt.cpan.org/Public/Bug/Display.html?id=75667" |
67 |
+ #bad_files+=( "t/bigintpm.t" ) |
68 |
+ perl_rm_files "${bad_files[@]}" |
69 |
+ perl-module_src_test |
70 |
+} |
71 |
|
72 |
diff --git a/dev-perl/Math-BigInt-Lite/files/Math-BigInt-Lite-0.170.0-no-dot-inc.patch b/dev-perl/Math-BigInt-Lite/files/Math-BigInt-Lite-0.170.0-no-dot-inc.patch |
73 |
new file mode 100644 |
74 |
index 00000000000..d8ae23982ae |
75 |
--- /dev/null |
76 |
+++ b/dev-perl/Math-BigInt-Lite/files/Math-BigInt-Lite-0.170.0-no-dot-inc.patch |
77 |
@@ -0,0 +1,34 @@ |
78 |
+From 5cb03904937102876d331e04cd36f3520fc5a5f6 Mon Sep 17 00:00:00 2001 |
79 |
+From: Kent Fredric <kentnl@g.o> |
80 |
+Date: Wed, 1 Nov 2017 20:50:35 +1300 |
81 |
+Subject: Fix tests without '.' in @INC |
82 |
+ |
83 |
+Bug: https://rt.cpan.org/Ticket/Display.html?id=120893 |
84 |
+--- |
85 |
+ t/bigintpm.t | 2 +- |
86 |
+ t/mbi_ali.t | 2 +- |
87 |
+ 2 files changed, 2 insertions(+), 2 deletions(-) |
88 |
+ |
89 |
+diff --git a/t/bigintpm.t b/t/bigintpm.t |
90 |
+index 49efbad..a714bd0 100644 |
91 |
+--- a/t/bigintpm.t |
92 |
++++ b/t/bigintpm.t |
93 |
+@@ -14,4 +14,4 @@ $CALC = "Math::BigInt::Calc"; |
94 |
+ ############################################################################# |
95 |
+ # all the other tests |
96 |
+ |
97 |
+-require 't/bigintpm.inc'; # all tests here for sharing |
98 |
++require './t/bigintpm.inc'; # all tests here for sharing |
99 |
+diff --git a/t/mbi_ali.t b/t/mbi_ali.t |
100 |
+index cacf83e..b2da6f9 100644 |
101 |
+--- a/t/mbi_ali.t |
102 |
++++ b/t/mbi_ali.t |
103 |
+@@ -12,4 +12,4 @@ use Math::BigInt::Lite; |
104 |
+ our $CLASS; |
105 |
+ $CLASS = 'Math::BigInt::Lite'; |
106 |
+ |
107 |
+-require 't/alias.inc'; |
108 |
++require './t/alias.inc'; |
109 |
+-- |
110 |
+2.14.3 |
111 |
+ |