summaryrefslogtreecommitdiff
path: root/math/p5-Number-WithError
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-08-21 09:24:41 +0000
committerwiz <wiz@pkgsrc.org>2018-08-21 09:24:41 +0000
commit3ce3fbc6e14aa0d257e8c81eeac976e7ec167c8b (patch)
treedbb67eabb9b694e34e7e9a8205f44e2f11aa0c9d /math/p5-Number-WithError
parent00941b943bcbae91f0263983747cf61ddd9cbf8c (diff)
downloadpkgsrc-3ce3fbc6e14aa0d257e8c81eeac976e7ec167c8b.tar.gz
math/p5-Number-WithError: import p5-Number-WithError-1.01
This perl class is a container class for numbers with a number of associated symmetric and asymmetric errors. It overloads practically all common arithmetic operations and trigonometric functions to propagate the errors. It can do proper scientific rounding.
Diffstat (limited to 'math/p5-Number-WithError')
-rw-r--r--math/p5-Number-WithError/DESCR4
-rw-r--r--math/p5-Number-WithError/Makefile22
-rw-r--r--math/p5-Number-WithError/distinfo6
3 files changed, 32 insertions, 0 deletions
diff --git a/math/p5-Number-WithError/DESCR b/math/p5-Number-WithError/DESCR
new file mode 100644
index 00000000000..57d8fe50e05
--- /dev/null
+++ b/math/p5-Number-WithError/DESCR
@@ -0,0 +1,4 @@
+This perl class is a container class for numbers with a number of
+associated symmetric and asymmetric errors. It overloads practically
+all common arithmetic operations and trigonometric functions to
+propagate the errors. It can do proper scientific rounding.
diff --git a/math/p5-Number-WithError/Makefile b/math/p5-Number-WithError/Makefile
new file mode 100644
index 00000000000..a709a6e1acb
--- /dev/null
+++ b/math/p5-Number-WithError/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2018/08/21 09:24:41 wiz Exp $
+
+DISTNAME= Number-WithError-1.01
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Number/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://metacpan.org/release/Number-WithError
+COMMENT= Numbers with error propagation and scientific rounding
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Params-Util-[0-9]*:../../devel/p5-Params-Util
+DEPENDS+= p5-prefork-[0-9]*:../../devel/p5-prefork
+TEST_DEPENDS+= p5-Test-LectroTest-[0-9]*:../../devel/p5-Test-LectroTest
+
+PERL5_PACKLIST= auto/Number/WithError/.packlist
+
+PERL5_MODULE_TYPE= Module::Install
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/p5-Number-WithError/distinfo b/math/p5-Number-WithError/distinfo
new file mode 100644
index 00000000000..0c17b5be9c8
--- /dev/null
+++ b/math/p5-Number-WithError/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/21 09:24:41 wiz Exp $
+
+SHA1 (Number-WithError-1.01.tar.gz) = 743a2a5695499281a2428bda82c3c38c25fae944
+RMD160 (Number-WithError-1.01.tar.gz) = 78c68e8560f0c65e1e25d0a767bdd6b3780b42a7
+SHA512 (Number-WithError-1.01.tar.gz) = 8d573801fa6c82b1e1578035f34d3208abc11cdd300563b21ae5a1f229f651e9f0b3f3c277da632ce3f583b86e99918ac0b5498ad3727a19e4d100b7e00df93b
+Size (Number-WithError-1.01.tar.gz) = 38949 bytes