pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-golang-lru



Module Name:    pkgsrc
Committed By:   gavan
Date:           Thu Aug 17 01:27:21 UTC 2017

Added Files:
        pkgsrc/devel/go-golang-lru: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add go-golang-lru package


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

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

Added files:

Index: pkgsrc/devel/go-golang-lru/DESCR
diff -u /dev/null pkgsrc/devel/go-golang-lru/DESCR:1.1
--- /dev/null   Thu Aug 17 01:27:21 2017
+++ pkgsrc/devel/go-golang-lru/DESCR    Thu Aug 17 01:27:21 2017
@@ -0,0 +1 @@
+This provides the lru package which implements a fixed-size thread safe LRU cache. It is based on the cache in Groupcache.
Index: pkgsrc/devel/go-golang-lru/Makefile
diff -u /dev/null pkgsrc/devel/go-golang-lru/Makefile:1.1
--- /dev/null   Thu Aug 17 01:27:21 2017
+++ pkgsrc/devel/go-golang-lru/Makefile Thu Aug 17 01:27:21 2017
@@ -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"
+
Index: pkgsrc/devel/go-golang-lru/PLIST
diff -u /dev/null pkgsrc/devel/go-golang-lru/PLIST:1.1
--- /dev/null   Thu Aug 17 01:27:21 2017
+++ pkgsrc/devel/go-golang-lru/PLIST    Thu Aug 17 01:27:21 2017
@@ -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
Index: pkgsrc/devel/go-golang-lru/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-golang-lru/buildlink3.mk:1.1
--- /dev/null   Thu Aug 17 01:27:21 2017
+++ pkgsrc/devel/go-golang-lru/buildlink3.mk    Thu Aug 17 01:27:21 2017
@@ -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
+
Index: pkgsrc/devel/go-golang-lru/distinfo
diff -u /dev/null pkgsrc/devel/go-golang-lru/distinfo:1.1
--- /dev/null   Thu Aug 17 01:27:21 2017
+++ pkgsrc/devel/go-golang-lru/distinfo Thu Aug 17 01:27:21 2017
@@ -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