pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/go-stats



Module Name:    pkgsrc
Committed By:   gavan
Date:           Thu Aug 17 02:03:11 UTC 2017

Added Files:
        pkgsrc/math/go-stats: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add go-stats package


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/go-stats/DESCR \
    pkgsrc/math/go-stats/Makefile pkgsrc/math/go-stats/PLIST \
    pkgsrc/math/go-stats/buildlink3.mk pkgsrc/math/go-stats/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/math/go-stats/DESCR
diff -u /dev/null pkgsrc/math/go-stats/DESCR:1.1
--- /dev/null   Thu Aug 17 02:03:11 2017
+++ pkgsrc/math/go-stats/DESCR  Thu Aug 17 02:03:11 2017
@@ -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
+
Index: pkgsrc/math/go-stats/Makefile
diff -u /dev/null pkgsrc/math/go-stats/Makefile:1.1
--- /dev/null   Thu Aug 17 02:03:11 2017
+++ pkgsrc/math/go-stats/Makefile       Thu Aug 17 02:03:11 2017
@@ -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"
+
Index: pkgsrc/math/go-stats/PLIST
diff -u /dev/null pkgsrc/math/go-stats/PLIST:1.1
--- /dev/null   Thu Aug 17 02:03:11 2017
+++ pkgsrc/math/go-stats/PLIST  Thu Aug 17 02:03:11 2017
@@ -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
Index: pkgsrc/math/go-stats/buildlink3.mk
diff -u /dev/null pkgsrc/math/go-stats/buildlink3.mk:1.1
--- /dev/null   Thu Aug 17 02:03:11 2017
+++ pkgsrc/math/go-stats/buildlink3.mk  Thu Aug 17 02:03:11 2017
@@ -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
+
Index: pkgsrc/math/go-stats/distinfo
diff -u /dev/null pkgsrc/math/go-stats/distinfo:1.1
--- /dev/null   Thu Aug 17 02:03:11 2017
+++ pkgsrc/math/go-stats/distinfo       Thu Aug 17 02:03:11 2017
@@ -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