1 # Copyright 1999-2010 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"
13 KEYWORDS="~amd64 ~ppc ~x86"
16 DEPEND="app-arch/unzip"
17 RDEPEND="dev-python/pygtk
25 -e 's#\(syscfg[ \t]*\)=.*#\1= /etc/games/pythonsudoku/pysdk.cfg#' \
26 -e 's#\(install-scripts[ \t]*\)=.*#\1= /usr/games/bin#' \
27 pythonsudoku/platform.cfg setup.cfg || die "fixing configfile path failed"
31 newgamesbin pysdk.py pysdk || die "newgamesbin failed"
40 insinto /etc/games/pythonsudoku