pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/go-golang-lru Add go-golang-lru package
details: https://anonhg.NetBSD.org/pkgsrc/rev/76faa012a3fe
branches: trunk
changeset: 366640:76faa012a3fe
user: gavan <gavan%pkgsrc.org@localhost>
date: Thu Aug 17 01:27:21 2017 +0000
description:
Add go-golang-lru package
diffstat:
devel/go-golang-lru/DESCR | 1 +
devel/go-golang-lru/Makefile | 20 ++++++++++++++++++++
devel/go-golang-lru/PLIST | 14 ++++++++++++++
devel/go-golang-lru/buildlink3.mk | 17 +++++++++++++++++
devel/go-golang-lru/distinfo | 6 ++++++
5 files changed, 58 insertions(+), 0 deletions(-)
diffs (78 lines):
diff -r 8511022494a3 -r 76faa012a3fe devel/go-golang-lru/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-golang-lru/DESCR Thu Aug 17 01:27:21 2017 +0000
@@ -0,0 +1,1 @@
+This provides the lru package which implements a fixed-size thread safe LRU cache. It is based on the cache in Groupcache.
diff -r 8511022494a3 -r 76faa012a3fe devel/go-golang-lru/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-golang-lru/Makefile Thu Aug 17 01:27:21 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:27:21 gavan Exp $
+
+DISTNAME= golang-lru-0.0.20160813
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/}
+CATEGORIES= devel
+GITHUB_TAG= 0a025b7e63adc15a622f29b0b2c4c3848243bbf6
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/hashicorp/golang-lru
+COMMENT= Golang LRU cache
+LICENSE= mpl-2.0
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/hashicorp/golang-lru
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r 8511022494a3 -r 76faa012a3fe devel/go-golang-lru/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-golang-lru/PLIST Thu Aug 17 01:27:21 2017 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:27:21 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/golang-lru.a
+gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/golang-lru/simplelru.a
+gopkg/src/github.com/hashicorp/golang-lru/2q.go
+gopkg/src/github.com/hashicorp/golang-lru/2q_test.go
+gopkg/src/github.com/hashicorp/golang-lru/LICENSE
+gopkg/src/github.com/hashicorp/golang-lru/README.md
+gopkg/src/github.com/hashicorp/golang-lru/arc.go
+gopkg/src/github.com/hashicorp/golang-lru/arc_test.go
+gopkg/src/github.com/hashicorp/golang-lru/lru.go
+gopkg/src/github.com/hashicorp/golang-lru/lru_test.go
+gopkg/src/github.com/hashicorp/golang-lru/simplelru/lru.go
+gopkg/src/github.com/hashicorp/golang-lru/simplelru/lru_test.go
+@pkgdir bin
diff -r 8511022494a3 -r 76faa012a3fe devel/go-golang-lru/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-golang-lru/buildlink3.mk Thu Aug 17 01:27:21 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:27:21 gavan Exp $
+
+BUILDLINK_TREE+= go-golang-lru
+
+.if !defined(GO_GOLANG_LRU_BUILDLINK3_MK)
+GO_GOLANG_LRU_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-golang-lru= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-golang-lru?= build
+
+BUILDLINK_API_DEPENDS.go-golang-lru+= go-golang-lru>=0.0
+BUILDLINK_PKGSRCDIR.go-golang-lru?= ../../devel/go-golang-lru
+
+.endif # GO_GOLANG_LRU_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-golang-lru
+
diff -r 8511022494a3 -r 76faa012a3fe devel/go-golang-lru/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-golang-lru/distinfo Thu Aug 17 01:27:21 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:27:21 gavan Exp $
+
+SHA1 (golang-lru-0.0.20160813-0a025b7e63adc15a622f29b0b2c4c3848243bbf6.tar.gz) = 27cadbf0cd82759288a5591eda2d2a000694e41d
+RMD160 (golang-lru-0.0.20160813-0a025b7e63adc15a622f29b0b2c4c3848243bbf6.tar.gz) = f432156868a3e21793b907fd6e7cd577ea0316ba
+SHA512 (golang-lru-0.0.20160813-0a025b7e63adc15a622f29b0b2c4c3848243bbf6.tar.gz) =
59a53fd3613e16343982ab802a85c9c70feb708c82c687e52712f2c3f3698f1c6799fb7d5c5d95154347301a38223dd19756a580a60b8054783e05e667ce11d7
+Size (golang-lru-0.0.20160813-0a025b7e63adc15a622f29b0b2c4c3848243bbf6.tar.gz) = 12306 bytes
Home |
Main Index |
Thread Index |
Old Index