summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@binghamton.edu>2016-03-23 22:35:00 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2016-03-23 22:52:25 -0400
commit69e6ed97490e2d6f7ebe18687002e0aa33a256e1 (patch)
tree894b3477b0dacd08475037a0b65767f027a90b21 /dev-vcs/gitstats/gitstats-0_pre20151223.ebuild
parentdev-vcs/gitstats: Update maintainers to metadata.xml (diff)
downloadgentoo-69e6ed97490e2d6f7ebe18687002e0aa33a256e1.tar.gz
gentoo-69e6ed97490e2d6f7ebe18687002e0aa33a256e1.tar.bz2
gentoo-69e6ed97490e2d6f7ebe18687002e0aa33a256e1.zip
dev-vcs/gitstats: bump to snapshot 2015-12-23
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-vcs/gitstats/gitstats-0_pre20151223.ebuild')
-rw-r--r--dev-vcs/gitstats/gitstats-0_pre20151223.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-vcs/gitstats/gitstats-0_pre20151223.ebuild b/dev-vcs/gitstats/gitstats-0_pre20151223.ebuild
new file mode 100644
index 00000000000..a4a6a19bd9e
--- /dev/null
+++ b/dev-vcs/gitstats/gitstats-0_pre20151223.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ KEYWORDS=""
+ EGIT_REPO_URI="
+ git://github.com/hoxu/gitstats.git
+ https://github.com/hoxu/gitstats.git
+ "
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${P}.tar.xz"
+fi
+
+DESCRIPTION="Statistics generator for git"
+HOMEPAGE="http://gitstats.sourceforge.net/"
+LICENSE="|| ( GPL-2 GPL-3 ) MIT"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ sci-visualization/gnuplot[gd]
+ dev-vcs/git"
+DEPEND="
+ dev-lang/perl:*
+"
+
+DOCS=( doc/{AUTHOR,README,TODO.txt} )
+
+src_prepare() {
+ sed \
+ -e "s:basedirs = \[binarypath, secondarypath, '/usr/share/gitstats'\]:basedirs = \['${EPREFIX}/usr/share/gitstats'\]:g" \
+ -i gitstats || die "failed to fix static files path"
+ default
+}
+
+src_compile() {
+ emake VERSION="${PV}" man
+}
+
+src_install() {
+ emake PREFIX="${ED}"usr VERSION="${PV}" install
+ doman doc/${PN}.1
+ einstalldocs
+ python_replicate_script "${ED}"usr/bin/${PN}
+}