Tue Jul 19 20:14:27 2022 UTC ()
New package for gotests-1.6.0.

This is needed by the current gopls version.

gotests makes writing Go tests easy. It is a Go command-line tool that
generates table driven tests based on its target source files' function and
method signatures. Any new dependencies in the test files are automatically
imported.


(bsiegert)
diff -r1.3762 -r1.3763 pkgsrc/devel/Makefile
diff -r0 -r1.1 pkgsrc/devel/gotests/DESCR
diff -r0 -r1.1 pkgsrc/devel/gotests/Makefile
diff -r0 -r1.1 pkgsrc/devel/gotests/PLIST
diff -r0 -r1.1 pkgsrc/devel/gotests/distinfo
diff -r0 -r1.1 pkgsrc/devel/gotests/go-modules.mk

cvs diff -r1.3762 -r1.3763 pkgsrc/devel/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/Makefile 2022/07/12 08:30:51 1.3762
+++ pkgsrc/devel/Makefile 2022/07/19 20:14:27 1.3763
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.3762 2022/07/12 08:30:51 adam Exp $ 1# $NetBSD: Makefile,v 1.3763 2022/07/19 20:14:27 bsiegert Exp $
2# 2#
3 3
4COMMENT= Development utilities 4COMMENT= Development utilities
5 5
6SUBDIR+= ETL 6SUBDIR+= ETL
7SUBDIR+= ExmanIDE 7SUBDIR+= ExmanIDE
8SUBDIR+= GConf 8SUBDIR+= GConf
9SUBDIR+= GConf-ui 9SUBDIR+= GConf-ui
10SUBDIR+= Gorm 10SUBDIR+= Gorm
11SUBDIR+= MoarVM 11SUBDIR+= MoarVM
12SUBDIR+= ObjectiveLib 12SUBDIR+= ObjectiveLib
13SUBDIR+= ProjectCenter 13SUBDIR+= ProjectCenter
14SUBDIR+= R-BH 14SUBDIR+= R-BH
@@ -442,26 +442,27 @@ SUBDIR+= go-staticcheck @@ -442,26 +442,27 @@ SUBDIR+= go-staticcheck
442SUBDIR+= go-sys 442SUBDIR+= go-sys
443SUBDIR+= go-tools 443SUBDIR+= go-tools
444SUBDIR+= go-wire 444SUBDIR+= go-wire
445SUBDIR+= go-xerrors 445SUBDIR+= go-xerrors
446SUBDIR+= gob2 446SUBDIR+= gob2
447SUBDIR+= gobject-introspection 447SUBDIR+= gobject-introspection
448SUBDIR+= golangci-lint 448SUBDIR+= golangci-lint
449SUBDIR+= golint 449SUBDIR+= golint
450SUBDIR+= google-glog 450SUBDIR+= google-glog
451SUBDIR+= googletest 451SUBDIR+= googletest
452SUBDIR+= gopls 452SUBDIR+= gopls
453SUBDIR+= goredo 453SUBDIR+= goredo
454SUBDIR+= got 454SUBDIR+= got
 455SUBDIR+= gotests
455SUBDIR+= gperf 456SUBDIR+= gperf
456SUBDIR+= gperftools 457SUBDIR+= gperftools
457SUBDIR+= gprbuild-aux 458SUBDIR+= gprbuild-aux
458SUBDIR+= gputils 459SUBDIR+= gputils
459SUBDIR+= gradle 460SUBDIR+= gradle
460SUBDIR+= grantlee 461SUBDIR+= grantlee
461SUBDIR+= grantlee-qt5 462SUBDIR+= grantlee-qt5
462SUBDIR+= gsoap 463SUBDIR+= gsoap
463SUBDIR+= gst-plugins0.10-pango 464SUBDIR+= gst-plugins0.10-pango
464SUBDIR+= gst-plugins1-pango 465SUBDIR+= gst-plugins1-pango
465SUBDIR+= gtexinfo 466SUBDIR+= gtexinfo
466SUBDIR+= gtl 467SUBDIR+= gtl
467SUBDIR+= guile-bytestructures 468SUBDIR+= guile-bytestructures

File Added: pkgsrc/devel/gotests/DESCR
gotests makes writing Go tests easy. It is a Go command-line tool that
generates table driven tests based on its target source files' function and
method signatures. Any new dependencies in the test files are automatically
imported.

File Added: pkgsrc/devel/gotests/Makefile
# $NetBSD: Makefile,v 1.1 2022/07/19 20:14:27 bsiegert Exp $

GITHUB_TAG=	v${PKGVERSION_NOREV}
DISTNAME=	gotests-1.6.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=cweill/}

MAINTAINER=	bsiegert@NetBSD.org
HOMEPAGE=	https://github.com/cweill/gotests/
COMMENT=	Automatically generate Go test boilerplate from your source code
LICENSE=	apache-2.0

GO_BUILD_PATTERN=	./gotests

.include "go-modules.mk"

.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/gotests/PLIST
@comment $NetBSD: PLIST,v 1.1 2022/07/19 20:14:27 bsiegert Exp $
bin/gotests

File Added: pkgsrc/devel/gotests/distinfo
$NetBSD: distinfo,v 1.1 2022/07/19 20:14:27 bsiegert Exp $

BLAKE2s (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = d95def65a866d710e01f1b0c2753b866d5c1df6af7d5289b1c784394b1d82e04
SHA512 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
Size (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = 88 bytes
BLAKE2s (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.zip) = ecec2dbf5e5900aa28021f8bc6f7ad3461433c8e3b2bd5a02a3df13ca186da69
SHA512 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.zip) = a1418dbc50d1e41495fd68ccba2ac84fed5edfd3e613c68850068afcce1136c3456e99d226674908a77c9648f16d7861edacb70afebcf3a7e73ea3dcdf8edbe7
Size (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.zip) = 1776515 bytes
BLAKE2s (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.mod) = 1c3e72485ccef1dd03ab07484627ee59f4ef62e97bd3ba94ca5d98718b7b81a6
SHA512 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.mod) = 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
Size (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.mod) = 181 bytes
BLAKE2s (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.zip) = f074f4ab2387a4210ef42bc0d7adae2a9cfa20be18933238341e9cb0d2c812b0
SHA512 (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.zip) = e79353b8f6b6866a14236eed278aae32ccb02eed040a557dda219cd96eecdc0174a8ac29a5509a33f6f0f9e5aa16f7d1c6861167d9798a5cb1eb01aabcee56f2
Size (golang.org_x_net_@v_v0.0.0-20190620200207-3b0461eec859.zip) = 1421786 bytes
BLAKE2s (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.mod) = 0524d428f3fcb8a923eb2717aacc5f3b26a68c2b9ac636b9505d1820d6b32ede
SHA512 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.mod) = a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
Size (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.mod) = 25 bytes
BLAKE2s (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.zip) = e439087a1d28b0a035b4127c7056b03bd365f38aa5ea1c4680b4a802af512491
SHA512 (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.zip) = 5a9db9d294b5f2121f3de994da38161f013a0512ad64aaf51f1c7a94b7cdb1ec4102f7c457d29f9bde209e8c254f6ad034c294af3649dbd10d5349c05874f74c
Size (golang.org_x_sync_@v_v0.0.0-20190423024810-112230192c58.zip) = 25620 bytes
BLAKE2s (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = aa44bc87b37c614a717cf692f23966b8babf30a09e6039a89eb6cc5b2943af87
SHA512 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
Size (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = 24 bytes
BLAKE2s (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.zip) = 3a7592a5c643cbe093da51526f3ef24a844ca78751ff431f8835e85589b80dec
SHA512 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.zip) = 8431fd78425186e55e07be9cfdb81d294b517d1695f99da3612477b8275d9a64038b60097658a02f399ed99d2f399197e572f3c307f70fa075b4995943caddb8
Size (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.zip) = 1584596 bytes
BLAKE2s (golang.org_x_text_@v_v0.3.0.mod) = 080036087ec663fb318320442bf68fad98da28e3ea33a1e5a3acf697a0527460
SHA512 (golang.org_x_text_@v_v0.3.0.mod) = ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
Size (golang.org_x_text_@v_v0.3.0.mod) = 25 bytes
BLAKE2s (golang.org_x_text_@v_v0.3.0.zip) = 3d25c811e4a282c16a6242fff0cbdf7d6d7dcdbd070a3fa416349ae9b665d891
SHA512 (golang.org_x_text_@v_v0.3.0.zip) = 982d78f580a7eac99a0c51e6f1fd2b2c3b91f56cd5e2b96fe960510049f7daf5915264f73f55f05675eee232a52998f9667fa84a9ccba15ed7819e4c93f583a7
Size (golang.org_x_text_@v_v0.3.0.zip) = 6349244 bytes
BLAKE2s (golang.org_x_tools_@v_v0.0.0-20191109212701-97ad0ed33101.mod) = a212a1fb08f1d60f83d616e697ed00d123468c02db07b98b1fc05a6546c377b8
SHA512 (golang.org_x_tools_@v_v0.0.0-20191109212701-97ad0ed33101.mod) = 6a0316ac3b01aba3f186b5db540a368ab780a821252f7f0975f9e44afea9170c4b3e7027dc5f79a54ebc6af290cbb59b876d3b53bbf26fd05fc3a80a06fae109
Size (golang.org_x_tools_@v_v0.0.0-20191109212701-97ad0ed33101.mod) = 212 bytes
BLAKE2s (golang.org_x_tools_@v_v0.0.0-20191109212701-97ad0ed33101.zip) = f1f58700d6aad2856f5871ab6e9fd0a4799556f8b19f42e711191a79209375cf
SHA512 (golang.org_x_tools_@v_v0.0.0-20191109212701-97ad0ed33101.zip) = c45f80b80493be38e8090fe55fea4a31b80db8865ea5a80d66534be243931e4a857d3e78fe51307a9d3051a7680f2513a3ec55c72a031fe2b5ff30ebc950b7e7
Size (golang.org_x_tools_@v_v0.0.0-20191109212701-97ad0ed33101.zip) = 2909785 bytes
BLAKE2s (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.mod) = b9082cd5be0cf4d922cd04363acc12692e595a5560e43763d016b9dafa566584
SHA512 (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.mod) = 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
Size (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.mod) = 37 bytes
BLAKE2s (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.zip) = c8dcc75c8104c0a3f171e5240f197ae6479780c4d6ffaeb4597d8d946123f5ff
SHA512 (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.zip) = aab0e6fa0e68bfa59aa0b217e4a0f5910190898f5d24e172de3726bb6d2e70102c114ae37060f797f9efe8702a935300726205328cd8ae2656b9031b68d9aa50
Size (golang.org_x_xerrors_@v_v0.0.0-20190717185122-a985d3407aa7.zip) = 20009 bytes
BLAKE2s (gotests-1.6.0.tar.gz) = 3a02374f6835b2c7dfaf55be03295ab54ee4fb65cec4992409b954d55fef0094
SHA512 (gotests-1.6.0.tar.gz) = 441b7c9f7c12499ee3a64dbe1f369333197be11797c38918b49cd9efc999d03add37d471f6065e41e1314a12c33116780082fd92c42b161253fdcb651a915b76
Size (gotests-1.6.0.tar.gz) = 46417 bytes

File Added: pkgsrc/devel/gotests/go-modules.mk
# $NetBSD: go-modules.mk,v 1.1 2022/07/19 20:14:27 bsiegert Exp $

GO_MODULE_FILES+=	golang.org/x/crypto/@v/v0.0.0-20190308221718-c2843e01d9a2.mod
GO_MODULE_FILES+=	golang.org/x/crypto/@v/v0.0.0-20190308221718-c2843e01d9a2.zip
GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20190620200207-3b0461eec859.mod
GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20190620200207-3b0461eec859.zip
GO_MODULE_FILES+=	golang.org/x/sync/@v/v0.0.0-20190423024810-112230192c58.mod
GO_MODULE_FILES+=	golang.org/x/sync/@v/v0.0.0-20190423024810-112230192c58.zip
GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20190215142949-d0b11bdaac8a.mod
GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20190215142949-d0b11bdaac8a.zip
GO_MODULE_FILES+=	golang.org/x/text/@v/v0.3.0.mod
GO_MODULE_FILES+=	golang.org/x/text/@v/v0.3.0.zip
GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.0.0-20191109212701-97ad0ed33101.mod
GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.0.0-20191109212701-97ad0ed33101.zip
GO_MODULE_FILES+=	golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.mod
GO_MODULE_FILES+=	golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.zip