mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
app-vim/gentoo-syntax: Sync with Gentoo
It's from Gentoo commit 50ff8a45ab1931ad2d1d78a9f504cbfe437a6e35.
This commit is contained in:
parent
4a9cab846f
commit
dd19faca66
@ -1,2 +1 @@
|
|||||||
DIST gentoo-syntax-12.tar.bz2 21022 BLAKE2B 758993282ccc26384bb1fc761f2a07059d5e2e7038f56d48ec19ac82ddecb7cd1601fbdd4221e6b41b43281195d862c93d98c12c47d2d43f4a6cbb4784ae6b46 SHA512 07bc7102b3f687c53d8e46c5ca91c1d605239490f160c6db11c6d17ae95b94d34e9ac654b3c9935099382f39ba8b92ea373b09f86fc6452840d12f135820b2b3
|
|
||||||
DIST gentoo-syntax-13.tar.bz2 20995 BLAKE2B 90196be7b1f0bbbe8398f327cebe2bbbcffbf8db2e27debc321478911d2413de51ef29d3a94e936e1d92eb4d246237d66d4fa8742fd165e4043ceb2dd80beb9a SHA512 c695dd8c80b551307381a4fb0656adc07321cf60f88e1888ce3a2080343d458a35bb4bda785e233fa4907534b35114c83b5d4b5e3f3bd02d0d6c2dd7ab7deda1
|
DIST gentoo-syntax-13.tar.bz2 20995 BLAKE2B 90196be7b1f0bbbe8398f327cebe2bbbcffbf8db2e27debc321478911d2413de51ef29d3a94e936e1d92eb4d246237d66d4fa8742fd165e4043ceb2dd80beb9a SHA512 c695dd8c80b551307381a4fb0656adc07321cf60f88e1888ce3a2080343d458a35bb4bda785e233fa4907534b35114c83b5d4b5e3f3bd02d0d6c2dd7ab7deda1
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit vim-plugin
|
|
||||||
|
|
||||||
DESCRIPTION="vim plugin: Gentoo and Portage syntax highlighting"
|
|
||||||
HOMEPAGE="https://github.com/gentoo/gentoo-syntax"
|
|
||||||
SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="vim"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
||||||
IUSE="ignore-glep31"
|
|
||||||
|
|
||||||
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
|
||||||
VIM_PLUGIN_MESSAGES="filetype"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
if use ignore-glep31 ; then
|
|
||||||
for f in ftplugin/*.vim ; do
|
|
||||||
ebegin "Removing UTF-8 rules from ${f} ..."
|
|
||||||
sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
|
|
||||||
|| die "waah! bad sed voodoo. need more goats."
|
|
||||||
eend $?
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
vim-plugin_pkg_postinst
|
|
||||||
|
|
||||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
|
||||||
if use ignore-glep31 1>/dev/null ; then
|
|
||||||
ewarn "You have chosen to disable the rules which ensure GLEP 31"
|
|
||||||
ewarn "compliance. When editing ebuilds, please make sure you get"
|
|
||||||
ewarn "the character set correct."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -11,7 +11,7 @@ SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2"
|
|||||||
|
|
||||||
LICENSE="vim"
|
LICENSE="vim"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
IUSE="ignore-glep31"
|
IUSE="ignore-glep31"
|
||||||
|
|
||||||
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user