1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python2_7 )
8 inherit eutils python-r1
10 DESCRIPTION="The Guido van Robot Programming Language"
11 HOMEPAGE="http://gvr.sourceforge.net"
12 SRC_URI="mirror://sourceforge/gvr/GvRng_${PV}.tgz"
19 DEPEND="${PYTHON_DEPS}
21 dev-python/pygobject:2
22 dev-python/pygtksourceview:2"
26 S="${WORKDIR}/GvRng_${PV}"
29 epatch "${FILESDIR}"/01_gui_gtk_path.patch
33 insinto /usr/share/${PN}
34 doins -r *.py gvrngrc gui-gtk bitmaps gvr_progs locale po
35 dodoc Changelog docs/Summary-en.txt
37 dohtml -r docs/tutorial.html docs/lessons
39 fperms 755 /usr/share/${PN}/gvrng.py
41 dosym /usr/share/${PN}/gvrng.py /usr/bin/gvrng
42 domenu "${FILESDIR}"/gvrng.desktop
47 einfo "The tutorial and the lessons can be found in "
48 einfo "/usr/share/doc/${PF}."
49 einfo "If you can not find them, emerge the package with USE=doc."