diff options
Diffstat (limited to 'app-vim/gentoo-syntax')
-rw-r--r-- | app-vim/gentoo-syntax/Manifest | 2 | ||||
-rw-r--r-- | app-vim/gentoo-syntax/gentoo-syntax-9.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/app-vim/gentoo-syntax/Manifest b/app-vim/gentoo-syntax/Manifest index ca836c21a655..d8c5f9b4f7c6 100644 --- a/app-vim/gentoo-syntax/Manifest +++ b/app-vim/gentoo-syntax/Manifest @@ -3,10 +3,12 @@ DIST gentoo-syntax-5.tar.bz2 20386 BLAKE2B 8f5ba5bdf4a5caff400d4af0f0e88b2bfe36a DIST gentoo-syntax-6.tar.bz2 21077 BLAKE2B 76d3cfff7eb8c6ea393770126eef8a39df010292edd95bf2599e0a341cd4d7399b17c27a1d3dfdc420268c9c3f14b8cd477b325c7b9525c547c5ae1b864061c3 SHA512 97792795d42f3fdb42bf8d1d2b531e47bbed463f14d2acdb1e801b96c980829dfd2a858f7b46d48892152b36f22ec0e478f6bb7ee374cdd3c69d7316641aa307 DIST gentoo-syntax-7.tar.bz2 21068 BLAKE2B c8b171486922f617a036f8d766183cbf3193093ed3cb8a87e69505439eb6cbeadbf9878a2283cf4f36f16f92079b2c65e687713cb77ebd7230509dc55d4f2473 SHA512 4c4b81ab72cff9d48c4ccd6b563edcdf0863d2de3ed4a6b9dd657badc059f58baf4cfe88e89d1f9afc5a91f0ce9b0be44346c1a62d5d737f638efec4ec593e24 DIST gentoo-syntax-8.tar.bz2 21280 BLAKE2B 81854e79fe206fda53cd4566c9e761fbac321929bfbaa7adb042750df60646a9ff494fb623af1d6540722fd0bb37106fbb8e50a7f0f602989adff3d88a58f41e SHA512 af3719dac995064861ba369786206433d92275d586e407f0d6b92f37cbb9f4b96a73b24193d21f59c6398cf51857f1292e4e2c647f0ee70d141db68c7db80b87 +DIST gentoo-syntax-9.tar.bz2 20901 BLAKE2B d510fdc3a0d06e1da4591f5a708f54a1892c3476e20cf16dc4d69d7583f284ef1fc1a25cdfbff81716f011eb61000e2b07a8adf61ef8f9cd2c961df47316bbb0 SHA512 c74af6fb29055a56937ded38e20ec4320c1c2c54af4f09e5225fa6fe3b59b95645470ccad0664bb0f44557a2baedff6ecea4b1042417f763f5e26cc06b0da61e EBUILD gentoo-syntax-4.ebuild 1244 BLAKE2B 85c59c5dc069b2d015372b8d95006689eae10a10c4810b9baeb4fa0020215a5beca2aeed7dce3bdb94085fcc08615731625aab8085f9ab753c1908ed62c98f54 SHA512 f8a8d90f8845eee56a3cd2d2efb6bba2fed94d53ddeeff63141ab98c53c315fb6c38768fe0d7b4a2db0e04e2fcac7b31c591e2c3b6734fc0deac8c8f6e6ef1fa EBUILD gentoo-syntax-5.ebuild 1252 BLAKE2B b4932edbfeb59e28abcdcaafc744bb163bc1df9ecaa6102d034942c155c705c938f7633572b1ea981ed97df87321e7824884b999b70fcd76d6ebdb53d3ee784a SHA512 bd827a04ed5bcd3536d4c9d69463a1f4f576f944b02ab3ffba933b52910698f402334264b2f56cf51f46bd90b90be84d8aed6b85238ecc6b0ecacfec92a7636d EBUILD gentoo-syntax-6.ebuild 1252 BLAKE2B b4932edbfeb59e28abcdcaafc744bb163bc1df9ecaa6102d034942c155c705c938f7633572b1ea981ed97df87321e7824884b999b70fcd76d6ebdb53d3ee784a SHA512 bd827a04ed5bcd3536d4c9d69463a1f4f576f944b02ab3ffba933b52910698f402334264b2f56cf51f46bd90b90be84d8aed6b85238ecc6b0ecacfec92a7636d EBUILD gentoo-syntax-7.ebuild 1252 BLAKE2B b4932edbfeb59e28abcdcaafc744bb163bc1df9ecaa6102d034942c155c705c938f7633572b1ea981ed97df87321e7824884b999b70fcd76d6ebdb53d3ee784a SHA512 bd827a04ed5bcd3536d4c9d69463a1f4f576f944b02ab3ffba933b52910698f402334264b2f56cf51f46bd90b90be84d8aed6b85238ecc6b0ecacfec92a7636d EBUILD gentoo-syntax-8.ebuild 1252 BLAKE2B b4932edbfeb59e28abcdcaafc744bb163bc1df9ecaa6102d034942c155c705c938f7633572b1ea981ed97df87321e7824884b999b70fcd76d6ebdb53d3ee784a SHA512 bd827a04ed5bcd3536d4c9d69463a1f4f576f944b02ab3ffba933b52910698f402334264b2f56cf51f46bd90b90be84d8aed6b85238ecc6b0ecacfec92a7636d +EBUILD gentoo-syntax-9.ebuild 1252 BLAKE2B b4932edbfeb59e28abcdcaafc744bb163bc1df9ecaa6102d034942c155c705c938f7633572b1ea981ed97df87321e7824884b999b70fcd76d6ebdb53d3ee784a SHA512 bd827a04ed5bcd3536d4c9d69463a1f4f576f944b02ab3ffba933b52910698f402334264b2f56cf51f46bd90b90be84d8aed6b85238ecc6b0ecacfec92a7636d EBUILD gentoo-syntax-9999.ebuild 1084 BLAKE2B 5e2edf4d1eddb74486a7ef6c8025a2874591d90d0ff1bb5077781f3c66d43bfbebf0421561a7c730e1baff613776c0962c907aec502a6627d8361034b28e1bf3 SHA512 4af267e60fcf53b736c41232cb44241d2181afd3b38516a6e4a7a7b7ea83db10a4fec7272b362847bf773296f348a2b08503ce757886a14ff08a215ba5341194 MISC metadata.xml 586 BLAKE2B 9425e6a21617f806a0232c7f0ff75f148dc6855679236c9c2b88270db48161d3bffcb32066b372dc6af9cbac594f9d9dce6447d03fc675c151e75982f86ba598 SHA512 cb343dede228edd5c51dc2b2f6b8a1f09e4847365284218d5eb0c23c675f32fe4ab5025c6671f1dafbb63a87b83763a9caf97b04945329c32a1898123149d04b diff --git a/app-vim/gentoo-syntax/gentoo-syntax-9.ebuild b/app-vim/gentoo-syntax/gentoo-syntax-9.ebuild new file mode 100644 index 000000000000..c560022b6db4 --- /dev/null +++ b/app-vim/gentoo-syntax/gentoo-syntax-9.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 +} |