From a0fd7451ba093ea6b39b84052e18149833436ee6 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Mon, 20 Apr 2020 00:43:10 -0400 Subject: [PATCH] app-vim/jedi: version bump 0.10.0, bug #718262 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Horea Christian Closes: https://github.com/gentoo/gentoo/pull/15436 Signed-off-by: Joonas Niilola --- app-vim/jedi/Manifest | 1 + app-vim/jedi/jedi-0.10.0.ebuild | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 app-vim/jedi/jedi-0.10.0.ebuild diff --git a/app-vim/jedi/Manifest b/app-vim/jedi/Manifest index 40f7e9fe206b..ccfc208c4040 100644 --- a/app-vim/jedi/Manifest +++ b/app-vim/jedi/Manifest @@ -1 +1,2 @@ +DIST jedi-0.10.0.tar.gz 36820 BLAKE2B a66f7c58564487d83867d61480d83364af0047cee713c41dbd5c67bff0b2ac33d066c2d0f4367c30059f46fb9f4916fc8d2eb9c64aa6a489e2c16a03f56b0b3c SHA512 65482505446b1001e92870ae64a147b38c0bb4d3151e464d325be741729506a191b284a491f4c3eb77dc46cb9bcd6b8e7bf8689ed95107e89a1f6a05c7fbc9ea DIST jedi-0.8_p20171015.tar.gz 31593 BLAKE2B a34fc7a7d8211cefbaef0012b801bc2dec2b447d34a1d3c338ed37306d36262694f0d8e771042e899959d04bed8925c5beee32803cb7f56add7a83ceb4bf27d9 SHA512 e4238c745d509d9d7e8c0593a46935f1de3c0cdf8e3893deb156110be53e2c9012d98379a6ca747a0bdab77f1def2a88dd46ce5c7d3936f01f0d9ab597f14182 diff --git a/app-vim/jedi/jedi-0.10.0.ebuild b/app-vim/jedi/jedi-0.10.0.ebuild new file mode 100644 index 000000000000..947862ab0a94 --- /dev/null +++ b/app-vim/jedi/jedi-0.10.0.ebuild @@ -0,0 +1,39 @@ +# 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 python-any-r1 + +DESCRIPTION="vim plugin: binding to the autocompletion library jedi" +HOMEPAGE="https://github.com/davidhalter/jedi-vim" +SRC_URI="https://github.com/davidhalter/jedi-vim/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/jedi[${PYTHON_USEDEP}]') + " +RDEPEND="app-editors/vim[python]" +BDEPEND="test? ( dev-python/pytest )" + +S="${WORKDIR}/jedi-vim-${PV}" + +# Tests are broken. +RESTRICT="test" + +# Makefile tries hard to call tests so let's silence this phase. +src_compile() { :; } + +src_install() { + vim-plugin_src_install +} + +src_test() { + pytest -vv || die +} -- 2.26.2