summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2021-03-01 00:41:44 +0300
committerPatrice Clement <monsieurp@gentoo.org>2021-03-21 20:48:55 +0100
commit38edf6c5de2e95504d57696f2d04cfdbe17f78b3 (patch)
tree3b4b692d14d79a445385592e84b5e04201f11f6c /app-vim/splice/splice-1.1.0-r4.ebuild
parentx11-terms/zutty: new package. (diff)
downloadgentoo-38edf6c5de2e95504d57696f2d04cfdbe17f78b3.tar.gz
gentoo-38edf6c5de2e95504d57696f2d04cfdbe17f78b3.tar.bz2
gentoo-38edf6c5de2e95504d57696f2d04cfdbe17f78b3.zip
app-vim/splice: update HOMEPAGE and SRC_URI.
Closes: https://bugs.gentoo.org/739792 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19716 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-vim/splice/splice-1.1.0-r4.ebuild')
-rw-r--r--app-vim/splice/splice-1.1.0-r4.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-vim/splice/splice-1.1.0-r4.ebuild b/app-vim/splice/splice-1.1.0-r4.ebuild
new file mode 100644
index 00000000000..4625bc792f6
--- /dev/null
+++ b/app-vim/splice/splice-1.1.0-r4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7,8} )
+
+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"
+
+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}]
+ )"
+
+S="${WORKDIR}/splice.vim-${PV}"
+VIM_PLUGIN_HELPFILES="${PN}.txt"
+
+src_prepare() {
+ default
+ rm .[a-z]* Makefile LICENSE.markdown package.sh || die
+ rm -r site || die
+}
+
+src_install() {
+ vim-plugin_src_install
+ python_optimize "${ED}"/usr/share/vim/vimfiles/autoload/splicelib
+}