You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python3_6 )
|
|
|
|
|
|
|
|
inherit eutils vim-plugin distutils-r1
|
|
|
|
|
|
|
|
SRC_URI="mirror://pypi/p/${PN}/${P}.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"
|
|
|
|
|
|
|
|
CDEPEND="|| (
|
|
|
|
>=app-editors/vim-7.3
|
|
|
|
>=app-editors/gvim-7.3[netbeans]
|
|
|
|
)"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
${CDEPEND}
|
|
|
|
app-arch/vimball"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
#Completely broken (runs vim), disable for now
|
|
|
|
#python_test() {
|
|
|
|
# esetup.py test
|
|
|
|
#}
|
|
|
|
|
|
|
|
python_install_all() {
|
|
|
|
distutils-r1_python_install_all
|
|
|
|
|
|
|
|
vimball -x -C "${ED}"/usr/share/vim/vimfiles lib/clewn/runtime/${P}.vmb || die "Extracting vimball failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
vim-plugin_pkg_postinst
|
|
|
|
|
|
|
|
optfeature "C/C++ debugging" sys-devel/gdb
|
|
|
|
optfeature "Python debugging" dev-python/pdb-clone
|
|
|
|
}
|