/[gentoo-x86]/dev-python/drpython/drpython-3.11.4.ebuild
Gentoo

Contents of /dev-python/drpython/drpython-3.11.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Apr 14 12:49:32 2015 UTC (4 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for ia64, wrt bug #540290

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="ia64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/drpython/drpython-3.11.4.ebuild,v 1.4 2015/03/08 23:45:56 pacho Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit distutils-r1
9
10 MY_PN="DrPython"
11 MY_P="${MY_PN}_${PV}"
12
13 DESCRIPTION="A powerful cross-platform IDE for Python"
14 HOMEPAGE="http://drpython.sourceforge.net/"
15 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="amd64 ia64 ppc x86"
20 IUSE=""
21
22 RDEPEND=">=dev-python/wxpython-2.6"
23 DEPEND="${RDEPEND}
24 app-arch/unzip"
25
26 S="${WORKDIR}/${PN}"
27
28 PAYTCHES=( "${FILESDIR}/${PN}-165-wxversion.patch" )
29
30 python_prepare_all() {
31 sed \
32 -e "/'drpython.pyw', 'drpython.lin'/d" \
33 -e "/scripts=\['postinst.py'\],/d" \
34 -i setup.py || die "sed failed"
35 sed -e "s/arguments)c/arguments)/" -i examples/DrScript/SetTerminalArgs.py || die "sed failed"
36 distutils-r1_python_prepare_all
37 }
38
39 python_install() {
40 make_wrapper drpython "${PYTHON}" $(python_get_sitedir)/${PN}/drpython.py
41 distutils-r1_python_install
42 }
43
44 pkg_postinst() {
45 elog "DrPython plugins are available on DrPython homepage:"
46 elog "http://sourceforge.net/projects/drpython/files/DrPython%20Plugins/"
47 }

  ViewVC Help
Powered by ViewVC 1.1.20