# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 PYTHON_COMPAT=( python{3_2,3_3,3_4} ) inherit distutils-r1 vim-doc SRC_URI="mirror://sourceforge/project/${PN}/${P}/${P}.py3.tar.gz" DESCRIPTION="Pyclewn allows using vim as a front end to a debugger (pdb or gdb)" HOMEPAGE="http://pyclewn.sourceforge.net/" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="|| ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3[netbeans] )" RDEPEND="${DEPEND}" SLOT="0" S="${WORKDIR}/${P}.py3" python_prepare_all() { # Disable generation of vim helptags, done later by vim-doc.eclass sed -e '/build_vimhelp/d' -i setup.py || die "sed failed" distutils-r1_python_prepare_all } #Completely broken, disable for now #python_test() { # esetup.py test #} pkg_postinst() { update_vim_helptags if !has_version sys-devel/gdb; then ewarn "Install sys-devel/gdb to debug C/C++ programs with pyclewn" fi }