summaryrefslogtreecommitdiff
blob: 4bb8c464c6e9f969098555f5c80692ae79e23ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/glances-1.4.2.1.ebuild,v 1.1 2012/10/06 09:24:36 jlec Exp $

EAPI=4

PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"

inherit distutils

DESCRIPTION="CLI curses based monitoring tool"
HOMEPAGE="
	https://github.com/nicolargo/glances/blob/master/README.md
	http://pypi.python.org/pypi/Glances"
SRC_URI="https://github.com/downloads/nicolargo/${PN}/${P}.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="html"

DEPEND=""
RDEPEND="
	>=dev-python/psutil-0.4.1
	html? ( dev-python/jinja )"

src_prepare() {
	sed \
		-e "s:share/doc/glances:share/doc/${PF}:g" \
		-e "/COPYING/d" -i setup.py || die
	distutils_src_prepare
}