summaryrefslogtreecommitdiff
blob: 82b74849f896484a25a7ecce675ee9e6d9cf323d (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/eggy/eggy-0.3.3.ebuild,v 1.2 2010/06/29 23:20:28 arfrever Exp $

EAPI="2"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"

inherit distutils

DESCRIPTION="An IDE/editor for several programming languages, including Python, Java, C, Perl and others"
HOMEPAGE="http://eggy.yolky.org/eggy/default/about"
SRC_URI="http://eggy.googlecode.com/files/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-python/PyQt4[X]
	dev-python/qscintilla-python
	dev-python/chardet"
RDEPEND="${DEPEND}"

src_prepare() {
	# remove the bundled chardet library
	sed -i "s:'eggy\\.chardet', ::" setup.py || die "sed failed"
	rm -rf ${P}/${PN}/chardet || die "rm failed"
	distutils_src_prepare
}