# 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.9.1.ebuild,v 1.1 2006/10/14 13:47:11 kloeri Exp $ inherit python eutils #MY_PV=${PV/"?.?_pre"/"snapshot-"} SNAPSHOTDATE=`echo ${PV} | cut -b8-` S=${WORKDIR}/${PN}4-snapshot-${SNAPSHOTDATE} DESCRIPTION="eric4 is a full featured Python IDE that is written in PyQt4 using the QScintilla2 editor widget" HOMEPAGE="http://www.die-offenbachs.de/detlev/eric4-download.html" SRC_URI="http://www.die-offenbachs.de/detlev/snapshots4/${PN}4-snapshot-${SNAPSHOTDATE}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" DEPEND=">=dev-python/PyQt4-4.1 dev-python/qscintilla2 >=dev-python/pyxml-0.8.4" RDEPEND=">=dev-python/PyQt4-4.1 dev-python/qscintilla2 >=dev-python/pyxml-0.8.4" LANGS="" 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 "eric4" \ eric4 \ "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/eric4/icons/default/erict.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 "" echo "This is experimental ebuild of Eric4 beware of bugs" }