1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python2_7 )
11 DESCRIPTION="Statistics generator for git"
12 HOMEPAGE="http://gitstats.sourceforge.net/"
13 SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
17 KEYWORDS="~amd64 ~x86"
21 sci-visualization/gnuplot[gd]
27 -e "s:basedir = os.path.dirname(os.path.abspath(__file__)):basedir = '${EPREFIX}/usr/share/gitstats':g" \
28 -i gitstats || die "failed to fix static files path"
36 emake PREFIX="${D}"/usr VERSION="${PV}" install
37 dodoc doc/{README,*.txt}
38 python_replicate_script "${ED}"/usr/bin/${PN}