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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Oct 24 17:21:54 2013 UTC (5 months, 3 weeks ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
dev-vcs/gitstats: Drop old; pack latest and bump to new python eclasses, #489132

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

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

  ViewVC Help
Powered by ViewVC 1.1.20