summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2025-02-15 20:36:07 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2025-02-15 20:36:07 +0200
commitb975c477b9a2d5f31943b6f1a3394dd8ffaabf99 (patch)
tree4387af1d952af7aa29b93ae943b9c0adebe33a5c /app-vim
parentapp-editors/zed: remove 0.172.10 (diff)
downloadgentoo-b975c477b9a2d5f31943b6f1a3394dd8ffaabf99.tar.gz
gentoo-b975c477b9a2d5f31943b6f1a3394dd8ffaabf99.tar.bz2
gentoo-b975c477b9a2d5f31943b6f1a3394dd8ffaabf99.zip
app-vim/splice: enable py3.11 .. py3.13, EAPI=8
Closes: https://bugs.gentoo.org/896656 Closes: https://bugs.gentoo.org/929375 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-vim')
-rw-r--r--app-vim/splice/splice-1.1.0-r5.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/app-vim/splice/splice-1.1.0-r5.ebuild b/app-vim/splice/splice-1.1.0-r5.ebuild
new file mode 100644
index 000000000000..1f17cfe102f6
--- /dev/null
+++ b/app-vim/splice/splice-1.1.0-r5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit vim-plugin python-single-r1
+
+DESCRIPTION="vim plugin: resolve conflicts during three-way merges"
+HOMEPAGE="https://docs.stevelosh.com/splice.vim/
+ https://github.com/sjl/splice.vim
+ https://www.vim.org/scripts/script.php?script_id=4026"
+SRC_URI="https://github.com/sjl/splice.vim/archive/v${PV}.tar.gz -> ${P}-github.tar.gz"
+S=${WORKDIR}/splice.vim-${PV}
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ || (
+ app-editors/vim[python,${PYTHON_SINGLE_USEDEP}]
+ app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}]
+ )
+"
+
+VIM_PLUGIN_HELPFILES="${PN}.txt"
+
+src_prepare() {
+ default
+ rm -r site || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ vim-plugin_src_install
+ python_optimize "${ED}"/usr/share/vim/vimfiles/autoload/splicelib
+}