diff options
author | gavan <gavan@pkgsrc.org> | 2017-08-17 01:37:59 +0000 |
---|---|---|
committer | gavan <gavan@pkgsrc.org> | 2017-08-17 01:37:59 +0000 |
commit | a06983ee40d0a3c9fc66e7e4e0a86af157523bd3 (patch) | |
tree | d37a1e33db85f463497f21b6e457701d13c6110b /devel | |
parent | 3a09e6feb255c744cd3a8f2533f5c1688de3e79b (diff) | |
download | pkgsrc-a06983ee40d0a3c9fc66e7e4e0a86af157523bd3.tar.gz |
Add go-shuffle package
Diffstat (limited to 'devel')
-rw-r--r-- | devel/go-shuffle/DESCR | 1 | ||||
-rw-r--r-- | devel/go-shuffle/Makefile | 18 | ||||
-rw-r--r-- | devel/go-shuffle/PLIST | 10 | ||||
-rw-r--r-- | devel/go-shuffle/buildlink3.mk | 17 | ||||
-rw-r--r-- | devel/go-shuffle/distinfo | 6 |
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/go-shuffle/DESCR b/devel/go-shuffle/DESCR new file mode 100644 index 00000000000..c755bf4cfbf --- /dev/null +++ b/devel/go-shuffle/DESCR @@ -0,0 +1 @@ +Package shuffle provides primitives for shuffling slices and user-defined collections. diff --git a/devel/go-shuffle/Makefile b/devel/go-shuffle/Makefile new file mode 100644 index 00000000000..b5e4708d6ec --- /dev/null +++ b/devel/go-shuffle/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2017/08/17 01:37:59 gavan Exp $ + +DISTNAME= go-shuffle-0.0.20170808 +MASTER_SITES= ${MASTER_SITE_GITHUB:=shogo82148/} +CATEGORIES= devel +GITHUB_TAG= 59829097ff3b062427a69e2c461ef60523e37280 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/shogo82148/go-shuffle +COMMENT= Package shuffle provides primitives for shuffling slices and user-defined collections. +LICENSE= mit + +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG} +GO_SRCPATH= github.com/shogo82148/go-shuffle + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" + diff --git a/devel/go-shuffle/PLIST b/devel/go-shuffle/PLIST new file mode 100644 index 00000000000..8d32ffae045 --- /dev/null +++ b/devel/go-shuffle/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:37:59 gavan Exp $ +gopkg/pkg/${GO_PLATFORM}/github.com/shogo82148/go-shuffle.a +gopkg/src/github.com/shogo82148/go-shuffle/LICENSE.md +gopkg/src/github.com/shogo82148/go-shuffle/README.md +gopkg/src/github.com/shogo82148/go-shuffle/shuffle.go +gopkg/src/github.com/shogo82148/go-shuffle/shuffle_go17_test.go +gopkg/src/github.com/shogo82148/go-shuffle/shuffle_slice.go +gopkg/src/github.com/shogo82148/go-shuffle/shuffle_slice_test.go +gopkg/src/github.com/shogo82148/go-shuffle/shuffle_test.go +@pkgdir bin diff --git a/devel/go-shuffle/buildlink3.mk b/devel/go-shuffle/buildlink3.mk new file mode 100644 index 00000000000..4ca0650f9e6 --- /dev/null +++ b/devel/go-shuffle/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:37:59 gavan Exp $ + +BUILDLINK_TREE+= go-shuffle + +.if !defined(GO_SHUFFLE_BUILDLINK3_MK) +GO_SHUFFLE_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-shuffle= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-shuffle?= build + +BUILDLINK_API_DEPENDS.go-shuffle+= go-shuffle>=0.0 +BUILDLINK_PKGSRCDIR.go-shuffle?= ../../devel/go-shuffle + +.endif # GO_SHUFFLE_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-shuffle + diff --git a/devel/go-shuffle/distinfo b/devel/go-shuffle/distinfo new file mode 100644 index 00000000000..75800ad621c --- /dev/null +++ b/devel/go-shuffle/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/08/17 01:37:59 gavan Exp $ + +SHA1 (go-shuffle-0.0.20170808-59829097ff3b062427a69e2c461ef60523e37280.tar.gz) = 29dab1c178aff374000147882e7737054b94fd34 +RMD160 (go-shuffle-0.0.20170808-59829097ff3b062427a69e2c461ef60523e37280.tar.gz) = d60a5e0e5f403805eecdab8ab62d214c9dfb23ff +SHA512 (go-shuffle-0.0.20170808-59829097ff3b062427a69e2c461ef60523e37280.tar.gz) = 42e2d7f76e8aa9ea88ca7ef072d662c9fd572418a0152544e0ff599522cc6afdac30578546b0b5549e23b37ce63c121e38aa9e38509679f922242a3a4b7ccab1 +Size (go-shuffle-0.0.20170808-59829097ff3b062427a69e2c461ef60523e37280.tar.gz) = 2828 bytes |