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 4600315800F for ; Wed, 8 Feb 2023 17:36:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C3F5E085E; Wed, 8 Feb 2023 17:36:29 +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 32D10E085E for ; Wed, 8 Feb 2023 17:36:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 79F2C3408B8 for ; Wed, 8 Feb 2023 17:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 050BA8C2 for ; Wed, 8 Feb 2023 17:36:25 +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: <1675877777.ff623311a0517e01d2b0f602dcb89390172d05f9.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-7.ebuild X-VCS-Directories: app-vim/gentoo-syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ff623311a0517e01d2b0f602dcb89390172d05f9 X-VCS-Branch: master Date: Wed, 8 Feb 2023 17:36:25 +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: b0a9fc91-acc1-460f-91f8-ce02939c98ef X-Archives-Hash: c97ab3adab18b6fe6690268a156ba918 commit: ff623311a0517e01d2b0f602dcb89390172d05f9 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 8 16:43:50 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 8 17:36:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff623311 app-vim/gentoo-syntax: Bump to v7 Signed-off-by: Michał Górny gentoo.org> app-vim/gentoo-syntax/Manifest | 1 + app-vim/gentoo-syntax/gentoo-syntax-7.ebuild | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-vim/gentoo-syntax/Manifest b/app-vim/gentoo-syntax/Manifest index 1328f77d40f2..283fd4197545 100644 --- a/app-vim/gentoo-syntax/Manifest +++ b/app-vim/gentoo-syntax/Manifest @@ -1,3 +1,4 @@ DIST gentoo-syntax-4.tar.bz2 20344 BLAKE2B 3e9b75c1e9e395e04547a95bb6abd17e7404389ccc5a47d9cf9ca2973a55666ce17607c72fbd15a9b167033bf0f7d1447817b9346d56e2ddbd48c2acbdfdcffa SHA512 4aec2c40c4f582f697cc11ac73fe9301ce25bb38f240cc3c9e426247a4bd38fb83aa05407b65ac68313793735eafc71a3b1b55e0db4301941afe7c720a51bc85 DIST gentoo-syntax-5.tar.bz2 20386 BLAKE2B 8f5ba5bdf4a5caff400d4af0f0e88b2bfe36ab550a4cb6045dd2c2b00a00fc3a95fd6394eabf0316fb36bdb454c774fd3a4e86818230bbab5c54996c29fae581 SHA512 e57d0b9eeff27ce591ce3f6a759b18f08a272e44d59063dd34a6543ce909e03509c8503f92d8c67aba092944e549ff43672c3ebc9f97100e84abeba4a7a322f6 DIST gentoo-syntax-6.tar.bz2 21077 BLAKE2B 76d3cfff7eb8c6ea393770126eef8a39df010292edd95bf2599e0a341cd4d7399b17c27a1d3dfdc420268c9c3f14b8cd477b325c7b9525c547c5ae1b864061c3 SHA512 97792795d42f3fdb42bf8d1d2b531e47bbed463f14d2acdb1e801b96c980829dfd2a858f7b46d48892152b36f22ec0e478f6bb7ee374cdd3c69d7316641aa307 +DIST gentoo-syntax-7.tar.bz2 21068 BLAKE2B c8b171486922f617a036f8d766183cbf3193093ed3cb8a87e69505439eb6cbeadbf9878a2283cf4f36f16f92079b2c65e687713cb77ebd7230509dc55d4f2473 SHA512 4c4b81ab72cff9d48c4ccd6b563edcdf0863d2de3ed4a6b9dd657badc059f58baf4cfe88e89d1f9afc5a91f0ce9b0be44346c1a62d5d737f638efec4ec593e24 diff --git a/app-vim/gentoo-syntax/gentoo-syntax-7.ebuild b/app-vim/gentoo-syntax/gentoo-syntax-7.ebuild new file mode 100644 index 000000000000..c560022b6db4 --- /dev/null +++ b/app-vim/gentoo-syntax/gentoo-syntax-7.ebuild @@ -0,0 +1,42 @@ +# 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 ~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 +}