From 90c88731bd036e5698b281fbc0a5f3aa4c9983ac Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Jun 2020 11:38:31 +0100 Subject: gentoo resync : 29.06.2020 --- app-vim/pyclewn/Manifest | 2 +- app-vim/pyclewn/pyclewn-2.1-r1.ebuild | 47 ------------------------------- app-vim/pyclewn/pyclewn-2.1-r2.ebuild | 53 +++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 48 deletions(-) delete mode 100644 app-vim/pyclewn/pyclewn-2.1-r1.ebuild create mode 100644 app-vim/pyclewn/pyclewn-2.1-r2.ebuild (limited to 'app-vim/pyclewn') diff --git a/app-vim/pyclewn/Manifest b/app-vim/pyclewn/Manifest index 0925548ec74d..ff3be219f23b 100644 --- a/app-vim/pyclewn/Manifest +++ b/app-vim/pyclewn/Manifest @@ -1,3 +1,3 @@ DIST pyclewn-2.1.tar.gz 129697 BLAKE2B 0dfef92cb36ea9fa89c7f0d85ed45e21c634732fc2d3d888dd792de22529bea86719f8ac8ed870dd5ab00efbfdb08011013a36880781abf9e0c64a62b2aa301a SHA512 346b98a9e37957a5bf97b8901247f56fa8e38bddac38727867773cf4e78e555d6a85848c4c400d1faf1159ba61122cfd4931c95a67e3b2abdfaae7996beb4f1b -EBUILD pyclewn-2.1-r1.ebuild 934 BLAKE2B d7021c1f48fc67a74433389eccac41441b1b12c4fe246dc79685e2a42250b4fd44299f9c92b83ec7b82ab600d92d6492de2432469b387f349f86730eea38432d SHA512 4a77578d914d36a2976546b4c06f744206099b3c9d5cdf2a085ecb90f143214d3780299bb7c6eecb599c6759f78788e90cd3b38c61b0baff4ff7d6661be571ca +EBUILD pyclewn-2.1-r2.ebuild 1043 BLAKE2B 8486be082ed725b74a9201ec5cff0e8f426841819f661b345a47a887997d752fba66288e16cffaeef59fcb1f79637ea59841158587d261b7447f0bd019cbb82e SHA512 d65597aa71406e979c0f2b134c225e9fd9092eebf14a12566dac4ba47b5389061bc55c99ffefb48aa38c70ef94f9f921fd59049b1e8d2dddffce2894c34c5f41 MISC metadata.xml 499 BLAKE2B 4955bd7a080dc2ae909143477040d191cb48ab4badfd47b6b7c11fd4686139bbbe77475f005e10c3b2bba50d0615b94600a55cda57a7d02ecaaffe1e504219dd SHA512 30b127677f0d5a9afce208e5cbb00c9b98f6d7e771ef273155f9acad764da789e71249289104e8006420cf5ff62075bb7572527150f9b339e0e51cb219c76a81 diff --git a/app-vim/pyclewn/pyclewn-2.1-r1.ebuild b/app-vim/pyclewn/pyclewn-2.1-r1.ebuild deleted file mode 100644 index 67459d86ff7e..000000000000 --- a/app-vim/pyclewn/pyclewn-2.1-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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 -} diff --git a/app-vim/pyclewn/pyclewn-2.1-r2.ebuild b/app-vim/pyclewn/pyclewn-2.1-r2.ebuild new file mode 100644 index 000000000000..e57e74a67364 --- /dev/null +++ b/app-vim/pyclewn/pyclewn-2.1-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) + +inherit 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" + +SLOT="0" + +CDEPEND="|| ( + app-editors/vim + app-editors/gvim[netbeans] +)" + +DEPEND=" + ${CDEPEND} + app-arch/vimball" + +RDEPEND=" + ${DEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + default + + # async in a now a reserved keyword. + sed -e 's#async#_async#g;' \ + -i lib/clewn/gdb.py || die "can't patch gdb.py" +} + +python_install_all() { + distutils-r1_python_install_all + python_optimize + + 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 +} -- cgit v1.2.3