pkgsrc-WIP-changes archive

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

Import err113-20210110 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 25 23:53:41 2021 +0100
Changeset:	0aed2d701cd92acebc1054e72036d23e7e39d1da

Modified Files:
	err113/Makefile
	err113/buildlink3.mk

Log Message:
Import err113-20210110 to wip

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

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

diffstat:
 err113/Makefile      | 16 ++++++++++------
 err113/buildlink3.mk | 18 +++++++++---------
 2 files changed, 19 insertions(+), 15 deletions(-)

diffs:
diff --git a/err113/Makefile b/err113/Makefile
index 4c53f46e44..2a18f75708 100644
--- a/err113/Makefile
+++ b/err113/Makefile
@@ -4,15 +4,19 @@ DISTNAME=	err113
 PKGNAME=	err113-20210110
 GITHUB_PROJECT=	go-err113
 GITHUB_TAG=	aea10b59be24dbccef6788e95bb147053c8c774c
-CATEGORIES=	# TODO: add primary category
+CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=Djarvur/}
 
-MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE # or use pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
 HOMEPAGE=	https://github.com/Djarvur/go-err113/
-COMMENT=	TODO: Short description of the package
-#LICENSE=	# TODO: (see mk/license.mk)
+COMMENT=	Golang linter to check the errors handling expressions
+LICENSE=	mit
 
-WRKSRC=		${WRKDIR}/go-err113-aea10b59be24dbccef6788e95bb147053c8c774c
-USE_LANGUAGES=	# none
+GO_SRCPATH=	github.com/Djarvur/go-err113
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
 
+.include "../../devel/go-mod/buildlink3.mk"
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../devel/go-xerrors/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/err113/buildlink3.mk b/err113/buildlink3.mk
index 5117ce5782..b7934d2968 100644
--- a/err113/buildlink3.mk
+++ b/err113/buildlink3.mk
@@ -1,19 +1,19 @@
 # $NetBSD$
 
-BUILDLINK_TREE+=	go-err113
+BUILDLINK_TREE+=	err113
 
-.if !defined(GO_ERR113_BUILDLINK3_MK)
-GO_ERR113_BUILDLINK3_MK:=
+.if !defined(ERR113_BUILDLINK3_MK)
+ERR113_BUILDLINK3_MK:=
 
-BUILDLINK_CONTENTS_FILTER.go-err113=	${EGREP} gopkg/
-BUILDLINK_DEPMETHOD.go-err113?=		build
+BUILDLINK_CONTENTS_FILTER.err113=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.err113?=		build
 
-BUILDLINK_API_DEPENDS.go-err113+=	go-err113>=0.1.0
-BUILDLINK_PKGSRCDIR.go-err113?=		../../wip/go-err113
+BUILDLINK_API_DEPENDS.err113+=	err113>=20210110
+BUILDLINK_PKGSRCDIR.err113?=	../../wip/err113
 
 .include "../../devel/go-mod/buildlink3.mk"
 .include "../../devel/go-tools/buildlink3.mk"
 .include "../../devel/go-xerrors/buildlink3.mk"
-.endif	# GO_ERR113_BUILDLINK3_MK
+.endif	# ERR113_BUILDLINK3_MK
 
-BUILDLINK_TREE+=	-go-err113
+BUILDLINK_TREE+=	-err113


Home | Main Index | Thread Index | Old Index