1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="3.*"
11 inherit games distutils
13 DESCRIPTION="A graphical and text-based sudoku game"
14 HOMEPAGE="http://pythonsudoku.sourceforge.net/"
15 SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
19 KEYWORDS="~amd64 ~ppc ~x86"
22 DEPEND="app-arch/unzip"
23 RDEPEND="dev-python/pygtk
29 -e "s:/usr/games:/usr/games/bin:g" \
34 newgamesbin pysdk.py pysdk || die "newgamesbin failed"
37 dohtml -r doc/* || die
38 doman doc/pysdk.6 || die
39 dodoc doc/*.txt || die
43 insinto /etc/games/pythonsudoku
44 doins pysdk.cfg || die