pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math New package, p5-Calc-Math-Units. From Alberto Mij...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/247eec533a9a
branches:  trunk
changeset: 364681:247eec533a9a
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Jul 03 16:22:42 2017 +0000

description:
New package, p5-Calc-Math-Units. From Alberto Mijares via wip, though I fixed
some typos.

>From DESCR:
Math::Calc::Units is a simple calculator that keeps track of units. It
currently handles combinations of byte sizes and duration only, although
adding any other multiplicative types is easy. Any unknown type is
treated as a unique user type (with some effort to map English plurals
to their singular forms).

diffstat:

 math/Makefile                    |   3 ++-
 math/p5-Math-Calc-Units/DESCR    |   5 +++++
 math/p5-Math-Calc-Units/Makefile |  16 ++++++++++++++++
 math/p5-Math-Calc-Units/PLIST    |  19 +++++++++++++++++++
 math/p5-Math-Calc-Units/distinfo |   6 ++++++
 5 files changed, 48 insertions(+), 1 deletions(-)

diffs (79 lines):

diff -r 4005205ebabb -r 247eec533a9a math/Makefile
--- a/math/Makefile     Mon Jul 03 15:27:55 2017 +0000
+++ b/math/Makefile     Mon Jul 03 16:22:42 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.338 2017/06/23 23:33:57 markd Exp $
+# $NetBSD: Makefile,v 1.339 2017/07/03 16:22:42 bsiegert Exp $
 
 COMMENT=       Mathematics
 
@@ -191,6 +191,7 @@
 SUBDIR+=       p5-Math-BigInt-GMP
 SUBDIR+=       p5-Math-BigInt-Pari
 SUBDIR+=       p5-Math-BigInteger
+SUBDIR+=       p5-Math-Calc-Units
 SUBDIR+=       p5-Math-Complex
 SUBDIR+=       p5-Math-Derivative
 SUBDIR+=       p5-Math-FFT
diff -r 4005205ebabb -r 247eec533a9a math/p5-Math-Calc-Units/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Calc-Units/DESCR     Mon Jul 03 16:22:42 2017 +0000
@@ -0,0 +1,5 @@
+Math::Calc::Units is a simple calculator that keeps track of units. It
+currently handles combinations of byte sizes and duration only, although
+adding any other multiplicative types is easy. Any unknown type is
+treated as a unique user type (with some effort to map English plurals
+to their singular forms).
diff -r 4005205ebabb -r 247eec533a9a math/p5-Math-Calc-Units/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Calc-Units/Makefile  Mon Jul 03 16:22:42 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/07/03 16:22:42 bsiegert Exp $
+
+DISTNAME=      Math-Calc-Units-1.07
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    math perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/S/SF/SFINK/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/pod/Math::Calc::Units
+COMMENT=       Human-readable unit-aware calculator
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_PACKLIST=        auto/Math/Calc/Units/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4005205ebabb -r 247eec533a9a math/p5-Math-Calc-Units/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Calc-Units/PLIST     Mon Jul 03 16:22:42 2017 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/03 16:22:42 bsiegert Exp $
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Compute.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Base.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Base2Metric.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Byte.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Combo.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Date.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Distance.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Metric.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Multi.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Convert/Time.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Grammar.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Grammar.y
+${PERL5_SUB_INSTALLVENDORLIB}/Math/Calc/Units/Rank.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Math/Calc/Units/.packlist
+${PERL5_SUB_INSTALLVENDORBIN}/ucalc
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Math::Calc::Units.3
diff -r 4005205ebabb -r 247eec533a9a math/p5-Math-Calc-Units/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Calc-Units/distinfo  Mon Jul 03 16:22:42 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/03 16:22:42 bsiegert Exp $
+
+SHA1 (Math-Calc-Units-1.07.tar.gz) = 16ae99c6f5104d5c46469c92cec9b0f9289f4f79
+RMD160 (Math-Calc-Units-1.07.tar.gz) = ed78a15e46f95203af6d8829bfc650bbf6130920
+SHA512 (Math-Calc-Units-1.07.tar.gz) = 0758fd67f650cc8b70777a78c471c29e5a463370e47f810f0eaefa51cb832dbe01b55d7c53cb7d3dc70ee6339857b9f344acd7a68c7ea858394c387e87c52b31
+Size (Math-Calc-Units-1.07.tar.gz) = 34025 bytes



Home | Main Index | Thread Index | Old Index