pkgsrc-WIP-changes archive

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

Import go-govaluate-3.0.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 25 22:29:42 2021 +0100
Changeset:	485aa0bd0546aea38c2a81ae0a499b84de4ccde8

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

Log Message:
Import go-govaluate-3.0.0 to wip

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

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

diffstat:
 Makefile                   |  1 +
 go-govaluate/DESCR         |  2 ++
 go-govaluate/Makefile      | 21 +++++++++++++++++++++
 go-govaluate/PLIST         | 32 ++++++++++++++++++++++++++++++++
 go-govaluate/buildlink3.mk | 15 +++++++++++++++
 go-govaluate/distinfo      |  6 ++++++
 6 files changed, 77 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 20dfe470c7..e739d6d870 100644
--- a/Makefile
+++ b/Makefile
@@ -1228,6 +1228,7 @@ SUBDIR+=	go-gorilla-mux
 SUBDIR+=	go-gorilla-schema
 SUBDIR+=	go-gorilla-securecookie
 SUBDIR+=	go-gorilla-sessions
+SUBDIR+=	go-govaluate
 SUBDIR+=	go-gtk2
 SUBDIR+=	go-hex
 SUBDIR+=	go-hidden
diff --git a/go-govaluate/DESCR b/go-govaluate/DESCR
new file mode 100644
index 0000000000..b0f1427cdc
--- /dev/null
+++ b/go-govaluate/DESCR
@@ -0,0 +1,2 @@
+des support for evaluating arbitrary C-like
+ artithmetic/string expressions
diff --git a/go-govaluate/Makefile b/go-govaluate/Makefile
new file mode 100644
index 0000000000..29232d8878
--- /dev/null
+++ b/go-govaluate/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	govaluate-3.0.0
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	govaluate
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Knetic/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/Knetic/govaluate/
+COMMENT=	Arbitrary expression evaluation for golang
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/Knetic/${GITHUB_PROJECT}
+
+
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-govaluate/PLIST b/go-govaluate/PLIST
new file mode 100644
index 0000000000..319ad407b1
--- /dev/null
+++ b/go-govaluate/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/Knetic/govaluate.a
+gopkg/src/github.com/Knetic/govaluate/CONTRIBUTORS
+gopkg/src/github.com/Knetic/govaluate/EvaluableExpression.go
+gopkg/src/github.com/Knetic/govaluate/EvaluableExpression_sql.go
+gopkg/src/github.com/Knetic/govaluate/ExpressionToken.go
+gopkg/src/github.com/Knetic/govaluate/LICENSE
+gopkg/src/github.com/Knetic/govaluate/MANUAL.md
+gopkg/src/github.com/Knetic/govaluate/OperatorSymbol.go
+gopkg/src/github.com/Knetic/govaluate/README.md
+gopkg/src/github.com/Knetic/govaluate/TokenKind.go
+gopkg/src/github.com/Knetic/govaluate/benchmarks_test.go
+gopkg/src/github.com/Knetic/govaluate/evaluationFailure_test.go
+gopkg/src/github.com/Knetic/govaluate/evaluationStage.go
+gopkg/src/github.com/Knetic/govaluate/evaluation_test.go
+gopkg/src/github.com/Knetic/govaluate/expressionFunctions.go
+gopkg/src/github.com/Knetic/govaluate/expressionOutputStream.go
+gopkg/src/github.com/Knetic/govaluate/lexerState.go
+gopkg/src/github.com/Knetic/govaluate/lexerStream.go
+gopkg/src/github.com/Knetic/govaluate/parameters.go
+gopkg/src/github.com/Knetic/govaluate/parsing.go
+gopkg/src/github.com/Knetic/govaluate/parsingFailure_test.go
+gopkg/src/github.com/Knetic/govaluate/parsing_test.go
+gopkg/src/github.com/Knetic/govaluate/readme_test.go
+gopkg/src/github.com/Knetic/govaluate/sanitizedParameters.go
+gopkg/src/github.com/Knetic/govaluate/sql_test.go
+gopkg/src/github.com/Knetic/govaluate/stagePlanner.go
+gopkg/src/github.com/Knetic/govaluate/test.sh
+gopkg/src/github.com/Knetic/govaluate/tokenExpressionFailure_test.go
+gopkg/src/github.com/Knetic/govaluate/tokenKind_test.go
+gopkg/src/github.com/Knetic/govaluate/tokenStream.go
+gopkg/src/github.com/Knetic/govaluate/torture_test.go
diff --git a/go-govaluate/buildlink3.mk b/go-govaluate/buildlink3.mk
new file mode 100644
index 0000000000..a07096a48e
--- /dev/null
+++ b/go-govaluate/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-govaluate
+
+.if !defined(GO_GOVALUATE_BUILDLINK3_MK)
+GO_GOVALUATE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-govaluate=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-govaluate?=	build
+
+BUILDLINK_API_DEPENDS.go-govaluate+=	go-govaluate>=3.0.0
+BUILDLINK_PKGSRCDIR.go-govaluate?=	../../wip/go-govaluate
+.endif	# GO_GOVALUATE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-govaluate
diff --git a/go-govaluate/distinfo b/go-govaluate/distinfo
new file mode 100644
index 0000000000..ed3c2f8989
--- /dev/null
+++ b/go-govaluate/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (govaluate-3.0.0.tar.gz) = 238eed443e262404d3feaf3aafafb20ab29f6aae
+RMD160 (govaluate-3.0.0.tar.gz) = 1db728dfdab2a0f1a04fb78e64b67cc62c7db97e
+SHA512 (govaluate-3.0.0.tar.gz) = 8c6837ae25a6c81ee32959ea71a1c36d595073d90333af4f207eaf44a3c421f144384ccc4713bff537da697213d75faca727505e8c26f13a0ad74d1ba19c3b05
+Size (govaluate-3.0.0.tar.gz) = 39399 bytes


Home | Main Index | Thread Index | Old Index