summaryrefslogtreecommitdiff
path: root/dev-python/winpdb/winpdb-1.4.8.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/winpdb/winpdb-1.4.8.ebuild')
-rw-r--r--dev-python/winpdb/winpdb-1.4.8.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/winpdb/winpdb-1.4.8.ebuild b/dev-python/winpdb/winpdb-1.4.8.ebuild
new file mode 100644
index 00000000000..3d1a6633d06
--- /dev/null
+++ b/dev-python/winpdb/winpdb-1.4.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+PYTHON_DEPEND="*"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+
+inherit distutils
+
+DESCRIPTION="Graphical Python debugger"
+HOMEPAGE="http://winpdb.org/ http://code.google.com/p/winpdb/ http://pypi.python.org/pypi/winpdb"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ia64 x86"
+IUSE="+wxwidgets"
+
+DEPEND=">=dev-python/pycrypto-2.0.1
+ wxwidgets? ( dev-python/wxpython:2.8 )"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ distutils_src_install
+
+ if use wxwidgets; then
+ PYTHON_MODNAME="rpdb2.py winpdb.py"
+ else
+ PYTHON_MODNAME="rpdb2.py"
+
+ rm -f "${ED}usr/bin/winpdb"*
+
+ delete_winpdb() {
+ rm -f "${ED}$(python_get_sitedir)/winpdb.py"
+ }
+ python_execute_function -q delete_winpdb
+ fi
+}