From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 010BA158088 for ; Sun, 6 Feb 2022 15:35:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B7422BC02C; Sun, 6 Feb 2022 15:35:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC37B2BC02C for ; Sun, 6 Feb 2022 15:35:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31013342C3C for ; Sun, 6 Feb 2022 15:35:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 621702CB for ; Sun, 6 Feb 2022 15:35:03 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1644161653.2acc3f1aff42a3bfc02c91ce8432a336e5e7e12a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/gentoo-syntax/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-vim/gentoo-syntax/Manifest app-vim/gentoo-syntax/gentoo-syntax-20220206.ebuild X-VCS-Directories: app-vim/gentoo-syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2acc3f1aff42a3bfc02c91ce8432a336e5e7e12a X-VCS-Branch: master Date: Sun, 6 Feb 2022 15:35:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f4d71922-ba7f-4440-b639-f4ec8834d7d1 X-Archives-Hash: c511b9613a65fc40bf6ee1b7a39b479c commit: 2acc3f1aff42a3bfc02c91ce8432a336e5e7e12a Author: Michał Górny gentoo org> AuthorDate: Sun Feb 6 12:00:15 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 6 15:34:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2acc3f1a app-vim/gentoo-syntax: Bump to 20220206 Signed-off-by: Michał Górny gentoo.org> app-vim/gentoo-syntax/Manifest | 1 + .../gentoo-syntax/gentoo-syntax-20220206.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-vim/gentoo-syntax/Manifest b/app-vim/gentoo-syntax/Manifest index 0b32eea54552..e53aa1e493f7 100644 --- a/app-vim/gentoo-syntax/Manifest +++ b/app-vim/gentoo-syntax/Manifest @@ -1,3 +1,4 @@ DIST gentoo-syntax-20211208.tar.bz2 18844 BLAKE2B 52e7025d46f5101f2e1c44afcbf3cba0756a1ec9c626f7af312bb5bbae518645c06c94bfc48822a721e2e3c1ed5f61376e88a074a9688cf4b5b3c352a99c87c9 SHA512 f1cfe2af440f7ed3042cbaa16558cb6df8038f439a2c3e7067f81751a37098854a3afb1653c7c3656ef85ad1874d2db9271429b92a25f494da6ee5c68819e631 DIST gentoo-syntax-20220126.tar.bz2 19267 BLAKE2B c18f50e29f4aa75e4cc8d629b5086de3cef629b99454389bfe5eecbc61288e4344921360a2d64ea021be7f0269178e6348abf0d1481e0fc8b88e16a16fb73215 SHA512 bbedf2bf98eaf7b80abac2e6a66dcbba2f5024f1a4327535e5d956c4c034fa9be0395a36784a576caeaee81df27eb153687238388bfc2aeaf210498d8377c99d DIST gentoo-syntax-20220203.tar.bz2 19323 BLAKE2B e9947e6deefcb6974ef97c0ad2057b9d5052907a3f30ebce6d59cbf69a7555c1f1466eb896ffc669dcc8ddd8719037f5bca7ecac2a5d9f3a299710086ada95b3 SHA512 749943ed2edec9ac8285a88d551bc18ff386b23981d4aa233a4206688d2e3903804f5ea92a4476c6bfc04641c1fc4952c6c4980b5059df80cb6fbccc5469040c +DIST gentoo-syntax-20220206.tar.bz2 19354 BLAKE2B e0eb286ec211d3cbdf9f5466b89cdd9483ee1ed66b282243d9638b60aeee1e01c1d9e8cb6d081998db9ec0e0e85ceabe4000a77c14e25e112d91d5a5ca15fcc9 SHA512 931bdcf2ccb8c98a1a547ecb0970af609b4f8d9f0040a6e389151a9cb3d16f227d45d00f49a760616f2f8e2e666b1cb56699e60f0f663bb5a5e6c8143a9fbe06 diff --git a/app-vim/gentoo-syntax/gentoo-syntax-20220206.ebuild b/app-vim/gentoo-syntax/gentoo-syntax-20220206.ebuild new file mode 100644 index 000000000000..cc256f13f274 --- /dev/null +++ b/app-vim/gentoo-syntax/gentoo-syntax-20220206.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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 +}