pkgsrc-WIP-changes archive

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

Import go-ewma-20201216 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sat Jan 9 21:51:58 2021 +0100
Changeset:	ed9c360361f6a1678b22dc9745736557974f4c91

Modified Files:
	Makefile
Added Files:
	go-ewma/DESCR
	go-ewma/Makefile
	go-ewma/PLIST
	go-ewma/buildlink3.mk
	go-ewma/distinfo

Log Message:
Import go-ewma-20201216 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ed9c360361f6a1678b22dc9745736557974f4c91

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

diffstat:
 Makefile              |  1 +
 go-ewma/DESCR         |  6 ++++++
 go-ewma/Makefile      | 19 +++++++++++++++++++
 go-ewma/PLIST         |  6 ++++++
 go-ewma/buildlink3.mk | 15 +++++++++++++++
 go-ewma/distinfo      |  6 ++++++
 6 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 866ca5c2a7..75aef2a1d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1187,6 +1187,7 @@ SUBDIR+=	go-cyclo
 SUBDIR+=	go-concurrent
 SUBDIR+=	go-dotenv
 SUBDIR+=	go-easyjson
+SUBDIR+=	go-ewma
 SUBDIR+=	go-err113
 SUBDIR+=	go-errorx
 SUBDIR+=	go-flac-eaburns
diff --git a/go-ewma/DESCR b/go-ewma/DESCR
new file mode 100644
index 0000000000..8c5274833a
--- /dev/null
+++ b/go-ewma/DESCR
@@ -0,0 +1,6 @@
+An exponentially weighted moving average is a way
+to continuously compute a type of average for a
+series of numbers, as the numbers arrive. After
+a value in the series is added to the average,
+its weight in the average decreases exponentially
+over time.
diff --git a/go-ewma/Makefile b/go-ewma/Makefile
new file mode 100644
index 0000000000..c0a5fd0262
--- /dev/null
+++ b/go-ewma/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	ewma-20201216
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	ewma
+GITHUB_TAG=	507017d748aae584fd5fa8c7448e0105598a0647
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=VividCortex/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/VividCortex/ewma/
+COMMENT=	Exponentially Weighted Moving Average algorithms for Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/VividCortex/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-ewma/PLIST b/go-ewma/PLIST
new file mode 100644
index 0000000000..d635a0219d
--- /dev/null
+++ b/go-ewma/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/VividCortex/ewma.a
+gopkg/src/github.com/VividCortex/ewma/LICENSE
+gopkg/src/github.com/VividCortex/ewma/README.md
+gopkg/src/github.com/VividCortex/ewma/ewma.go
+gopkg/src/github.com/VividCortex/ewma/ewma_test.go
diff --git a/go-ewma/buildlink3.mk b/go-ewma/buildlink3.mk
new file mode 100644
index 0000000000..41283aedc8
--- /dev/null
+++ b/go-ewma/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	ewma
+
+.if !defined(EWMA_BUILDLINK3_MK)
+EWMA_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.ewma=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.ewma?=	build
+
+BUILDLINK_API_DEPENDS.ewma+=	ewma>=20201216
+BUILDLINK_PKGSRCDIR.ewma?=	../../wip/go-ewma
+.endif	# EWMA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-ewma
diff --git a/go-ewma/distinfo b/go-ewma/distinfo
new file mode 100644
index 0000000000..07427f11ab
--- /dev/null
+++ b/go-ewma/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (ewma-20201216-507017d748aae584fd5fa8c7448e0105598a0647.tar.gz) = b093022f156531087b0c8787223271f216ef6409
+RMD160 (ewma-20201216-507017d748aae584fd5fa8c7448e0105598a0647.tar.gz) = 5c15dcc4947ca7fa951346164af521a40faff8c6
+SHA512 (ewma-20201216-507017d748aae584fd5fa8c7448e0105598a0647.tar.gz) = 4bc3b62ca32f9f30c5933166cee6ab97b60d4adc47b62db899d0d4a35897a2c634a40463ba0e570b6690ce6e47290b9dab3e93fdffd678497f9ec2b8cef19c3f
+Size (ewma-20201216-507017d748aae584fd5fa8c7448e0105598a0647.tar.gz) = 6523 bytes


Home | Main Index | Thread Index | Old Index