1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit games distutils
7 DESCRIPTION="A graphical and text-based sudoku game"
8 HOMEPAGE="http://pythonsudoku.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
17 RDEPEND="dev-python/pygtk
23 epatch "${FILESDIR}/${PV}-setup_py-various_fix.patch"
24 sed -i -e 's#syscfg = pysdk.cfg#syscfg = /etc/games/pythonsudoku/pysdk.cfg#' \
25 "${S}/pythonsudoku/platform.cfg" || die "fixing configfile path failed"
29 newgamesbin pysdk.py pythonsudoku || die "newgamesbin failed"
34 insinto /etc/games/pythonsudoku