2014-08-12 13:29:40 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2014-08-12 13:29:40 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/rtgraph/rtgraph-0.70.ebuild,v 1.9 2014/08/10 21:21:24 slyfox Exp $
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
EAPI="3"
|
|
|
|
PYTHON_DEPEND="2"
|
|
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
|
|
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
|
|
|
|
|
|
|
inherit distutils
|
|
|
|
|
2014-08-12 13:29:40 +04:00
|
|
|
DESCRIPTION="Widgets for graphing data in real-time using PyGTK, and UI components for controlling the graphs"
|
2012-02-06 16:39:49 +04:00
|
|
|
HOMEPAGE="http://navi.cx/svn/misc/trunk/rtgraph/web/index.html"
|
|
|
|
SRC_URI="http://navi.picogui.org/releases/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="LGPL-2.1"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
|
|
|
IUSE="examples"
|
|
|
|
|
|
|
|
DEPEND="dev-python/pygtk:2"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
DOCS="BUGS README"
|
|
|
|
PYTHON_MODNAME="rtgraph.py Tweak.py"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
distutils_src_install
|
|
|
|
|
|
|
|
if use examples; then
|
|
|
|
insinto /usr/share/doc/${P}/examples
|
|
|
|
doins cpu_meter.py graph_ui.py isometric_graph.py line_graph.py polar_graph.py tweak_graph.py || die "Installation of examples failed"
|
|
|
|
fi
|
|
|
|
}
|