pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   ng0
Date:           Wed Nov  6 11:08:14 UTC 2019

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/go-cpuid: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add devel/go-cpuid version 1.2.1

go-cpuid provides information about the CPU running
the current program.
CPU features are detected on startup, and kept for
fast access through the life of the application.
Currently x86 / x64 (AMD64) is supported, and no
external C (cgo) code is used, which should make
the library very easy to use.
You can access the CPU information by accessing the
shared CPU variable of the cpuid library.


To generate a diff of this commit:
cvs rdiff -u -r1.2941 -r1.2942 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-cpuid/DESCR \
    pkgsrc/devel/go-cpuid/Makefile pkgsrc/devel/go-cpuid/PLIST \
    pkgsrc/devel/go-cpuid/buildlink3.mk pkgsrc/devel/go-cpuid/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2941 pkgsrc/devel/Makefile:1.2942
--- pkgsrc/devel/Makefile:1.2941        Wed Nov  6 10:56:14 2019
+++ pkgsrc/devel/Makefile       Wed Nov  6 11:08:13 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2941 2019/11/06 10:56:14 ng0 Exp $
+# $NetBSD: Makefile,v 1.2942 2019/11/06 11:08:13 ng0 Exp $
 #
 
 COMMENT=       Development utilities
@@ -376,6 +376,7 @@ SUBDIR+=    go-colorable
 SUBDIR+=       go-colortext
 SUBDIR+=       go-colour
 SUBDIR+=       go-consul-api
+SUBDIR+=       go-cpuid
 SUBDIR+=       go-debounce
 SUBDIR+=       go-ed25519
 SUBDIR+=       go-emoji

Added files:

Index: pkgsrc/devel/go-cpuid/DESCR
diff -u /dev/null pkgsrc/devel/go-cpuid/DESCR:1.1
--- /dev/null   Wed Nov  6 11:08:14 2019
+++ pkgsrc/devel/go-cpuid/DESCR Wed Nov  6 11:08:13 2019
@@ -0,0 +1,9 @@
+go-cpuid provides information about the CPU running
+the current program.
+CPU features are detected on startup, and kept for
+fast access through the life of the application.
+Currently x86 / x64 (AMD64) is supported, and no
+external C (cgo) code is used, which should make
+the library very easy to use.
+You can access the CPU information by accessing the
+shared CPU variable of the cpuid library.
Index: pkgsrc/devel/go-cpuid/Makefile
diff -u /dev/null pkgsrc/devel/go-cpuid/Makefile:1.1
--- /dev/null   Wed Nov  6 11:08:14 2019
+++ pkgsrc/devel/go-cpuid/Makefile      Wed Nov  6 11:08:13 2019
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2019/11/06 11:08:13 ng0 Exp $
+
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      go-cpuid-1.2.1
+GITHUB_PROJECT=        cpuid
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=klauspost/}
+
+MAINTAINER=    ng0%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/klauspost/cpuid/
+COMMENT=       CPU feature identification for Go
+LICENSE=       modified-bsd
+
+GO_SRCPATH=    github.com/klauspost/cpuid
+GO_DIST_BASE=  cpuid-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/go-cpuid/PLIST
diff -u /dev/null pkgsrc/devel/go-cpuid/PLIST:1.1
--- /dev/null   Wed Nov  6 11:08:14 2019
+++ pkgsrc/devel/go-cpuid/PLIST Wed Nov  6 11:08:14 2019
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/06 11:08:14 ng0 Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/klauspost/cpuid.a
+gopkg/pkg/${GO_PLATFORM}/github.com/klauspost/cpuid/private.a
+gopkg/src/github.com/klauspost/cpuid/CONTRIBUTING.txt
+gopkg/src/github.com/klauspost/cpuid/LICENSE
+gopkg/src/github.com/klauspost/cpuid/README.md
+gopkg/src/github.com/klauspost/cpuid/cpuid.go
+gopkg/src/github.com/klauspost/cpuid/cpuid_386.s
+gopkg/src/github.com/klauspost/cpuid/cpuid_amd64.s
+gopkg/src/github.com/klauspost/cpuid/cpuid_test.go
+gopkg/src/github.com/klauspost/cpuid/detect_intel.go
+gopkg/src/github.com/klauspost/cpuid/detect_ref.go
+gopkg/src/github.com/klauspost/cpuid/generate.go
+gopkg/src/github.com/klauspost/cpuid/mockcpu_test.go
+gopkg/src/github.com/klauspost/cpuid/private-gen.go
+gopkg/src/github.com/klauspost/cpuid/private/README.md
+gopkg/src/github.com/klauspost/cpuid/private/cpuid.go
+gopkg/src/github.com/klauspost/cpuid/private/cpuid_386.s
+gopkg/src/github.com/klauspost/cpuid/private/cpuid_amd64.s
+gopkg/src/github.com/klauspost/cpuid/private/cpuid_detect_intel.go
+gopkg/src/github.com/klauspost/cpuid/private/cpuid_detect_ref.go
+gopkg/src/github.com/klauspost/cpuid/private/cpuid_test.go
+gopkg/src/github.com/klauspost/cpuid/testdata/cpuid_data.zip
+gopkg/src/github.com/klauspost/cpuid/testdata/getall.go
Index: pkgsrc/devel/go-cpuid/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-cpuid/buildlink3.mk:1.1
--- /dev/null   Wed Nov  6 11:08:14 2019
+++ pkgsrc/devel/go-cpuid/buildlink3.mk Wed Nov  6 11:08:14 2019
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 11:08:14 ng0 Exp $
+
+BUILDLINK_TREE+=       go-cpuid
+
+.if !defined(GO_CPUID_BUILDLINK3_MK)
+GO_CPUID_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-cpuid=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-cpuid?=         build
+
+BUILDLINK_API_DEPENDS.go-cpuid+=       go-cpuid>=1.2.1
+BUILDLINK_PKGSRCDIR.go-cpuid?=         ../../devel/go-cpuid
+.endif # GO_CPUID_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-cpuid
Index: pkgsrc/devel/go-cpuid/distinfo
diff -u /dev/null pkgsrc/devel/go-cpuid/distinfo:1.1
--- /dev/null   Wed Nov  6 11:08:14 2019
+++ pkgsrc/devel/go-cpuid/distinfo      Wed Nov  6 11:08:14 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/06 11:08:14 ng0 Exp $
+
+SHA1 (go-cpuid-1.2.1.tar.gz) = 34957fc8918a0a7568d98df9c641511d88d5dd30
+RMD160 (go-cpuid-1.2.1.tar.gz) = e76cc3db1a88541f829d8454e6f5d1d07d394faa
+SHA512 (go-cpuid-1.2.1.tar.gz) = d5d1cc22f6e43619dd64f86057385fb8080e85903983937be7282aed6c88a3686d7e1ce58a641ba753dacb6fcc54715343521a85cb1bdf074afbacc91b8f8ad8
+Size (go-cpuid-1.2.1.tar.gz) = 279083 bytes



Home | Main Index | Thread Index | Old Index