# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eclipse-ext DESCRIPTION="Python development plugin for Eclipse" HOMEPAGE="http://pydev.sourceforge.net/" MY_PN="pydev" MY_PV="${PV//./_}" SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}${MY_PV}.zip" LICENSE="CPL-1.0" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND=">=dev-util/eclipse-sdk-3 >=dev-lang/python-2.3" DEPEND="app-arch/unzip $RDEPEND" S=${WORKDIR}/${P} src_unpack() { mkdir -p ${S} cd ${S} unpack ${A} } # nothing to do src_compile() { einfo "${P} is a binary package (JVM code only ;)" } src_install() { eclipse-ext_require-slot 3 || die "Failed to find suitable Eclipse installation" eclipse-ext_create-ext-layout binary || die "Failed to create layout" eclipse-ext_install-features features/* || die "Failed to install features" eclipse-ext_install-plugins plugins/* || die "Failed to install plugins" }