diff options
Diffstat (limited to 'dev-python/winpdb')
-rw-r--r-- | dev-python/winpdb/Manifest | 1 | ||||
-rw-r--r-- | dev-python/winpdb/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/winpdb/winpdb-1.4.8-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-python/winpdb/winpdb-1.4.8.ebuild | 40 |
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-python/winpdb/Manifest b/dev-python/winpdb/Manifest new file mode 100644 index 000000000000..c0977f339ad0 --- /dev/null +++ b/dev-python/winpdb/Manifest @@ -0,0 +1 @@ +DIST winpdb-1.4.8.tar.gz 145184 SHA256 daa146446d0a04fec93ee951ba3432016c6b63108711c036124902928968776e SHA512 b393e8054783238235847138a36ab764779d703d2e544da494a65e97f55928080bbb3955334c8eb478f5f1bf8e1c9079d898d663b08b9572c65c81b1a65df059 WHIRLPOOL 0f5b6552a38ba5c1a1a5b38208963c78ad64876f386e17e7739012057b51eb3a1ab6ba301a80ad7396208132085cf8cbdc4b2d208692dc3e2e91768347b354f9 diff --git a/dev-python/winpdb/metadata.xml b/dev-python/winpdb/metadata.xml new file mode 100644 index 000000000000..4625e849e175 --- /dev/null +++ b/dev-python/winpdb/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="google-code">winpdb</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/winpdb/winpdb-1.4.8-r1.ebuild b/dev-python/winpdb/winpdb-1.4.8-r1.ebuild new file mode 100644 index 000000000000..07821ed97f28 --- /dev/null +++ b/dev-python/winpdb/winpdb-1.4.8-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +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[${PYTHON_USEDEP}] + wxwidgets? ( dev-python/wxpython:2.8[$(python_gen_usedep 'python2*')] )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="wxwidgets? ( $(python_gen_useflags 'python2*') )" + +python_install() { + distutils-r1_python_install + + if ! use wxwidgets || python_is_python3; then + find "${D%/}$(python_get_sitedir)" -name 'winpdb*.py*' -delete || die + rm "${D%/}$(python_get_scriptdir)"/winpdb || die + if ! use wxwidgets; then + rm "${ED%/}"/usr/bin/winpdb || die + fi + fi +} 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 000000000000..3d1a6633d061 --- /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 +} |