pkgsrc-WIP-changes archive

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

Import go-pcidb-0.5.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Fri Jan 8 22:13:44 2021 +0100
Changeset:	d1555be954e4dcda202b018c0a911542ea106fb7

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

Log Message:
Import go-pcidb-0.5.0 to wip

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

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

diffstat:
 Makefile               |  1 +
 go-pcidb/DESCR         |  2 ++
 go-pcidb/Makefile      | 19 +++++++++++++++++++
 go-pcidb/PLIST         | 16 ++++++++++++++++
 go-pcidb/buildlink3.mk | 17 +++++++++++++++++
 go-pcidb/distinfo      |  6 ++++++
 6 files changed, 61 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 485bf843c2..f4c52c188c 100644
--- a/Makefile
+++ b/Makefile
@@ -1208,6 +1208,7 @@ SUBDIR+=	go-notify
 SUBDIR+=	go-param
 SUBDIR+=	go-pass
 SUBDIR+=	go-paths-helper
+SUBDIR+=	go-pcidb
 SUBDIR+=	go-pgzip
 SUBDIR+=	go-properties-map
 SUBDIR+=	go-protobuf-go
diff --git a/go-pcidb/DESCR b/go-pcidb/DESCR
new file mode 100644
index 0000000000..84338c59b8
--- /dev/null
+++ b/go-pcidb/DESCR
@@ -0,0 +1,2 @@
+pcidb is a small Golang library for programmatic
+querying of PCI vendor, product and class information
diff --git a/go-pcidb/Makefile b/go-pcidb/Makefile
new file mode 100644
index 0000000000..495e42be7f
--- /dev/null
+++ b/go-pcidb/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	go-pcidb-0.5.0
+GITHUB_PROJECT=	pcidb
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jaypipes/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/jaypipes/pcidb/
+COMMENT=	Small golang library for querying PCI database
+LICENSE=	apache-2.0
+
+GO_SRCPATH=	github.com/jaypipes/pcidb/
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../devel/go-homedir/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-pcidb/PLIST b/go-pcidb/PLIST
new file mode 100644
index 0000000000..6343558ee9
--- /dev/null
+++ b/go-pcidb/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/jaypipes/pcidb.a
+gopkg/src/github.com/jaypipes/pcidb/COPYING
+gopkg/src/github.com/jaypipes/pcidb/Gopkg.lock
+gopkg/src/github.com/jaypipes/pcidb/Gopkg.toml
+gopkg/src/github.com/jaypipes/pcidb/LICENSE
+gopkg/src/github.com/jaypipes/pcidb/Makefile
+gopkg/src/github.com/jaypipes/pcidb/README.md
+gopkg/src/github.com/jaypipes/pcidb/context.go
+gopkg/src/github.com/jaypipes/pcidb/discover.go
+gopkg/src/github.com/jaypipes/pcidb/go.mod
+gopkg/src/github.com/jaypipes/pcidb/go.sum
+gopkg/src/github.com/jaypipes/pcidb/internal_test.go
+gopkg/src/github.com/jaypipes/pcidb/main.go
+gopkg/src/github.com/jaypipes/pcidb/parse.go
+gopkg/src/github.com/jaypipes/pcidb/parse_test.go
diff --git a/go-pcidb/buildlink3.mk b/go-pcidb/buildlink3.mk
new file mode 100644
index 0000000000..f35ed0aa0d
--- /dev/null
+++ b/go-pcidb/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-pcidb
+
+.if !defined(GO_PCIDB_BUILDLINK3_MK)
+GO_PCIDB_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-pcidb=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-pcidb?=		build
+
+BUILDLINK_API_DEPENDS.go-pcidb+=	go-pcidb>=0.5.0
+BUILDLINK_PKGSRCDIR.go-pcidb?=	../../wip/go-pcidb
+
+.include "../../devel/go-homedir/buildlink3.mk"
+.endif	# GO_PCIDB_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-pcidb
diff --git a/go-pcidb/distinfo b/go-pcidb/distinfo
new file mode 100644
index 0000000000..f52a24559f
--- /dev/null
+++ b/go-pcidb/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-pcidb-0.5.0.tar.gz) = 9fe99550ed48cad3d6d8558bea4840220628cea8
+RMD160 (go-pcidb-0.5.0.tar.gz) = 8738666e2a81f9ba7af64d4611d88e7afa0585fa
+SHA512 (go-pcidb-0.5.0.tar.gz) = 430c3da587419de89df27b1ecc9bd9d915c63ddcba269dbbd7d5b68170cd8ae71af47f21d8d3af9b73a3ed8ab654836fccb592d336b2b66462261ffbfad5f830
+Size (go-pcidb-0.5.0.tar.gz) = 15429 bytes


Home | Main Index | Thread Index | Old Index