diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-vim/pyclewn/pyclewn-2.0.1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-vim/pyclewn/pyclewn-2.0.1.ebuild')
-rw-r--r-- | app-vim/pyclewn/pyclewn-2.0.1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-vim/pyclewn/pyclewn-2.0.1.ebuild b/app-vim/pyclewn/pyclewn-2.0.1.ebuild new file mode 100644 index 000000000000..cd2bed6c6c96 --- /dev/null +++ b/app-vim/pyclewn/pyclewn-2.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4} ) +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[${PYTHON_USEDEP}] + >=app-editors/gvim-7.3[netbeans,${PYTHON_USEDEP}] +)" +DEPEND="${CDEPEND} + app-arch/vimball +" +RDEPEND="${DEPEND} + $(python_gen_cond_dep \ + 'dev-python/trollius[${PYTHON_USEDEP}]' python{2_7,3_3}) +" + +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 +} |