--- skencil-0.6.16.ebuild 2005-08-21 03:26:43.000000000 -0700 +++ skencil-0.6.17.ebuild 2005-08-21 03:22:30.000000000 -0700 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.16.ebuild,v 1.14 2005/06/22 16:40:58 gustavoz Exp $ +inherit python + IUSE="nls" DESCRIPTION="Interactive X11 vector drawing program" SRC_URI="mirror://sourceforge/sketch/${P}.tar.gz" @@ -15,6 +17,10 @@ LICENSE="GPL-2" KEYWORDS="amd64 ppc ppc64 sparc x86" +pkg_setup() { + python_tkinter_exists +} + src_compile() { use nls && useopts="${useopts} --with-nls" ./setup.py configure ${useopts} || die "setup.py configure failed"