pkgsrc-WIP-changes archive

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

go-properties-map: blk3 changes for arduino-builder



Module Name:	pkgsrc-wip
Committed By:	Chris Lasocki <krz.lasocki%gmail.com@localhost>
Pushed By:	klasocki
Date:		Tue Apr 9 12:13:03 2019 +0000
Changeset:	3b003ae4219ec065206d906d34aa33fe5108533f

Modified Files:
	arduino-builder/Makefile
	go-paths-helper/buildlink3.mk
	go-properties-map/Makefile
Added Files:
	go-properties-map/DESCR
	go-properties-map/buildlink3.mk
Removed Files:
	go-properties-map/DESC

Log Message:
go-properties-map: blk3 changes for arduino-builder

recreated buildkink3.mk for go-paths-helper and go-properties-map
with pkgtools/createbuildlink

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

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

diffstat:
 arduino-builder/Makefile        | 13 ++++++++++---
 go-paths-helper/buildlink3.mk   | 10 +++++-----
 go-properties-map/DESC          |  0
 go-properties-map/DESCR         |  1 +
 go-properties-map/Makefile      |  1 +
 go-properties-map/buildlink3.mk | 16 ++++++++++++++++
 6 files changed, 33 insertions(+), 8 deletions(-)

diffs:
diff --git a/arduino-builder/Makefile b/arduino-builder/Makefile
index 8248bf6a04..b297625f75 100644
--- a/arduino-builder/Makefile
+++ b/arduino-builder/Makefile
@@ -12,19 +12,26 @@ HOMEPAGE=	https://github.com/arduino/arduino-builder/
 COMMENT=	Command line tool able to build arduino sketches
 #LICENSE=	# TODO: (see mk/license.mk)
 
-WRKSRC=		${WRKDIR}/arduino-builder-1.4.4
+
+GO_SRCPATH=		github.com/arduino/arduino-builder
+GO_DIST_BASE=	${GITHUB_PROJECT}-${DISTNAME}
+
+
+
 USE_LANGUAGES=	c++ go
 DEPENDS+= go>=1.8.0:../../lang/go
 DEPENDS+= go-errors>=0:../../devel/go-errors
 DEPENDS+= go-testify>=0:../../devel/go-testify
 DEPENDS+= grpc>=0:../../net/grpc
 DEPENDS+= protobuf>=0:../../devel/protobuf
-DEPENDS+= go-fsnotify>=:../../devel/go-fsnotify
+DEPENDS+= go-fsnotify>=0:../../devel/go-fsnotify
+DEPENDS+= go-properties-map>=0:../../wip/go-properties-map
 
-.include "../../mk/bsd.pkg.mk"
 .include "../../lang/go/go-package.mk"
 .include "../../devel/go-errors/buildlink3.mk"
 .include "../../devel/go-testify/buildlink3.mk"
 .include "../../net/grpc/buildlink3.mk"
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../devel/go-fsnotify/buildlink3.mk"
+.include "../../wip/go-properties-map/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-paths-helper/buildlink3.mk b/go-paths-helper/buildlink3.mk
index 39beed9cfc..7e8f0dc7c9 100644
--- a/go-paths-helper/buildlink3.mk
+++ b/go-paths-helper/buildlink3.mk
@@ -1,14 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.2 2017/08/25 16:49:12 jperkin Exp $
-
+# $NetBSD$
 BUILDLINK_TREE+=	go-paths-helper
 
 .if !defined(GO_PATHS_HELPER_BUILDLINK3_MK)
 GO_PATHS_HELPER_BUILDLINK3_MK:=
 
+BUILDLINK_CONTENTS_FILTER.go-paths-helper=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-paths-helper?=		build
 
-BUILDLINK_DEPMETHOD.go-paths-helper?=	build
+BUILDLINK_API_DEPENDS.go-paths-helper+=	go-paths-helper>=c3c98d1bf2e1069f60ab84bff3a2eb3c5422f3b0
 BUILDLINK_PKGSRCDIR.go-paths-helper?=	../../wip/go-paths-helper
-
-.endif  # GO_PATHS_HELPER_BUILDLINK3_MK
+.endif	# GO_PATHS_HELPER_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-go-paths-helper
diff --git a/go-properties-map/DESC b/go-properties-map/DESC
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/go-properties-map/DESCR b/go-properties-map/DESCR
new file mode 100644
index 0000000000..6766b4e08d
--- /dev/null
+++ b/go-properties-map/DESCR
@@ -0,0 +1 @@
+go-properties-map
\ No newline at end of file
diff --git a/go-properties-map/Makefile b/go-properties-map/Makefile
index 1bfd585105..b4dfbe6ca2 100644
--- a/go-properties-map/Makefile
+++ b/go-properties-map/Makefile
@@ -13,6 +13,7 @@ MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/arduino/go-properties-map
 COMMENT=	TODO: Short description of the package
 LICENSE=	mit
+USE_LANGUAGES= go
 
 GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
 GO_SRCPATH=		github.com/arduino/go-properties-map
diff --git a/go-properties-map/buildlink3.mk b/go-properties-map/buildlink3.mk
new file mode 100644
index 0000000000..a88f4396a6
--- /dev/null
+++ b/go-properties-map/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD$
+BUILDLINK_TREE+=	go-properties-map
+
+.if !defined(GO_PROPERTIES_MAP_BUILDLINK3_MK)
+GO_PROPERTIES_MAP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-properties-map=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-properties-map?=		build
+
+BUILDLINK_API_DEPENDS.go-properties-map+=	go-properties-map>=ad37f0cfeff29fadeabe6b2f7f852d8db1fb5c41
+BUILDLINK_PKGSRCDIR.go-properties-map?=	../../wip/go-properties-map
+
+.include "../../wip/go-paths-helper/buildlink3.mk"
+.endif	# GO_PROPERTIES_MAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-properties-map


Home | Main Index | Thread Index | Old Index