pkgsrc-WIP-changes archive

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

New package, vgo.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Thu Mar 22 15:12:51 2018 +0000
Changeset:	53d049391844a6fb34ccdca227a4461426adfda0

Modified Files:
	Makefile
Added Files:
	vgo/DESCR
	vgo/Makefile
	vgo/PLIST
	vgo/distinfo

Log Message:
New package, vgo.

This package contains a prototype of what the go command might look like with
integrated support for package versioning.

See https://research.swtch.com/vgo for documents about the design.

This will likely have major consequences for how pkgsrc builds Go code, so
here is something to experiment with.

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

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

diffstat:
 Makefile     |  1 +
 vgo/DESCR    |  4 ++++
 vgo/Makefile | 24 ++++++++++++++++++++++++
 vgo/PLIST    |  3 +++
 vgo/distinfo |  6 ++++++
 5 files changed, 38 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8729053073..42239ed3b8 100644
--- a/Makefile
+++ b/Makefile
@@ -4514,6 +4514,7 @@ SUBDIR+=	vdesk
 SUBDIR+=	vee
 SUBDIR+=	verbiste
 SUBDIR+=	verilator
+SUBDIR+=	vgo
 SUBDIR+=	vhdtool-git
 SUBDIR+=	vidalia
 SUBDIR+=	vidalia-devel
diff --git a/vgo/DESCR b/vgo/DESCR
new file mode 100644
index 0000000000..e33c1a1b73
--- /dev/null
+++ b/vgo/DESCR
@@ -0,0 +1,4 @@
+This package contains a prototype of what the go command might look like with
+integrated support for package versioning.
+
+See https://research.swtch.com/vgo for documents about the design.
diff --git a/vgo/Makefile b/vgo/Makefile
new file mode 100644
index 0000000000..2f2600bc0e
--- /dev/null
+++ b/vgo/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.14 2018/03/04 15:52:20 bsiegert Exp $
+
+DISTNAME=		vgo-20180220
+CATEGORIES=		devel
+MASTER_SITES=		${MASTER_SITE_GITHUB:=golang/}
+GITHUB_PROJECT=		vgo
+GITHUB_TAG=		085872f6d9
+
+MAINTAINER=		bsiegert%NetBSD.org@localhost
+HOMEPAGE=		http://godoc.org/golang.org/x/vgo
+COMMENT=		Versioned Go prototype
+LICENSE=		modified-bsd
+
+GO_SRCPATH=		golang.org/x/vgo
+GO_BUILD_PATTERN=	${GO_SRCPATH}
+GO_DIST_BASE=		${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+CHECK_RELRO_SKIP+=	bin/vgo
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/vgo ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/vgo/PLIST b/vgo/PLIST
new file mode 100644
index 0000000000..ec56a61f1a
--- /dev/null
+++ b/vgo/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/vgo
+@pkgdir gopkg
diff --git a/vgo/distinfo b/vgo/distinfo
new file mode 100644
index 0000000000..58a67200be
--- /dev/null
+++ b/vgo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (vgo-20180220-085872f6d9.tar.gz) = a9a83633f9114bac98e72dac3722e9fb36ad9fd8
+RMD160 (vgo-20180220-085872f6d9.tar.gz) = 3f838c7a38bf6132053a017a8ef9a769b350964f
+SHA512 (vgo-20180220-085872f6d9.tar.gz) = f06b3c010f87ad966177f2ce5bfb61351a057b3e6aa886d31cc655dfe3c6aadf4d6d1ba899a3a1434cd0b830f212f8c4f6732aa8ae7995b969298fc5988d6dd7
+Size (vgo-20180220-085872f6d9.tar.gz) = 515601 bytes


Home | Main Index | Thread Index | Old Index