pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: bsiegert
Date: Fri Dec 4 09:25:33 UTC 2020
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/go-mod: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
New package, go-mod-0.4.0.
Ironically, this is not packaged as a Go module, because it is a dependency
of go-tools.
This repository holds packages for writing tools
that work directly with Go module mechanics.
That is, it is for direct manipulation of Go modules themselves.
It is NOT about supporting general development tools that
need to do things like load packages in module mode.
That use case, where modules are incidental rather than the focus,
should remain in x/tools, specifically x/tools/go/packages.
The specific case of loading packages should still be done by
invoking the go command, which remains the single point of
truth for package loading algorithms.
To generate a diff of this commit:
cvs rdiff -u -r1.3279 -r1.3280 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-mod/DESCR pkgsrc/devel/go-mod/Makefile \
pkgsrc/devel/go-mod/PLIST pkgsrc/devel/go-mod/buildlink3.mk \
pkgsrc/devel/go-mod/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3279 pkgsrc/devel/Makefile:1.3280
--- pkgsrc/devel/Makefile:1.3279 Thu Dec 3 07:51:24 2020
+++ pkgsrc/devel/Makefile Fri Dec 4 09:25:33 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3279 2020/12/03 07:51:24 wiz Exp $
+# $NetBSD: Makefile,v 1.3280 2020/12/04 09:25:33 bsiegert Exp $
#
COMMENT= Development utilities
@@ -445,6 +445,7 @@ SUBDIR+= go-locker
SUBDIR+= go-logrus
SUBDIR+= go-mapstructure
SUBDIR+= go-mapstructure-bep
+SUBDIR+= go-mod
SUBDIR+= go-mow-cli
SUBDIR+= go-nbreader
SUBDIR+= go-nitro
Added files:
Index: pkgsrc/devel/go-mod/DESCR
diff -u /dev/null pkgsrc/devel/go-mod/DESCR:1.1
--- /dev/null Fri Dec 4 09:25:33 2020
+++ pkgsrc/devel/go-mod/DESCR Fri Dec 4 09:25:33 2020
@@ -0,0 +1,12 @@
+This repository holds packages for writing tools
+that work directly with Go module mechanics.
+That is, it is for direct manipulation of Go modules themselves.
+
+It is NOT about supporting general development tools that
+need to do things like load packages in module mode.
+That use case, where modules are incidental rather than the focus,
+should remain in x/tools, specifically x/tools/go/packages.
+
+The specific case of loading packages should still be done by
+invoking the go command, which remains the single point of
+truth for package loading algorithms.
Index: pkgsrc/devel/go-mod/Makefile
diff -u /dev/null pkgsrc/devel/go-mod/Makefile:1.1
--- /dev/null Fri Dec 4 09:25:33 2020
+++ pkgsrc/devel/go-mod/Makefile Fri Dec 4 09:25:33 2020
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/12/04 09:25:33 bsiegert Exp $
+
+GITHUB_PROJECT= mod
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= mod-0.4.0
+PKGNAME= go-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= https://pkg.go.dev/golang.org/x/mod/
+COMMENT= Go module mechanics libraries
+LICENSE= modified-bsd
+
+GO_SRCPATH= golang.org/x/mod
+GO_DIST_BASE= ${DISTNAME}
+
+REPLACE_BASH+= gosumcheck/test.bash
+
+.include "../../devel/go-xerrors/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../security/go-crypto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/go-mod/PLIST
diff -u /dev/null pkgsrc/devel/go-mod/PLIST:1.1
--- /dev/null Fri Dec 4 09:25:33 2020
+++ pkgsrc/devel/go-mod/PLIST Fri Dec 4 09:25:33 2020
@@ -0,0 +1,118 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/04 09:25:33 bsiegert Exp $
+bin/gosumcheck
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/internal/lazyregexp.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/modfile.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/module.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/semver.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/sumdb.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/sumdb/dirhash.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/sumdb/note.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/sumdb/storage.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/sumdb/tlog.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/mod/zip.a
+gopkg/src/golang.org/x/mod/LICENSE
+gopkg/src/golang.org/x/mod/PATENTS
+gopkg/src/golang.org/x/mod/README
+gopkg/src/golang.org/x/mod/codereview.cfg
+gopkg/src/golang.org/x/mod/go.mod
+gopkg/src/golang.org/x/mod/go.sum
+gopkg/src/golang.org/x/mod/gosumcheck/main.go
+gopkg/src/golang.org/x/mod/gosumcheck/test.bash
+gopkg/src/golang.org/x/mod/gosumcheck/test.sum
+gopkg/src/golang.org/x/mod/internal/lazyregexp/lazyre.go
+gopkg/src/golang.org/x/mod/modfile/print.go
+gopkg/src/golang.org/x/mod/modfile/read.go
+gopkg/src/golang.org/x/mod/modfile/read_test.go
+gopkg/src/golang.org/x/mod/modfile/rule.go
+gopkg/src/golang.org/x/mod/modfile/rule_test.go
+gopkg/src/golang.org/x/mod/modfile/testdata/block.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/block.in
+gopkg/src/golang.org/x/mod/modfile/testdata/comment.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/comment.in
+gopkg/src/golang.org/x/mod/modfile/testdata/empty.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/empty.in
+gopkg/src/golang.org/x/mod/modfile/testdata/gopkg.in.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/module.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/module.in
+gopkg/src/golang.org/x/mod/modfile/testdata/replace.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/replace.in
+gopkg/src/golang.org/x/mod/modfile/testdata/replace2.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/replace2.in
+gopkg/src/golang.org/x/mod/modfile/testdata/retract.golden
+gopkg/src/golang.org/x/mod/modfile/testdata/retract.in
+gopkg/src/golang.org/x/mod/modfile/testdata/rule1.golden
+gopkg/src/golang.org/x/mod/module/module.go
+gopkg/src/golang.org/x/mod/module/module_test.go
+gopkg/src/golang.org/x/mod/semver/semver.go
+gopkg/src/golang.org/x/mod/semver/semver_test.go
+gopkg/src/golang.org/x/mod/sumdb/cache.go
+gopkg/src/golang.org/x/mod/sumdb/client.go
+gopkg/src/golang.org/x/mod/sumdb/client_test.go
+gopkg/src/golang.org/x/mod/sumdb/dirhash/hash.go
+gopkg/src/golang.org/x/mod/sumdb/dirhash/hash_test.go
+gopkg/src/golang.org/x/mod/sumdb/note/example_test.go
+gopkg/src/golang.org/x/mod/sumdb/note/note.go
+gopkg/src/golang.org/x/mod/sumdb/note/note_test.go
+gopkg/src/golang.org/x/mod/sumdb/server.go
+gopkg/src/golang.org/x/mod/sumdb/storage/mem.go
+gopkg/src/golang.org/x/mod/sumdb/storage/mem_test.go
+gopkg/src/golang.org/x/mod/sumdb/storage/storage.go
+gopkg/src/golang.org/x/mod/sumdb/storage/test.go
+gopkg/src/golang.org/x/mod/sumdb/test.go
+gopkg/src/golang.org/x/mod/sumdb/tlog/ct_test.go
+gopkg/src/golang.org/x/mod/sumdb/tlog/note.go
+gopkg/src/golang.org/x/mod/sumdb/tlog/note_test.go
+gopkg/src/golang.org/x/mod/sumdb/tlog/tile.go
+gopkg/src/golang.org/x/mod/sumdb/tlog/tlog.go
+gopkg/src/golang.org/x/mod/sumdb/tlog/tlog_test.go
+gopkg/src/golang.org/x/mod/zip/testdata/check_dir/empty.txt
+gopkg/src/golang.org/x/mod/zip/testdata/check_dir/various.txt
+gopkg/src/golang.org/x/mod/zip/testdata/check_files/empty.txt
+gopkg/src/golang.org/x/mod/zip/testdata/check_files/various.txt
+gopkg/src/golang.org/x/mod/zip/testdata/check_zip/empty.txt
+gopkg/src/golang.org/x/mod/zip/testdata/check_zip/various.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/bad_file_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/bad_gomod_case.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/bad_mod_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/bad_mod_path_version_suffix.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/bad_version.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/dup_file.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/dup_file_and_dir.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/empty.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/exclude_cap_go_mod_submodule.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/exclude_submodule.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/exclude_vendor.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/file_case_conflict.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/go_mod_dir.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/invalid_utf8_mod_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create/simple.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/bad_file_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/bad_gomod_case.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/bad_mod_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/bad_mod_path_version_suffix.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/bad_version.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/empty.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/exclude_submodule.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/exclude_vcs.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/exclude_vendor.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/go_mod_dir.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/invalid_utf8_mod_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/create_from_dir/simple.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/bad_file_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/bad_gomod_case.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/bad_mod_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/bad_mod_path_version_suffix.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/bad_submodule.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/bad_version.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/cap_go_mod_not_submodule.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/dup_file.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/dup_file_and_dir.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/empty.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/file_case_conflict.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/go_mod_dir.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/invalid_utf8_mod_path.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/prefix_only.txt
+gopkg/src/golang.org/x/mod/zip/testdata/unzip/simple.txt
+gopkg/src/golang.org/x/mod/zip/vendor_test.go
+gopkg/src/golang.org/x/mod/zip/zip.go
+gopkg/src/golang.org/x/mod/zip/zip_test.go
Index: pkgsrc/devel/go-mod/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-mod/buildlink3.mk:1.1
--- /dev/null Fri Dec 4 09:25:33 2020
+++ pkgsrc/devel/go-mod/buildlink3.mk Fri Dec 4 09:25:33 2020
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/12/04 09:25:33 bsiegert Exp $
+
+BUILDLINK_TREE+= go-mod
+
+.if !defined(GO_MOD_BUILDLINK3_MK)
+GO_MOD_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-mod= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-mod?= build
+
+BUILDLINK_API_DEPENDS.go-mod+= go-mod>=0.4.0
+BUILDLINK_PKGSRCDIR.go-mod?= ../../devel/go-mod
+
+.include "../../devel/go-xerrors/buildlink3.mk"
+.include "../../security/go-crypto/buildlink3.mk"
+.endif # GO_MOD_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-mod
Index: pkgsrc/devel/go-mod/distinfo
diff -u /dev/null pkgsrc/devel/go-mod/distinfo:1.1
--- /dev/null Fri Dec 4 09:25:33 2020
+++ pkgsrc/devel/go-mod/distinfo Fri Dec 4 09:25:33 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/04 09:25:33 bsiegert Exp $
+
+SHA1 (mod-0.4.0.tar.gz) = 4ac1a785bc7210d25df2153b82ec928a20f61e4e
+RMD160 (mod-0.4.0.tar.gz) = 44f6d319b64083c0e277a0f7210ace6d95b3cd57
+SHA512 (mod-0.4.0.tar.gz) = 90c1e3857aba03df889f152a26026a0deb8353a3b78c813b2ac091fdcb4ec92c2d8dc0e450613a3e79bca342601ee0202239ec69ea8f505b3e1b5d553ba2edd7
+Size (mod-0.4.0.tar.gz) = 102301 bytes
Home |
Main Index |
Thread Index |
Old Index