summaryrefslogtreecommitdiff
path: root/devel/gitinspector
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2015-01-15 15:51:37 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2015-01-15 15:51:37 +0000
commitf99b5838ff0a8b9293bf737152455ee132803866 (patch)
treee75c0dfb0923b8d738f316b49f58851d2752c55b /devel/gitinspector
parentManualy depend on vte290 until roxterm supports the 2.91 API from vte3. (diff)
Add devel/gitinspector.
gitinspector is a statistical analysis tool for git repositories. The defaut analysis shows general statistics per author, which can be complemented with a timeline analysis that shows the workload and activity of each author. Under normal operation, it filters the results to only show statistics about a number of given extensions and by default only includes source files in the statistical analysis. Differential Revision: https://reviews.freebsd.org/D1529 Reviewed by: bapt Approved by: bapt
Diffstat (limited to 'devel/gitinspector')
-rw-r--r--devel/gitinspector/Makefile19
-rw-r--r--devel/gitinspector/distinfo2
-rw-r--r--devel/gitinspector/files/patch-aa11
-rw-r--r--devel/gitinspector/pkg-descr8
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/gitinspector/Makefile b/devel/gitinspector/Makefile
new file mode 100644
index 000000000000..f402ded40aaa
--- /dev/null
+++ b/devel/gitinspector/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= gitinspector
+PORTVERSION= 0.3.2
+CATEGORIES= devel python
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= rpaulo@FreeBSD.org
+COMMENT= Statistical analysis tool for git repositories
+
+LICENSE= GPLv3
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USES= zip python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/gitinspector/distinfo b/devel/gitinspector/distinfo
new file mode 100644
index 000000000000..4d080990b285
--- /dev/null
+++ b/devel/gitinspector/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gitinspector_0.3.2.zip) = 3778e60514f5067f8f2628da5cacbce12db99af6517fcf448afb2964bce963a7
+SIZE (gitinspector_0.3.2.zip) = 254971
diff --git a/devel/gitinspector/files/patch-aa b/devel/gitinspector/files/patch-aa
new file mode 100644
index 000000000000..1e3bc48211f6
--- /dev/null
+++ b/devel/gitinspector/files/patch-aa
@@ -0,0 +1,11 @@
+--- gitinspector/localization.py.orig 2013-10-30 03:03:02.000000000 -0700
++++ gitinspector/localization.py 2015-01-14 15:57:30.000000000 -0800
+@@ -44,7 +44,7 @@
+
+ #Fix for non-POSIX-compliant systems (Windows et al.).
+ if os.getenv('LANG') is None:
+- lang = locale.getdefaultlocale()
++ lang = ('en_US', 'en_US')
+ os.environ['LANG'] = lang[0]
+
+ filename = basedir.get_basedir() + "/translations/messages_%s.mo" % lang[0][0:2]
diff --git a/devel/gitinspector/pkg-descr b/devel/gitinspector/pkg-descr
new file mode 100644
index 000000000000..24453925d9ea
--- /dev/null
+++ b/devel/gitinspector/pkg-descr
@@ -0,0 +1,8 @@
+gitinspector is a statistical analysis tool for git repositories. The
+defaut analysis shows general statistics per author, which can be
+complemented with a timeline analysis that shows the workload and
+activity of each author. Under normal operation, it filters the
+results to only show statistics about a number of given extensions and
+by default only includes source files in the statistical analysis.
+
+WWW: https://code.google.com/p/gitinspector/