# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/pida/pida-0.5.0.ebuild,v 1.5 2007/07/12 01:05:41 mr_bones_ Exp $ NEED_PYTHON=2.4 inherit distutils MY_P="PIDA-${PV}" DESCRIPTION="Gtk and/or Vim-based Python Integrated Development Application" HOMEPAGE="http://pida.co.uk/" SRC_URI="http://pida.googlecode.com/files/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" IUSE="gnome" #Note: bicyclerepair should be optional but its needed due to a bug and #can probably be removed in the next version DEPEND=">=dev-python/pygtk-2.8 >=dev-python/setuptools-0.6_rc3 >=app-editors/gvim-6.3 dev-python/gnome-python gnome? ( >=dev-python/gnome-python-extras-2.14.0-r1 ) >=x11-libs/vte-0.11.11-r2 >=dev-python/kiwi-1.9.1 >=dev-python/bicyclerepair-0.7-r1" RDEPEND="${DEPEND}" S=${WORKDIR}/${MY_P} pkg_setup() { if ! built_with_use x11-libs/vte python ; then eerror "x11-libs/vte has to be built with python USE-flag" die "missing python USE-flag for x11-libs/vte" fi } pkg_postinst() { elog "Optional packages pida integrates with:" elog "app-misc/mc (Midnight Commander)" elog "dev-util/gazpacho (Glade-like interface designer)" elog "Revision control: cvs, svn, darcs and many others" }