/[gentoo-x86]/dev-vcs/gitstats/gitstats-9999.ebuild
Gentoo

Contents of /dev-vcs/gitstats/gitstats-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Sep 21 08:25:56 2011 UTC (3 years, 2 months ago) by mgorny
Branch: MAIN
Changes since 1.2: +5 -4 lines
Migrate to git-2.

(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitstats/gitstats-9999.ebuild,v 1.2 2010/07/23 07:46:04 jlec Exp $
4
5 EAPI="2"
6
7 PYTHON_DEPEND="2"
8
9 inherit python git-2
10
11 DESCRIPTION="Statistics generator for git"
12 HOMEPAGE="http://gitstats.sourceforge.net/"
13 SRC_URI=""
14 EGIT_REPO_URI="git://repo.or.cz/${PN}.git
15 http://repo.or.cz/r/${PN}.git"
16
17 LICENSE="GPL-3"
18 SLOT="0"
19 KEYWORDS=""
20 IUSE=""
21
22 RDEPEND="
23 sci-visualization/gnuplot[gd]
24 dev-vcs/git"
25 DEPEND=""
26
27 pkg_setup() {
28 python_set_active_version 2
29 }
30
31 src_prepare() {
32 sed "s:basedir = os.path.dirname(os.path.abspath(__file__)):basedir = '/usr/share/gitstats':g" \
33 -i gitstats || die "failed to fix static files path"
34 }
35
36 src_compile() {
37 :;
38 }
39
40 src_install() {
41 emake PREFIX="${D}"/usr VERSION="${PV}" install || die
42 dodoc doc/{README,*.txt} || die "doc install failed"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20