# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2. # $Header: /var/cvs/portage/dev-python/pyscintilla/pyscintilla-1.99.2.ebuild,v 1.1 2004/01/15 14:15:52 joho Exp $ S=${WORKDIR}/${P} DESCRIPTION="Python bindings for the scintilla gtk-widget" SRC_URI="http://sra.itc.it/people/cavada/dload/pyscintilla-${PV}.tar.gz" HOMEPAGE="http://sra.itc.it/people/cavada/PyScintilla2.html" IUSE="" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" DEPEND=">=x11-libs/gtkscintilla2-0.0.8 >=dev-python/pygtk-1.99" # Necessary to generate the correct bindings for pygtk # (taken from dev-python/gnome-python/gnome-python-2.0.0.ebuild) addwrite /usr/share/pygtk/2.0/codegen src_unpack() { unpack ${A} cd ${S} econf || die "econf failed" } src_compile() { emake || die "emake failed" } src_install () { einstall || die "einstall failed" dodoc AUTHORS CHANGELOG INSTALL NEWS README }