pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-gitmap



Module Name:    pkgsrc
Committed By:   gavan
Date:           Thu Aug 17 01:26:34 UTC 2017

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

Log Message:
Add go-gitmap package


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-gitmap/DESCR \
    pkgsrc/devel/go-gitmap/Makefile pkgsrc/devel/go-gitmap/PLIST \
    pkgsrc/devel/go-gitmap/buildlink3.mk pkgsrc/devel/go-gitmap/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-gitmap/DESCR
diff -u /dev/null pkgsrc/devel/go-gitmap/DESCR:1.1
--- /dev/null   Thu Aug 17 01:26:34 2017
+++ pkgsrc/devel/go-gitmap/DESCR        Thu Aug 17 01:26:34 2017
@@ -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.
Index: pkgsrc/devel/go-gitmap/Makefile
diff -u /dev/null pkgsrc/devel/go-gitmap/Makefile:1.1
--- /dev/null   Thu Aug 17 01:26:34 2017
+++ pkgsrc/devel/go-gitmap/Makefile     Thu Aug 17 01:26:34 2017
@@ -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"
+
Index: pkgsrc/devel/go-gitmap/PLIST
diff -u /dev/null pkgsrc/devel/go-gitmap/PLIST:1.1
--- /dev/null   Thu Aug 17 01:26:34 2017
+++ pkgsrc/devel/go-gitmap/PLIST        Thu Aug 17 01:26:34 2017
@@ -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
Index: pkgsrc/devel/go-gitmap/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-gitmap/buildlink3.mk:1.1
--- /dev/null   Thu Aug 17 01:26:34 2017
+++ pkgsrc/devel/go-gitmap/buildlink3.mk        Thu Aug 17 01:26:34 2017
@@ -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
+
Index: pkgsrc/devel/go-gitmap/distinfo
diff -u /dev/null pkgsrc/devel/go-gitmap/distinfo:1.1
--- /dev/null   Thu Aug 17 01:26:34 2017
+++ pkgsrc/devel/go-gitmap/distinfo     Thu Aug 17 01:26:34 2017
@@ -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