# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-3.8.2.ebuild,v 1.1 2006/04/23 17:08:30 carlo Exp $ inherit python eutils MY_PV=${PV/"?.?_pre"/"snapshot-"} S=${WORKDIR}/${PN}-${MY_PV} DESCRIPTION="eric3 is a full featured Python IDE that is written in PyQt using the QScintilla editor widget" HOMEPAGE="http://www.die-offenbachs.de/detlev/eric3.html" SRC_URI="mirror://sourceforge/eric-ide/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="idl" DEPEND=">=dev-python/PyQt-3.13 >=dev-python/pyxml-0.8.4" RDEPEND=">=dev-python/PyQt-3.13 >=dev-python/pyxml-0.8.4 idl? ( !sparc? ( >=net-misc/omniORB-4.0.3 ) )" LANGS="de fr ru" python_version src_install() { python install.py \ -b ${ROOT}usr/bin \ -i ${D} \ -d "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages" \ -c dodoc HISTORY LICENSE.GPL THANKS eric/README* make_desktop_entry "eric3 --nosplash" \ eric3 \ "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/eric3/icons/default/eric.png" \ "Development;IDE;Qt" } pkg_postinst() { echo "" einfo "If you want to use eric3 with mod_python, have a look at" einfo "\"${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/eric3/patch_modpython.py\"." echo "" }