summaryrefslogtreecommitdiff
blob: e76cd7f9ff8a4d0aa384acdf8e68b12fc8c86784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-3.4.2.ebuild,v 1.1 2004/05/25 07:14:18 kloeri Exp $

IUSE="idl"

inherit python eutils

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="http://www.die-offenbachs.de/detlev/files/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc"

python_version
IDIR="/usr/lib/python${PYVER}/site-packages/eric3/"

DEPEND="virtual/glibc
	sys-devel/libtool
	>=x11-libs/qt-3.1
	>=dev-python/qscintilla-1.54
	>=dev-lang/python-2.2.3
	>=dev-python/sip-3.8
	>=dev-python/PyQt-3.8.1"

RDEPEND="idl? ( !ppc? ( >=net-misc/omniORB-4.0.3 ) )"

src_install() {
	python install.py \
		-b /usr/bin \
		-i ${D} \
		-c
	dodir "${IDIR}Tools"
	cp ${S}/patch_modpython.py ${D}/${IDIR}Tools
	dodoc	HISTORY LICENSE.GPL THANKS eric/README*
}

pkg_postinst() {
	einfo ""
	einfo "If you want to use eric3 with mod_python, have a look at"
	einfo "\"${IDIR}Tools/patch_modpython.py\"."
	einfo ""
}