pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/go-stats Add go-stats package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26e58b981a9e
branches:  trunk
changeset: 366679:26e58b981a9e
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Aug 17 02:03:11 2017 +0000

description:
Add go-stats package

diffstat:

 math/go-stats/DESCR         |   4 +++
 math/go-stats/Makefile      |  24 ++++++++++++++++++++++
 math/go-stats/PLIST         |  47 +++++++++++++++++++++++++++++++++++++++++++++
 math/go-stats/buildlink3.mk |  17 ++++++++++++++++
 math/go-stats/distinfo      |   6 +++++
 5 files changed, 98 insertions(+), 0 deletions(-)

diffs (118 lines):

diff -r 7c26dad87e63 -r 26e58b981a9e math/go-stats/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-stats/DESCR       Thu Aug 17 02:03:11 2017 +0000
@@ -0,0 +1,4 @@
+A statistics package with many functions missing from the Golang standard library. See the CHANGELOG.md for API changes and tagged releases you can vendor into your projects.
+
+    Statistics are used much like a drunk uses a lamppost: for support, not illumination. - Vin Scully
+
diff -r 7c26dad87e63 -r 26e58b981a9e math/go-stats/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-stats/Makefile    Thu Aug 17 02:03:11 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 02:03:11 gavan Exp $
+
+DISTNAME=      stats-0.2.0.20170729
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=montanaflynn/}
+CATEGORIES=    math
+GITHUB_TAG=    4a163274fa4ca0b524ccee24757d7bec79475aca
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/montanaflynn/stats
+COMMENT=       A statistics package with common functions that are missing from the Golang standard library.
+LICENSE=       mit
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/montanaflynn/stats
+
+# Avoid build issues with the examples
+post-patch:
+       ${RUN} ${RM} -rf ${WRKSRC}/examples
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r 7c26dad87e63 -r 26e58b981a9e math/go-stats/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-stats/PLIST       Thu Aug 17 02:03:11 2017 +0000
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 02:03:11 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/montanaflynn/stats.a
+gopkg/src/github.com/montanaflynn/stats/CHANGELOG.md
+gopkg/src/github.com/montanaflynn/stats/LICENSE
+gopkg/src/github.com/montanaflynn/stats/Makefile
+gopkg/src/github.com/montanaflynn/stats/README.md
+gopkg/src/github.com/montanaflynn/stats/correlation.go
+gopkg/src/github.com/montanaflynn/stats/correlation_test.go
+gopkg/src/github.com/montanaflynn/stats/data.go
+gopkg/src/github.com/montanaflynn/stats/data_test.go
+gopkg/src/github.com/montanaflynn/stats/deviation.go
+gopkg/src/github.com/montanaflynn/stats/deviation_test.go
+gopkg/src/github.com/montanaflynn/stats/errors.go
+gopkg/src/github.com/montanaflynn/stats/errors_test.go
+gopkg/src/github.com/montanaflynn/stats/legacy.go
+gopkg/src/github.com/montanaflynn/stats/legacy_test.go
+gopkg/src/github.com/montanaflynn/stats/load.go
+gopkg/src/github.com/montanaflynn/stats/load_test.go
+gopkg/src/github.com/montanaflynn/stats/max.go
+gopkg/src/github.com/montanaflynn/stats/max_test.go
+gopkg/src/github.com/montanaflynn/stats/mean.go
+gopkg/src/github.com/montanaflynn/stats/mean_test.go
+gopkg/src/github.com/montanaflynn/stats/median.go
+gopkg/src/github.com/montanaflynn/stats/median_test.go
+gopkg/src/github.com/montanaflynn/stats/min.go
+gopkg/src/github.com/montanaflynn/stats/min_test.go
+gopkg/src/github.com/montanaflynn/stats/mode.go
+gopkg/src/github.com/montanaflynn/stats/mode_test.go
+gopkg/src/github.com/montanaflynn/stats/outlier.go
+gopkg/src/github.com/montanaflynn/stats/outlier_test.go
+gopkg/src/github.com/montanaflynn/stats/percentile.go
+gopkg/src/github.com/montanaflynn/stats/percentile_test.go
+gopkg/src/github.com/montanaflynn/stats/quartile.go
+gopkg/src/github.com/montanaflynn/stats/quartile_test.go
+gopkg/src/github.com/montanaflynn/stats/regression.go
+gopkg/src/github.com/montanaflynn/stats/regression_test.go
+gopkg/src/github.com/montanaflynn/stats/round.go
+gopkg/src/github.com/montanaflynn/stats/round_test.go
+gopkg/src/github.com/montanaflynn/stats/sample.go
+gopkg/src/github.com/montanaflynn/stats/sample_test.go
+gopkg/src/github.com/montanaflynn/stats/sum.go
+gopkg/src/github.com/montanaflynn/stats/sum_test.go
+gopkg/src/github.com/montanaflynn/stats/util.go
+gopkg/src/github.com/montanaflynn/stats/util_test.go
+gopkg/src/github.com/montanaflynn/stats/variance.go
+gopkg/src/github.com/montanaflynn/stats/variance_test.go
+@pkgdir bin
diff -r 7c26dad87e63 -r 26e58b981a9e math/go-stats/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-stats/buildlink3.mk       Thu Aug 17 02:03:11 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 02:03:11 gavan Exp $
+
+BUILDLINK_TREE+=       go-stats
+
+.if !defined(GO_STATS_BUILDLINK3_MK)
+GO_STATS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-stats=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-stats?=         build
+
+BUILDLINK_API_DEPENDS.go-stats+=               go-stats>=0.0
+BUILDLINK_PKGSRCDIR.go-stats?=         ../../math/go-stats
+
+.endif  # GO_STATS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-stats
+
diff -r 7c26dad87e63 -r 26e58b981a9e math/go-stats/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-stats/distinfo    Thu Aug 17 02:03:11 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 02:03:11 gavan Exp $
+
+SHA1 (stats-0.2.0.20170729-4a163274fa4ca0b524ccee24757d7bec79475aca.tar.gz) = 245f82c53358d6147fdaef6508cd7afd2750d969
+RMD160 (stats-0.2.0.20170729-4a163274fa4ca0b524ccee24757d7bec79475aca.tar.gz) = 61577e5142b196a91c237bb6cd292dc5c630b42a
+SHA512 (stats-0.2.0.20170729-4a163274fa4ca0b524ccee24757d7bec79475aca.tar.gz) = 
2c826192105659c180d03bc8ba74417149019a1dcf0a16a0d90a8b430bf782c71befdd82252ead72f7b7657591b0439b7e348fab03d833e66a626da781278f1e
+Size (stats-0.2.0.20170729-4a163274fa4ca0b524ccee24757d7bec79475aca.tar.gz) = 17842 bytes



Home | Main Index | Thread Index | Old Index