Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 20:20:50 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460845 - in head/devel: . grv grv/files
Message-ID:  <201802032020.w13KKok7003535@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Feb  3 20:20:49 2018
New Revision: 460845
URL: https://svnweb.freebsd.org/changeset/ports/460845

Log:
  New port: devel/grv: Terminal interface for viewing git repositories
  
  Screenshot:
  https://raw.githubusercontent.com/rgburke/grv/master/doc/grv-history-view.png
  
  PR:		225617
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	adamw (mentor)
  Differential Revision:	https://reviews.freebsd.org/D14165

Added:
  head/devel/grv/
  head/devel/grv/Makefile   (contents, props changed)
  head/devel/grv/distinfo   (contents, props changed)
  head/devel/grv/files/
  head/devel/grv/files/patch-cmd_grv_repo__data__loader.go   (contents, props changed)
  head/devel/grv/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Feb  3 20:03:23 2018	(r460844)
+++ head/devel/Makefile	Sat Feb  3 20:20:49 2018	(r460845)
@@ -864,6 +864,7 @@
     SUBDIR += grantlee5
     SUBDIR += grpc
     SUBDIR += grumpy
+    SUBDIR += grv
     SUBDIR += gsettings-desktop-schemas
     SUBDIR += gsoap
     SUBDIR += gstreamer-plugins-gconf

Added: head/devel/grv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grv/Makefile	Sat Feb  3 20:20:49 2018	(r460845)
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME=	grv
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.1
+CATEGORIES=	devel
+
+MAINTAINER=	dg@syrec.org
+COMMENT=	Terminal interface for viewing git repositories
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	go:lang/go
+LIB_DEPENDS=	libgit2.so:devel/libgit2
+
+USES=		ncurses pkgconfig readline:port
+USE_GITHUB=	yes
+GH_ACCOUNT=	rgburke
+GH_SUBDIR=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
+GH_TUPLE=	bradfitz:slice:d9036e2:slice/src/github.com/bradfitz/slice \
+		camlistore:go4:fba789b:reflectutil/src/go4.org \
+		gobwas:glob:51eb1ee:glob/src/github.com/gobwas/glob \
+		golang:crypto:1875d0a:crypto/src/golang.org/x/crypto \
+		golang:sys:8f27ce8:sys/src/golang.org/x/sys \
+		mattn:go-runewidth:97311d9:runewidth/src/github.com/mattn/go-runewidth \
+		rgburke:goncurses:74f667a:goncurses/src/github.com/rgburke/goncurses \
+		rjeczalik:notify:27b537f:notify/src/github.com/rjeczalik/notify \
+		Sirupsen:logrus:768a92a:logrus/src/github.com/Sirupsen/logrus \
+		tchap:go-patricia:5ad6cdb:patricia/src/github.com/tchap/go-patricia \
+		libgit2:git2go:eb0bf21:git2go/src/gopkg.in/libgit2/git2go.v26 # Keep git2go branch in sync with devel/libgit2 version
+
+PLIST_FILES=	bin/grv
+
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	*
+
+do-build:
+	@cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build ./cmd/${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/devel/grv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grv/distinfo	Sat Feb  3 20:20:49 2018	(r460845)
@@ -0,0 +1,25 @@
+TIMESTAMP = 1517688600
+SHA256 (rgburke-grv-v0.1.1_GH0.tar.gz) = 11eeb328e3a42cb1a35bcb92b2eaf34acbe914cdeb847b2ed553cdda7e82c9b5
+SIZE (rgburke-grv-v0.1.1_GH0.tar.gz) = 4218647
+SHA256 (bradfitz-slice-d9036e2_GH0.tar.gz) = 30446ea3f3428f802a6238216cce2a9eeef42429b7be9523073c02d0b976c5ac
+SIZE (bradfitz-slice-d9036e2_GH0.tar.gz) = 2623
+SHA256 (camlistore-go4-fba789b_GH0.tar.gz) = 14623c4196629db8fe82d66c62ce497e59cfc3fa8b948b767c55e986cd929721
+SIZE (camlistore-go4-fba789b_GH0.tar.gz) = 78856
+SHA256 (gobwas-glob-51eb1ee_GH0.tar.gz) = 664219022e7081c313f6fccf2afb145f4a1d1142d0577f3cd8ab24131249e25b
+SIZE (gobwas-glob-51eb1ee_GH0.tar.gz) = 25009
+SHA256 (golang-crypto-1875d0a_GH0.tar.gz) = 648f2ad0b7a255d9286af0202d6ebdfb5703eb3b9d82691c67b32f6092c1ef22
+SIZE (golang-crypto-1875d0a_GH0.tar.gz) = 1445933
+SHA256 (golang-sys-8f27ce8_GH0.tar.gz) = b75004745d2f488e2c283a2181690606ce0cadddcbc6a1dc5091dfce81cf3639
+SIZE (golang-sys-8f27ce8_GH0.tar.gz) = 795226
+SHA256 (mattn-go-runewidth-97311d9_GH0.tar.gz) = 8330497728f75464111ee7145fc97cfa588cb0d6561b3af5447aa05d489bca85
+SIZE (mattn-go-runewidth-97311d9_GH0.tar.gz) = 22384
+SHA256 (rgburke-goncurses-74f667a_GH0.tar.gz) = af7aabf62aee38639417ac1eef9c3aaabea7e56e5f88c5702cab7a9652613e22
+SIZE (rgburke-goncurses-74f667a_GH0.tar.gz) = 46774
+SHA256 (rjeczalik-notify-27b537f_GH0.tar.gz) = ef035506584f71c1af02d27e4e8ef59d64f94e1365174742629cf2b6121602ed
+SIZE (rjeczalik-notify-27b537f_GH0.tar.gz) = 56420
+SHA256 (Sirupsen-logrus-768a92a_GH0.tar.gz) = ce58ca8b5b3628757e89a526c5399b684914b1c9979ac5e6cbe30181bbabc55a
+SIZE (Sirupsen-logrus-768a92a_GH0.tar.gz) = 28603
+SHA256 (tchap-go-patricia-5ad6cdb_GH0.tar.gz) = ea8127ce3b9e7bedf4ffbe998179d94ebe1c59ad36ece22aa5682fb27d5bab4b
+SIZE (tchap-go-patricia-5ad6cdb_GH0.tar.gz) = 11903
+SHA256 (libgit2-git2go-eb0bf21_GH0.tar.gz) = ee90d7f69aa37e6729f9c367aeb259fe0b3c370fd7f161564065ef0a0302b2c0
+SIZE (libgit2-git2go-eb0bf21_GH0.tar.gz) = 72363

Added: head/devel/grv/files/patch-cmd_grv_repo__data__loader.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grv/files/patch-cmd_grv_repo__data__loader.go	Sat Feb  3 20:20:49 2018	(r460845)
@@ -0,0 +1,11 @@
+--- cmd/grv/repo_data_loader.go.orig	2018-02-01 15:59:52 UTC
++++ cmd/grv/repo_data_loader.go
+@@ -9,7 +9,7 @@ import (
+ 
+ 	log "github.com/Sirupsen/logrus"
+ 	slice "github.com/bradfitz/slice"
+-	git "gopkg.in/libgit2/git2go.v25"
++	git "gopkg.in/libgit2/git2go.v26"
+ )
+ 
+ const (

Added: head/devel/grv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grv/pkg-descr	Sat Feb  3 20:20:49 2018	(r460845)
@@ -0,0 +1,6 @@
+GRV is a terminal-based interface for viewing git repositories. It allows
+refs, commits and diffs to be viewed, searched and filtered. The behavior
+and style can be customized through configuration. A query language can be
+used to filter refs and commits.
+
+WWW: https://github.com/rgburke/grv



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802032020.w13KKok7003535>