pkgsrc-WIP-changes archive

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

Import go-logging-20201216 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sun Jan 24 22:49:52 2021 +0100
Changeset:	71adb96a301d2430cf68ef800191abb101fba5c5

Modified Files:
	Makefile
	nomad/Makefile
Added Files:
	go-logging/DESCR
	go-logging/Makefile
	go-logging/PLIST
	go-logging/buildlink3.mk
	go-logging/distinfo

Log Message:
Import go-logging-20201216 to wip

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

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

diffstat:
 Makefile                 |  1 +
 go-logging/DESCR         |  1 +
 go-logging/Makefile      | 19 +++++++++++++++++++
 go-logging/PLIST         | 11 +++++++++++
 go-logging/buildlink3.mk | 15 +++++++++++++++
 go-logging/distinfo      |  6 ++++++
 nomad/Makefile           |  3 +++
 7 files changed, 56 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ad96afc87d..d1549cfe2e 100644
--- a/Makefile
+++ b/Makefile
@@ -1249,6 +1249,7 @@ SUBDIR+=	go-kong
 SUBDIR+=	go-kr-text
 SUBDIR+=	go-ksuid
 SUBDIR+=	go-log
+SUBDIR+=	go-logging
 SUBDIR+=	go-lzw
 SUBDIR+=	go-madon
 SUBDIR+=	go-makezero
diff --git a/go-logging/DESCR b/go-logging/DESCR
new file mode 100644
index 0000000000..9ceed5e45d
--- /dev/null
+++ b/go-logging/DESCR
@@ -0,0 +1 @@
+The logging library used by Pion
diff --git a/go-logging/Makefile b/go-logging/Makefile
new file mode 100644
index 0000000000..00b7edeabb
--- /dev/null
+++ b/go-logging/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	logging-20201216
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	logging
+GITHUB_TAG=	f86d3277e5bc6376c4331ba848b332086e53f06e
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=pion/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://pion.ly/
+COMMENT=	The logging library used by Pion
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/pion/logging
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-logging/PLIST b/go-logging/PLIST
new file mode 100644
index 0000000000..3679a3dace
--- /dev/null
+++ b/go-logging/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/pion/logging.a
+gopkg/src/github.com/pion/logging/LICENSE
+gopkg/src/github.com/pion/logging/README.md
+gopkg/src/github.com/pion/logging/codecov.yml
+gopkg/src/github.com/pion/logging/go.mod
+gopkg/src/github.com/pion/logging/go.sum
+gopkg/src/github.com/pion/logging/logger.go
+gopkg/src/github.com/pion/logging/logging_test.go
+gopkg/src/github.com/pion/logging/renovate.json
+gopkg/src/github.com/pion/logging/scoped.go
diff --git a/go-logging/buildlink3.mk b/go-logging/buildlink3.mk
new file mode 100644
index 0000000000..e6e53a17c2
--- /dev/null
+++ b/go-logging/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-logging
+
+.if !defined(GO_LOGGING_BUILDLINK3_MK)
+GO_LOGGING_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-logging=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-logging?=	build
+
+BUILDLINK_API_DEPENDS.go-logging+=	go-logging>=20201216
+BUILDLINK_PKGSRCDIR.go-logging?=	../../wip/go-logging
+.endif	# GO_LOGGING_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-logging
diff --git a/go-logging/distinfo b/go-logging/distinfo
new file mode 100644
index 0000000000..a437fcc52d
--- /dev/null
+++ b/go-logging/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (logging-20201216-f86d3277e5bc6376c4331ba848b332086e53f06e.tar.gz) = 98ac3130dabc56bdf8a54e33020299c1c0146e81
+RMD160 (logging-20201216-f86d3277e5bc6376c4331ba848b332086e53f06e.tar.gz) = eef71abc415cc50ae3baea6b54b3c715a7a79813
+SHA512 (logging-20201216-f86d3277e5bc6376c4331ba848b332086e53f06e.tar.gz) = 159e66fbd5cd4afb63015b82281ef9987ba7b1b47aaec40ecc8dc4b0c4ae554f856b67333a5bd995923a2ab370035c856bfba03262ad0f24c2d4d26ed26f4ba7
+Size (logging-20201216-f86d3277e5bc6376c4331ba848b332086e53f06e.tar.gz) = 11096 bytes
diff --git a/nomad/Makefile b/nomad/Makefile
index dc0401596e..78fc05409a 100644
--- a/nomad/Makefile
+++ b/nomad/Makefile
@@ -15,5 +15,8 @@ GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 GO_SRCPATH=	github.com/hashicorp/nomad/
 
 
+post-install:
+	${RM} -rf ${DESTDIR}${PREFIX}/gopkg/src/${GO_PLATFORM}/${GO_SRCPATH}/vendor
+
 .include "../../lang/go/go-package.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index