diff options
Diffstat (limited to 'games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild')
-rw-r--r-- | games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild b/games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild new file mode 100644 index 000000000..af659ca51 --- /dev/null +++ b/games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit games distutils + +DESCRIPTION="A graphical and text-based sudoku game" +HOMEPAGE="http://pythonsudoku.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-python/pygtk + dev-python/reportlab + dev-python/imaging" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${PV}-setup_py-various_fix.patch" + sed -i -e 's#syscfg = pysdk.cfg#syscfg = /etc/games/pythonsudoku/pysdk.cfg#' \ + "${S}/pythonsudoku/platform.cfg" || die "fixing configfile path failed" +} + +src_install() { + newgamesbin pysdk.py pythonsudoku || die "newgamesbin failed" + distutils_src_install + dohtml -r doc/* + prepgamesdirs + + insinto /etc/games/pythonsudoku + doins pysdk.cfg +}
\ No newline at end of file |