pkgsrc-WIP-changes archive

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

chartsrv: Properly fill DISTNAME / MASTER_SITES



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Jan 8 23:42:31 2023 +0100
Changeset:	68f58feeb800af23bfdb485961b89f395ac8c612

Modified Files:
	chartsrv/Makefile
	chartsrv/distinfo
Removed Files:
	chartsrv/TODO

Log Message:
chartsrv: Properly fill DISTNAME / MASTER_SITES

Avoid too generic DISTNAME as noticed by TODO.

Seems to also work fine, remove TODO.

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

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

diffstat:
 chartsrv/Makefile | 7 ++-----
 chartsrv/TODO     | 3 ---
 chartsrv/distinfo | 6 +++---
 3 files changed, 5 insertions(+), 11 deletions(-)

diffs:
diff --git a/chartsrv/Makefile b/chartsrv/Makefile
index 7c126b03bd..2a6aec3c75 100644
--- a/chartsrv/Makefile
+++ b/chartsrv/Makefile
@@ -1,9 +1,8 @@
 # $NetBSD$
 
-DISTNAME=	1.0.2
-PKGNAME=	${DISTNAME:S/^/chartsrv-/}
+DISTNAME=	chartsrv-1.0.2
 CATEGORIES=	www
-MASTER_SITES=	https://git.sr.ht/~sircmpwn/chartsrv/archive/
+MASTER_SITES=	-https://git.sr.ht/~sircmpwn/chartsrv/archive/${PKGVERSION_NOREV}.tar.gz
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://git.sr.ht/~sircmpwn/chartsrv/
@@ -12,8 +11,6 @@ LICENSE=	mit
 
 GO_BUILD_PATTERN+=	.
 
-WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
-
 .include "go-modules.mk"
 
 .include "../../lang/go/go-module.mk"
diff --git a/chartsrv/TODO b/chartsrv/TODO
deleted file mode 100644
index 9fb31a8051..0000000000
--- a/chartsrv/TODO
+++ /dev/null
@@ -1,3 +0,0 @@
-- DISTNAME is not okay, it would be nice to have it as `chartsrv-1.0.2' without
-  using any DIST_SUBDIR.
-- Not tested!
diff --git a/chartsrv/distinfo b/chartsrv/distinfo
index db3f42e167..14bd37f0c7 100644
--- a/chartsrv/distinfo
+++ b/chartsrv/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-BLAKE2s (1.0.2.tar.gz) = c65f3e719176222bd1972c5b7ae6225a50a584edc7d11d32f6ca3228abac0107
-SHA512 (1.0.2.tar.gz) = 3e47605a44484fa21145c878d974b511915dd5de132be41dc7d0e00cb307e78c96bd98d03923adfc2ab8d4dda939954183b3b4856a962d02db54e5e61c6c4ed9
-Size (1.0.2.tar.gz) = 8208 bytes
+BLAKE2s (chartsrv-1.0.2.tar.gz) = c65f3e719176222bd1972c5b7ae6225a50a584edc7d11d32f6ca3228abac0107
+SHA512 (chartsrv-1.0.2.tar.gz) = 3e47605a44484fa21145c878d974b511915dd5de132be41dc7d0e00cb307e78c96bd98d03923adfc2ab8d4dda939954183b3b4856a962d02db54e5e61c6c4ed9
+Size (chartsrv-1.0.2.tar.gz) = 8208 bytes
 BLAKE2s (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.mod) = 2136184228fc4913040e8abab210d9694fa46310b1073dbb42e1697f8591c1f2
 SHA512 (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.mod) = 196affe091247f94ceda4b56629bd62d4ee2b397f2c0f56c9534c02e43531b46705ad33543b58c1a4fc7a48e25e5923db087fe0485a93966a4086581c0d1d3e1
 Size (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.mod) = 36 bytes


Home | Main Index | Thread Index | Old Index