summaryrefslogtreecommitdiff
path: root/app-vim/pyclewn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /app-vim/pyclewn
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'app-vim/pyclewn')
-rw-r--r--app-vim/pyclewn/Manifest2
-rw-r--r--app-vim/pyclewn/pyclewn-2.1-r2.ebuild (renamed from app-vim/pyclewn/pyclewn-2.1-r1.ebuild)26
2 files changed, 17 insertions, 11 deletions
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-r2.ebuild
index 67459d86ff7e..e57e74a67364 100644
--- a/app-vim/pyclewn/pyclewn-2.1-r1.ebuild
+++ b/app-vim/pyclewn/pyclewn-2.1-r2.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
-inherit eutils vim-plugin distutils-r1
+inherit vim-plugin distutils-r1
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
@@ -14,9 +14,11 @@ HOMEPAGE="http://pyclewn.sourceforge.net/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
CDEPEND="|| (
- >=app-editors/vim-7.3
- >=app-editors/gvim-7.3[netbeans]
+ app-editors/vim
+ app-editors/gvim[netbeans]
)"
DEPEND="
@@ -26,15 +28,19 @@ DEPEND="
RDEPEND="
${DEPEND}"
-SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-#Completely broken (runs vim), disable for now
-#python_test() {
-# esetup.py test
-#}
+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"
}