pkgsrc-WIP-changes archive

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

dstp: update to 0.4.0



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%NetBSD.org@localhost>
Pushed By:	bsiegert
Date:		Thu Oct 19 20:40:07 2023 +0200
Changeset:	3fb7a2e786c72538fe2bf9884ab5e1c01431c573

Modified Files:
	dstp/Makefile
	dstp/PLIST
	dstp/distinfo
Added Files:
	dstp/go-modules.mk

Log Message:
dstp: update to 0.4.0

Also change to a go module build.

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

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

diffstat:
 dstp/Makefile      | 32 +++++---------------------------
 dstp/PLIST         |  4 +---
 dstp/distinfo      | 27 +++++++++++++++++++++------
 dstp/go-modules.mk | 27 +++++++++++++++++++++++++++
 4 files changed, 54 insertions(+), 36 deletions(-)

diffs:
diff --git a/dstp/Makefile b/dstp/Makefile
index 6bec32773c..5fe6d0b0ae 100644
--- a/dstp/Makefile
+++ b/dstp/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
-GITHUB_TAG=		refs/tags/v${PKGVERSION_NOREV}
-DISTNAME=		dstp-0.3.0
+GITHUB_TAG=		v${PKGVERSION_NOREV}
+DISTNAME=		dstp-0.4.0
 CATEGORIES=		net
 MASTER_SITES=		${MASTER_SITE_GITHUB:=ycd/}
 
@@ -12,32 +12,10 @@ LICENSE=		mit
 
 USE_LANGUAGES=		# none
 
-WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
+.include "go-modules.mk"
 
-DEPENDS+=		go-tools-[0-9]*:../../devel/go-tools
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/dstp ${DESTDIR}${PREFIX}/bin
 
-GO_MODULE_FILES+=	github.com/fatih/color/@v/v1.13.0.mod
-GO_MODULE_FILES+=	github.com/fatih/color/@v/v1.13.0.zip
-GO_MODULE_FILES+=	github.com/go-ping/ping/@v/v0.0.0-20211014180314-6e2b003bffdd.mod
-GO_MODULE_FILES+=	github.com/go-ping/ping/@v/v0.0.0-20211014180314-6e2b003bffdd.zip
-GO_MODULE_FILES+=	github.com/google/uuid/@v/v1.2.0.mod
-GO_MODULE_FILES+=	github.com/google/uuid/@v/v1.2.0.zip
-GO_MODULE_FILES+=	github.com/mattn/go-colorable/@v/v0.1.9.mod
-GO_MODULE_FILES+=	github.com/mattn/go-colorable/@v/v0.1.9.zip
-GO_MODULE_FILES+=	github.com/mattn/go-isatty/@v/v0.0.12.mod
-GO_MODULE_FILES+=	github.com/mattn/go-isatty/@v/v0.0.14.mod
-GO_MODULE_FILES+=	github.com/mattn/go-isatty/@v/v0.0.14.zip
-GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20210316092652-d523dce5a7f4.mod
-GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20210316092652-d523dce5a7f4.zip
-GO_MODULE_FILES+=	golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.mod
-GO_MODULE_FILES+=	golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.zip
-GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20210630005230-0f9fa26af87c.mod
-GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20210630005230-0f9fa26af87c.zip
-GO_MODULE_FILES+=	golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod
-GO_MODULE_FILES+=	golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.zip
-
-.include "../../devel/go-sys/buildlink3.mk"
-.include "../../net/go-net/buildlink3.mk"
-.include "../../textproc/go-text/buildlink3.mk"
 .include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/dstp/PLIST b/dstp/PLIST
index 66e6bf5143..a12de4bf06 100644
--- a/dstp/PLIST
+++ b/dstp/PLIST
@@ -1,4 +1,2 @@
 @comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/opt/pkg/bin/bmake package"
-@comment TODO: 2. run "/opt/pkg/bin/bmake print-PLIST"
+bin/dstp
diff --git a/dstp/distinfo b/dstp/distinfo
index 701d15712d..a5d3bf914d 100644
--- a/dstp/distinfo
+++ b/dstp/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-BLAKE2s (dstp-0.3.0.tar.gz) = 7fcf34c59f85a0fcda2e04361ffe4c680c584fb9f6a521236a89016ba6e4d474
-SHA512 (dstp-0.3.0.tar.gz) = 909941c229c82215ba89a6ef6197b1f1f4a90eedb4b83ea96b1e31d255e9844ff5acbcba7b3d64859af9c781949372cd4bf51c9041f462c9a0bee49290668ef7
-Size (dstp-0.3.0.tar.gz) = 215221 bytes
+BLAKE2s (dstp-0.4.0.tar.gz) = 8e63bce9fdc7b5130cd747c437a484807593cb32f40d5a4664cd7a22018d22eb
+SHA512 (dstp-0.4.0.tar.gz) = 536aa507ff71b6f6ddb108c2a5e8d713b9a0adb35d8a6db172f3fc5d4b740af1f3af35fba0d8bcaf8679ac80107ad59e193989fe9c4457f2a646f5d0eb662bd3
+Size (dstp-0.4.0.tar.gz) = 217213 bytes
 BLAKE2s (github.com_fatih_color_@v_v1.13.0.mod) = 208f13b746920e59986201882e8eca856e606ba037caf71225ed5c5ab708d446
 SHA512 (github.com_fatih_color_@v_v1.13.0.mod) = 657d9220217da47372f647fee297258a13495d7c10bd75d0645a21e81c41443b7a71f8162178181396129983cb695241056f052412fc2d5c4fefb214a2a82587
 Size (github.com_fatih_color_@v_v1.13.0.mod) = 126 bytes
@@ -48,6 +48,18 @@ Size (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.mod) = 25 bytes
 BLAKE2s (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.zip) = a0dbb81c68bf5b27eb629e90bd5f496d2dd5c5f5cf90ad310b562e289a4befd6
 SHA512 (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.zip) = 48b983589bd682ff9275c47733ec73637ebb5e58e1bca0c7744101229237d5cb34170efab63db0061aec857052cce9ef03c3497702b90a86287e6be88e1b33aa
 Size (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.zip) = 28693 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.mod) = 6b2b0a0ac9d77adff84f1aab70cc38a4dcf14418c326fcb2dde80f104fb41e9f
+SHA512 (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20200116001909-b77594299b42.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20200223170610-d5e6a3e2c0ae.mod) = 6b2b0a0ac9d77adff84f1aab70cc38a4dcf14418c326fcb2dde80f104fb41e9f
+SHA512 (golang.org_x_sys_@v_v0.0.0-20200223170610-d5e6a3e2c0ae.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20200223170610-d5e6a3e2c0ae.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20201119102817-f84b799fce68.mod) = 6b2b0a0ac9d77adff84f1aab70cc38a4dcf14418c326fcb2dde80f104fb41e9f
+SHA512 (golang.org_x_sys_@v_v0.0.0-20201119102817-f84b799fce68.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20201119102817-f84b799fce68.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20210315160823-c6e025ad8005.mod) = 6b2b0a0ac9d77adff84f1aab70cc38a4dcf14418c326fcb2dde80f104fb41e9f
+SHA512 (golang.org_x_sys_@v_v0.0.0-20210315160823-c6e025ad8005.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20210315160823-c6e025ad8005.mod) = 33 bytes
 BLAKE2s (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
 SHA512 (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
 Size (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.mod) = 33 bytes
@@ -57,6 +69,9 @@ Size (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.zip) = 1646674 byte
 BLAKE2s (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = ea6d2006c1c11da8c2174212a63865a04dec1775f98210c17f3a0cb8d4a1a80f
 SHA512 (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
 Size (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = 95 bytes
-BLAKE2s (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 589b6eb654aba7bc8013335ded196de3cc21dccf4805e83602cbef73de8bf376
-SHA512 (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 267fab133c0ae306a1f484d17a9c3bc7bafb1ae77df3412ea4047de34a940b6425524a93b7b41d010cbf32160482fa3a370f93654e4ff73b6d11e45463bc185a
-Size (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 23281 bytes
+BLAKE2s (golang.org_x_text_@v_v0.3.3.mod) = 70f5179544ccad4f13f0825e55a41b11a7dd38266aada468eb391ab115a3458e
+SHA512 (golang.org_x_text_@v_v0.3.3.mod) = f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
+Size (golang.org_x_text_@v_v0.3.3.mod) = 97 bytes
+BLAKE2s (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.mod) = d276ed1711a2da66e71b05357b06093eb7c33e7f00c194ff6386deb7b0676fca
+SHA512 (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.mod) = 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0
+Size (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.mod) = 26 bytes
diff --git a/dstp/go-modules.mk b/dstp/go-modules.mk
new file mode 100644
index 0000000000..b739c9b9ce
--- /dev/null
+++ b/dstp/go-modules.mk
@@ -0,0 +1,27 @@
+===> Extracting for dstp-0.4.0
+# $NetBSD$
+
+GO_MODULE_FILES+=	github.com/fatih/color/@v/v1.13.0.mod
+GO_MODULE_FILES+=	github.com/fatih/color/@v/v1.13.0.zip
+GO_MODULE_FILES+=	github.com/go-ping/ping/@v/v0.0.0-20211014180314-6e2b003bffdd.mod
+GO_MODULE_FILES+=	github.com/go-ping/ping/@v/v0.0.0-20211014180314-6e2b003bffdd.zip
+GO_MODULE_FILES+=	github.com/google/uuid/@v/v1.2.0.mod
+GO_MODULE_FILES+=	github.com/google/uuid/@v/v1.2.0.zip
+GO_MODULE_FILES+=	github.com/mattn/go-colorable/@v/v0.1.9.mod
+GO_MODULE_FILES+=	github.com/mattn/go-colorable/@v/v0.1.9.zip
+GO_MODULE_FILES+=	github.com/mattn/go-isatty/@v/v0.0.12.mod
+GO_MODULE_FILES+=	github.com/mattn/go-isatty/@v/v0.0.14.mod
+GO_MODULE_FILES+=	github.com/mattn/go-isatty/@v/v0.0.14.zip
+GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20210316092652-d523dce5a7f4.mod
+GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20210316092652-d523dce5a7f4.zip
+GO_MODULE_FILES+=	golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.mod
+GO_MODULE_FILES+=	golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.zip
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20200116001909-b77594299b42.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20200223170610-d5e6a3e2c0ae.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20210315160823-c6e025ad8005.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20210630005230-0f9fa26af87c.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20210630005230-0f9fa26af87c.zip
+GO_MODULE_FILES+=	golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod
+GO_MODULE_FILES+=	golang.org/x/text/@v/v0.3.3.mod
+GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.0.0-20180917221912-90fa682c2a6e.mod


Home | Main Index | Thread Index | Old Index