pkgsrc-WIP-changes archive

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

Import go-cache-20190904 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 12 09:59:57 2021 +0100
Changeset:	af413c5e0127c9b5559787709d45f397c67ff090

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

Log Message:
Import go-cache-20190904 to wip

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

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

diffstat:
 Makefile               |  1 +
 go-cache/DESCR         |  7 +++++++
 go-cache/Makefile      | 18 ++++++++++++++++++
 go-cache/PLIST         |  9 +++++++++
 go-cache/buildlink3.mk | 15 +++++++++++++++
 go-cache/distinfo      |  6 ++++++
 6 files changed, 56 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 433001bb97..fd5516d236 100644
--- a/Makefile
+++ b/Makefile
@@ -1178,6 +1178,7 @@ SUBDIR+=	go-bindata
 SUBDIR+=	go-bit
 SUBDIR+=	go-bpool
 SUBDIR+=	go-brotli
+SUBDIR+=	go-cache
 SUBDIR+=	go-cascadia
 SUBDIR+=	go-copier
 SUBDIR+=	go-circbuf
diff --git a/go-cache/DESCR b/go-cache/DESCR
new file mode 100644
index 0000000000..d0f45f9caa
--- /dev/null
+++ b/go-cache/DESCR
@@ -0,0 +1,7 @@
+go-cache is an in-memory key:value store/cache
+similar to memcached that is suitable for
+applications running on a single machine. Its
+major advantage is that, being essentially a
+thread-safe map[string]interface{} with expiration
+times, it doesn't need to serialize or transmit
+its contents over the network.
diff --git a/go-cache/Makefile b/go-cache/Makefile
new file mode 100644
index 0000000000..26e0adea7d
--- /dev/null
+++ b/go-cache/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-cache-20190904
+GITHUB_PROJECT=	go-cache
+GITHUB_TAG=	46f4078
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=patrickmn/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/patrickmn/go-cache/
+COMMENT=	In-memory key:value store/cache library for Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}*
+GO_SRCPATH=	github.com/patrickmn/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-cache/PLIST b/go-cache/PLIST
new file mode 100644
index 0000000000..b8f98d4765
--- /dev/null
+++ b/go-cache/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/patrickmn/go-cache.a
+gopkg/src/github.com/patrickmn/go-cache/CONTRIBUTORS
+gopkg/src/github.com/patrickmn/go-cache/LICENSE
+gopkg/src/github.com/patrickmn/go-cache/README.md
+gopkg/src/github.com/patrickmn/go-cache/cache.go
+gopkg/src/github.com/patrickmn/go-cache/cache_test.go
+gopkg/src/github.com/patrickmn/go-cache/sharded.go
+gopkg/src/github.com/patrickmn/go-cache/sharded_test.go
diff --git a/go-cache/buildlink3.mk b/go-cache/buildlink3.mk
new file mode 100644
index 0000000000..136988391f
--- /dev/null
+++ b/go-cache/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-cache
+
+.if !defined(GO_CACHE_BUILDLINK3_MK)
+GO_CACHE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-cache=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-cache?=		build
+
+BUILDLINK_API_DEPENDS.go-cache+=	go-cache>=20190904
+BUILDLINK_PKGSRCDIR.go-cache?=		../../wip/go-cache
+.endif	# GO_CACHE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-cache
diff --git a/go-cache/distinfo b/go-cache/distinfo
new file mode 100644
index 0000000000..04af0ca178
--- /dev/null
+++ b/go-cache/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-cache-20190904-46f4078.tar.gz) = f80b9a235a4a65700ea9388c45c8c112fd04ae10
+RMD160 (go-cache-20190904-46f4078.tar.gz) = 5134cbe9d5914d3ba7dcd26ded55b29b79761e5b
+SHA512 (go-cache-20190904-46f4078.tar.gz) = 612033048b43c8d6893ec5add571b933cd20ba866bbb999a385389e098f5b6fcbe4891eceb14b2f214e1b15cc002cc39987a5afef51df4a61192b3e0d25eaf79
+Size (go-cache-20190904-46f4078.tar.gz) = 13617 bytes


Home | Main Index | Thread Index | Old Index