git: 2b9e5ac1f52c - main - devel/yaegi: new port - embeddable REPL interpreter for Go

Dave Cottlehuber dch at FreeBSD.org
Mon May 31 12:20:34 UTC 2021


The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b9e5ac1f52cb0e7786cb4d154c8e6b675e4bb7a

commit 2b9e5ac1f52cb0e7786cb4d154c8e6b675e4bb7a
Author:     Dave Cottlehuber <dch at FreeBSD.org>
AuthorDate: 2021-05-30 17:56:05 +0000
Commit:     Dave Cottlehuber <dch at FreeBSD.org>
CommitDate: 2021-05-31 12:18:58 +0000

    devel/yaegi: new port - embeddable REPL interpreter for Go
---
 devel/Makefile        |  1 +
 devel/yaegi/Makefile  | 20 ++++++++++++++++++++
 devel/yaegi/distinfo  |  3 +++
 devel/yaegi/pkg-descr |  9 +++++++++
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 055246607c66..cc1980605d7c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7053,6 +7053,7 @@
     SUBDIR += xxgdb
     SUBDIR += xxhash
     SUBDIR += xxl
+    SUBDIR += yaegi
     SUBDIR += yaggo
     SUBDIR += yajl
     SUBDIR += yajl-tcl
diff --git a/devel/yaegi/Makefile b/devel/yaegi/Makefile
new file mode 100644
index 000000000000..a7ddf1f6b64c
--- /dev/null
+++ b/devel/yaegi/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	yaegi
+DISTVERSION=	0.9.17
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	dch at FreeBSD.org
+COMMENT=	Elegant Go Interpreter - a REPL for Go
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+USE_GITHUB=	yes
+GH_ACCOUNT=	traefik
+
+GO_TARGET=	./cmd/yaegi:yaegi
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/yaegi/distinfo b/devel/yaegi/distinfo
new file mode 100644
index 000000000000..89b5fb8a55e0
--- /dev/null
+++ b/devel/yaegi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621415989
+SHA256 (traefik-yaegi-v0.9.17_GH0.tar.gz) = 976eb88cef567743839d078f2606df25bdd567d4cdf2a015c5df2eaf8524a449
+SIZE (traefik-yaegi-v0.9.17_GH0.tar.gz) = 1999480
diff --git a/devel/yaegi/pkg-descr b/devel/yaegi/pkg-descr
new file mode 100644
index 000000000000..b37eca4959e3
--- /dev/null
+++ b/devel/yaegi/pkg-descr
@@ -0,0 +1,9 @@
+Yaegi is an intuitive go interpreter.
+
+Note that you can use rlwrap, and alias the yaegi command via:
+
+  alias yaegi='rlwrap yaegi'
+
+in your shell, to have history and command line editing.
+
+WWW: https://github.com/traefik/yaegi


More information about the dev-commits-ports-all mailing list