summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-08 18:35:27 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-08 18:35:27 +0000
commitb1508baeb9b97e645fd63b850ffb15ba3e46a8ac (patch)
tree4bcb281ed62dbb90ea0c0e766c3bc335cba2aa34 /dev-python/drpython
parentDelete older ebuild. (diff)
downloadgentoo-2-b1508baeb9b97e645fd63b850ffb15ba3e46a8ac.tar.gz
gentoo-2-b1508baeb9b97e645fd63b850ffb15ba3e46a8ac.tar.bz2
gentoo-2-b1508baeb9b97e645fd63b850ffb15ba3e46a8ac.zip
Version bump.
(Portage version: 2.2.0_alpha7_p5/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/drpython')
-rw-r--r--dev-python/drpython/ChangeLog8
-rw-r--r--dev-python/drpython/drpython-3.11.3.ebuild56
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-python/drpython/ChangeLog b/dev-python/drpython/ChangeLog
index 020c2a8d42ae..c01a2c4b98ae 100644
--- a/dev-python/drpython/ChangeLog
+++ b/dev-python/drpython/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/drpython
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/drpython/ChangeLog,v 1.17 2010/04/16 02:53:15 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/drpython/ChangeLog,v 1.18 2010/12/08 18:35:27 arfrever Exp $
+
+*drpython-3.11.3 (08 Dec 2010)
+
+ 08 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -drpython-3.11.1.ebuild, +drpython-3.11.3.ebuild:
+ Version bump.
*drpython-3.11.1 (16 Apr 2010)
diff --git a/dev-python/drpython/drpython-3.11.3.ebuild b/dev-python/drpython/drpython-3.11.3.ebuild
new file mode 100644
index 000000000000..3c8805072194
--- /dev/null
+++ b/dev-python/drpython/drpython-3.11.3.ebuild
@@ -0,0 +1,56 @@
+# 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.3.ebuild,v 1.1 2010/12/08 18:35:27 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils eutils
+
+MY_PN="DrPython"
+MY_P="${MY_PN}_${PV}"
+
+DESCRIPTION="A powerful cross-platform IDE for Python"
+HOMEPAGE="http://drpython.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/wxpython-2.6"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}/${PN}-165-wxversion.patch"
+
+ sed \
+ -e "/'drpython.pyw', 'drpython.lin'/d" \
+ -e "/scripts=\['postinst.py'\],/d" \
+ -i setup.py || die "sed failed"
+ sed -e "s/arguments)c/arguments)/" -i examples/DrScript/SetTerminalArgs.py || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+
+ install_drpython_wrapper() {
+ make_wrapper drpython-${PYTHON_ABI} "$(PYTHON -a) $(python_get_sitedir)/${PN}/drpython.py"
+ }
+ python_execute_function -q install_drpython_wrapper
+ python_generate_wrapper_scripts "${ED}usr/bin/drpython"
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+
+ elog "DrPython plugins are available on DrPython homepage:"
+ elog "http://sourceforge.net/projects/drpython/files/DrPython%20Plugins/"
+}