blob: 876a14bedff784b4b35097f95c763fd3cbc7632b (
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
46
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/drpython/drpython-3.11.1.ebuild,v 1.2 2010/04/16 02:57:16 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils
DESCRIPTION="A powerful cross-platform IDE for Python"
HOMEPAGE="http://drpython.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
IUSE=""
RDEPEND=">=dev-python/wxpython-2.6"
DEPEND="app-arch/unzip"
RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${P/-/_}"
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}/${PN}-165-wxversion.patch"
}
src_install() {
distutils_src_install
# Don't install Windows-only setup script.
rm -f "${ED}usr/bin/postinst.py"
make_wrapper drpython "$(PYTHON -f -a) $(python_get_sitedir -f)/${PN}/drpython.py"
}
pkg_postinst() {
distutils_pkg_postinst
elog "See the DrPython homepage for 20+ available plugins:"
elog "http://sourceforge.net/project/showfiles.php?group_id=83074"
}
|