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