pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-gitmap Add go-gitmap package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8511022494a3
branches:  trunk
changeset: 366639:8511022494a3
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Aug 17 01:26:34 2017 +0000

description:
Add go-gitmap package

diffstat:

 devel/go-gitmap/DESCR         |   3 +++
 devel/go-gitmap/Makefile      |  20 ++++++++++++++++++++
 devel/go-gitmap/PLIST         |  11 +++++++++++
 devel/go-gitmap/buildlink3.mk |  17 +++++++++++++++++
 devel/go-gitmap/distinfo      |   6 ++++++
 5 files changed, 57 insertions(+), 0 deletions(-)

diffs (77 lines):

diff -r 4aea5fd38083 -r 8511022494a3 devel/go-gitmap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-gitmap/DESCR     Thu Aug 17 01:26:34 2017 +0000
@@ -0,0 +1,3 @@
+A fairly fast way to create a map from all the filenames to info objects for a given revision of a Git repo.
+
+This library uses os/exec to talk to Git. There are faster ways to do this by using some Go Git-lib or C bindings, but that adds dependencies I really don't want or need.
diff -r 4aea5fd38083 -r 8511022494a3 devel/go-gitmap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-gitmap/Makefile  Thu Aug 17 01:26:34 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:26:34 gavan Exp $
+
+DISTNAME=      gitmap-0.0.20170613
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bep/}
+CATEGORIES=    devel
+GITHUB_TAG=    de8030ebafb76c6e84d50ee6d143382637c00598
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/bep/gitmap/
+COMMENT=       A fairly fast way to create a map from all the filenames to info objects for a given revision of a Git repo.
+LICENSE=       mit
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/bep/gitmap
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r 4aea5fd38083 -r 8511022494a3 devel/go-gitmap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-gitmap/PLIST     Thu Aug 17 01:26:34 2017 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:26:34 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/bep/gitmap.a
+gopkg/src/github.com/bep/gitmap/LICENSE
+gopkg/src/github.com/bep/gitmap/README.md
+gopkg/src/github.com/bep/gitmap/gitmap.go
+gopkg/src/github.com/bep/gitmap/gitmap_test.go
+gopkg/src/github.com/bep/gitmap/testfiles/d1/d1.txt
+gopkg/src/github.com/bep/gitmap/testfiles/d2/d2.txt
+gopkg/src/github.com/bep/gitmap/testfiles/r1.txt
+gopkg/src/github.com/bep/gitmap/testfiles/r2.txt
+@pkgdir bin
diff -r 4aea5fd38083 -r 8511022494a3 devel/go-gitmap/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-gitmap/buildlink3.mk     Thu Aug 17 01:26:34 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:26:34 gavan Exp $
+
+BUILDLINK_TREE+=       go-gitmap
+
+.if !defined(GO_GITMAP_BUILDLINK3_MK)
+GO_GITMAP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-gitmap=   ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-gitmap?=                build
+
+BUILDLINK_API_DEPENDS.go-gitmap+=              go-gitmap>=0.0
+BUILDLINK_PKGSRCDIR.go-gitmap?=                ../../devel/go-gitmap
+
+.endif  # GO_GITMAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-gitmap
+
diff -r 4aea5fd38083 -r 8511022494a3 devel/go-gitmap/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-gitmap/distinfo  Thu Aug 17 01:26:34 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:26:34 gavan Exp $
+
+SHA1 (gitmap-0.0.20170613-de8030ebafb76c6e84d50ee6d143382637c00598.tar.gz) = 58d0f20e30d64d31b203a25ae1f88179b1023b31
+RMD160 (gitmap-0.0.20170613-de8030ebafb76c6e84d50ee6d143382637c00598.tar.gz) = d4796e1d5d1c97720a88c8dc2ffd344af72e8eaa
+SHA512 (gitmap-0.0.20170613-de8030ebafb76c6e84d50ee6d143382637c00598.tar.gz) = 
5cb60bb74574481fe1b38d74b2f329d699d999ddcc5f1641a06c3549470b2b6a816e161ccd28f4bb19ea47f8ab2b7a45f97abd0fe1df1a9cc57daa2d7391f907
+Size (gitmap-0.0.20170613-de8030ebafb76c6e84d50ee6d143382637c00598.tar.gz) = 4499 bytes



Home | Main Index | Thread Index | Old Index