pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel New package, reftools.
details: https://anonhg.NetBSD.org/pkgsrc/rev/09e4adfc470a
branches: trunk
changeset: 443088:09e4adfc470a
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Dec 06 19:50:14 2020 +0000
description:
New package, reftools.
reftools is a collection of refactoring tools for Go.
fixplurals: remove redundant parameter and result types from function signatures
fillstruct: fills a struct literal with default values
fillswitch: fills a (type) switch statement with case statements
diffstat:
devel/Makefile | 3 +-
devel/reftools/DESCR | 5 ++++
devel/reftools/Makefile | 20 ++++++++++++++++
devel/reftools/PLIST | 4 +++
devel/reftools/distinfo | 54 ++++++++++++++++++++++++++++++++++++++++++++
devel/reftools/go-modules.mk | 14 +++++++++++
6 files changed, 99 insertions(+), 1 deletions(-)
diffs (134 lines):
diff -r 75626b6e319d -r 09e4adfc470a devel/Makefile
--- a/devel/Makefile Sun Dec 06 18:17:28 2020 +0000
+++ b/devel/Makefile Sun Dec 06 19:50:14 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3286 2020/12/06 16:46:07 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3287 2020/12/06 19:50:14 bsiegert Exp $
#
COMMENT= Development utilities
@@ -2694,6 +2694,7 @@
SUBDIR+= rebar
SUBDIR+= rebar3
SUBDIR+= refinecvs
+SUBDIR+= reftools
SUBDIR+= remake
SUBDIR+= reposurgeon
SUBDIR+= rgbds
diff -r 75626b6e319d -r 09e4adfc470a devel/reftools/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/reftools/DESCR Sun Dec 06 19:50:14 2020 +0000
@@ -0,0 +1,5 @@
+reftools is a collection of refactoring tools for Go.
+
+fixplurals: remove redundant parameter and result types from function signatures
+fillstruct: fills a struct literal with default values
+fillswitch: fills a (type) switch statement with case statements
diff -r 75626b6e319d -r 09e4adfc470a devel/reftools/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/reftools/Makefile Sun Dec 06 19:50:14 2020 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2020/12/06 19:50:14 bsiegert Exp $
+
+GITHUB_TAG= 01cf781a
+DISTNAME= reftools-0.0.20201119
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=davidrjenni/}
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= https://github.com/davidrjenni/reftools/
+COMMENT= Go refactoring tools
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/reftools-01cf781abd5bfec662427327f5e38d1bd02e4e11
+
+GO_BUILD_PATTERN= ./cmd/...
+
+.include "go-modules.mk"
+
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 75626b6e319d -r 09e4adfc470a devel/reftools/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/reftools/PLIST Sun Dec 06 19:50:14 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/06 19:50:14 bsiegert Exp $
+bin/fillstruct
+bin/fillswitch
+bin/fixplurals
diff -r 75626b6e319d -r 09e4adfc470a devel/reftools/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/reftools/distinfo Sun Dec 06 19:50:14 2020 +0000
@@ -0,0 +1,54 @@
+$NetBSD: distinfo,v 1.1 2020/12/06 19:50:14 bsiegert Exp $
+
+SHA1 (github.com_kisielk_gotool_@v_v1.0.0.mod) = 67bbadd3238641f6a22689e4f0139671546603cd
+RMD160 (github.com_kisielk_gotool_@v_v1.0.0.mod) = 05c51a32d7d769e41a20218a6b5e756bb2eb3dd6
+SHA512 (github.com_kisielk_gotool_@v_v1.0.0.mod) = 86aca37f7f94ada381e0528a535b344c8fdbab9e0dcc7b71d716083501ad3d61db701ee159ccfb5455a351fc18a405301abe798037dd1200f9950bdd805d3dc9
+Size (github.com_kisielk_gotool_@v_v1.0.0.mod) = 35 bytes
+SHA1 (github.com_kisielk_gotool_@v_v1.0.0.zip) = c3ce15c5bd94d5fde87da712e7cfb7e966a6800b
+RMD160 (github.com_kisielk_gotool_@v_v1.0.0.zip) = 4734ba5817dc1aa753528996c3f29de046d86131
+SHA512 (github.com_kisielk_gotool_@v_v1.0.0.zip) = 9eba5f95e6c5d29b2928708ed91b1cd5a023f0b7053b5529095112a2190d097ba26be7f63b7719f7ee2ed29e698bfe7c4dfa0b33f60b4e475fd1d420453fe7e2
+Size (github.com_kisielk_gotool_@v_v1.0.0.zip) = 18981 bytes
+SHA1 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = c3e39c7d2e068f84aa5bea52adee1b947b7172ef
+RMD160 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.mod) = 183c918cefe501fad260e58e749108493fd09855
+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
+SHA1 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.zip) = f7217f22602ed02ae02924ef4f5abd8906355c77
+RMD160 (golang.org_x_crypto_@v_v0.0.0-20190308221718-c2843e01d9a2.zip) = 77be3c8108f90bebf0c34ed8168620a51286ecd0
+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
+SHA1 (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.mod) = 6ef6a99d81892498abd5503dbb2b07c0ae1bc68d
+RMD160 (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.mod) = afd75680a7f105a82833b8ce7c412fd2c478ff29
+SHA512 (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.mod) = 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
+Size (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.mod) = 119 bytes
+SHA1 (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.zip) = 03f25c6a9b8ce2bab1a13ccbe0a6938db4fc15ab
+RMD160 (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.zip) = 94398545cf9500da3fb3aa9ff7b5f4a1cf5b103e
+SHA512 (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.zip) = 57852d3cd066a9eb279f909b464824041e138db1eb98c66ffbbc81259cb3f94da8ecd4d2b961646fbbe0c05156785ab2f44408b19d9f467001627d7b12fed4af
+Size (golang.org_x_net_@v_v0.0.0-20190311183353-d8887717615a.zip) = 1273340 bytes
+SHA1 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = 536a84fdba3fc4d815d54fbe7255aa493fbd3ecb
+RMD160 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.mod) = d0b39e9f156ac4a72364d57c54e08d92f91000c0
+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
+SHA1 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.zip) = a1e8ed4704a6980ebf2b9623edb134681e37c14a
+RMD160 (golang.org_x_sys_@v_v0.0.0-20190215142949-d0b11bdaac8a.zip) = 3ec14fba304c2cb3b465a3ed761e2abc4f7d351d
+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
+SHA1 (golang.org_x_text_@v_v0.3.0.mod) = f3a33d4b075f49232516e483aeb74d4015994c88
+RMD160 (golang.org_x_text_@v_v0.3.0.mod) = 2954886f81bdca9d743aac213cd223e1ec7f8484
+SHA512 (golang.org_x_text_@v_v0.3.0.mod) = ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
+Size (golang.org_x_text_@v_v0.3.0.mod) = 25 bytes
+SHA1 (golang.org_x_text_@v_v0.3.0.zip) = 6d55d1ba31d50719f91c77cd1fe44553f9ce07e0
+RMD160 (golang.org_x_text_@v_v0.3.0.zip) = 6e5ab0fad42b4bac5d765044b4d03aae57aaf7bd
+SHA512 (golang.org_x_text_@v_v0.3.0.zip) = 982d78f580a7eac99a0c51e6f1fd2b2c3b91f56cd5e2b96fe960510049f7daf5915264f73f55f05675eee232a52998f9667fa84a9ccba15ed7819e4c93f583a7
+Size (golang.org_x_text_@v_v0.3.0.zip) = 6349244 bytes
+SHA1 (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.mod) = 53132404e5c661d21e376cf34cedd21444f323d5
+RMD160 (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.mod) = 32020b819131f864f0fb16a4b286500e3d704c3b
+SHA512 (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.mod) =
18ae9b2f54109b4ec5cdea433ee0e3b7006e4d5ea57022d6e8151d4d364735a6b55cf7b5eb2f43b602ec786b2b6819ad78dfc33151ee1a63a0b1199f54ce34a1
+Size (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.mod) = 87 bytes
+SHA1 (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.zip) = 55353cbfaa8c9f58abe3d50c3268e40ebf29697e
+RMD160 (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.zip) = da5ced095275d8ac146b1a6a9c175322f31036b7
+SHA512 (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.zip) =
0e56072225216ca6cbaf6b9569915dd86cabaafb5096a5d254206fb16e9e6808985591470d733431bc6e031ce1842fa9a1c2fc5ea3732e6467fd22517b73a3bb
+Size (golang.org_x_tools_@v_v0.0.0-20190408220357-e5b8258f4918.zip) = 2555723 bytes
+SHA1 (reftools-0.0.20201119-01cf781a.tar.gz) = 993e595b6449a0e2cfdaa3b23847dc8ad2b1129b
+RMD160 (reftools-0.0.20201119-01cf781a.tar.gz) = c548d4d6cdc14ffb5e27c13d13f0f5a7b5524fea
+SHA512 (reftools-0.0.20201119-01cf781a.tar.gz) = f957e61336a8e7c2e7b723c930710f2bbb267732c6b2dce008a4f54a22aea4dc8036ea76b1222ed1b9047ea579131a705db7c09ce6396c381c67897d5996ad3a
+Size (reftools-0.0.20201119-01cf781a.tar.gz) = 131321 bytes
diff -r 75626b6e319d -r 09e4adfc470a devel/reftools/go-modules.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/reftools/go-modules.mk Sun Dec 06 19:50:14 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: go-modules.mk,v 1.1 2020/12/06 19:50:14 bsiegert Exp $
+
+GO_MODULE_FILES+= github.com/kisielk/gotool/@v/v1.0.0.mod
+GO_MODULE_FILES+= github.com/kisielk/gotool/@v/v1.0.0.zip
+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-20190311183353-d8887717615a.mod
+GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190311183353-d8887717615a.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-20190408220357-e5b8258f4918.mod
+GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190408220357-e5b8258f4918.zip
Home |
Main Index |
Thread Index |
Old Index