1 |
commit: a32306a0025d4fc7036b59dd88c34a62af372ebb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 08:11:02 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 08:16:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32306a0 |
7 |
|
8 |
app-vim/gentoo-syntax: Bump to 20191127 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-vim/gentoo-syntax/Manifest | 1 + |
13 |
.../gentoo-syntax/gentoo-syntax-20191127.ebuild | 42 ++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/app-vim/gentoo-syntax/Manifest b/app-vim/gentoo-syntax/Manifest |
17 |
index 6c8121ed5eb..9529453f751 100644 |
18 |
--- a/app-vim/gentoo-syntax/Manifest |
19 |
+++ b/app-vim/gentoo-syntax/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gentoo-syntax-20190609.tar.bz2 18401 BLAKE2B db738540fc85d8edd0269ade33e174db08b9231237f1138da9a3f6ecff7c188a041b312975629be652a5384d0c914ad8d7a3ac5ef14670e4bc0859fbdf3dcbc7 SHA512 70fbf6e37eee2e5b007eb59b76492f41046884a8310a6074ca5fbab666ec74d46ab3e57bbf2ae784db2e17bfd1c4801b18b71cf37f746e02ff640de1f6821ec7 |
22 |
+DIST gentoo-syntax-20191127.tar.bz2 18635 BLAKE2B 79db829602df5795e32c44db71e28cfcda06ef014e9d5e5cf47d6f7fcb0b054c46caef1bb594c4fceae318df8a8cd0c6a619771ae5438eb21deed530842ce53d SHA512 654b69cf55719b9c254c376364f404c393189ec70d7b8a9284349774e00118fb636dbfefa86eb57220a49a5a7324e9f0484879d69afb199bb1c8ae7f0b5e591e |
23 |
|
24 |
diff --git a/app-vim/gentoo-syntax/gentoo-syntax-20191127.ebuild b/app-vim/gentoo-syntax/gentoo-syntax-20191127.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..9ab8c1f3838 |
27 |
--- /dev/null |
28 |
+++ b/app-vim/gentoo-syntax/gentoo-syntax-20191127.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2019 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit vim-plugin |
36 |
+ |
37 |
+DESCRIPTION="vim plugin: Gentoo and Portage syntax highlighting" |
38 |
+HOMEPAGE="https://github.com/gentoo/gentoo-syntax" |
39 |
+SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="vim" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
44 |
+IUSE="ignore-glep31" |
45 |
+ |
46 |
+VIM_PLUGIN_HELPFILES="gentoo-syntax" |
47 |
+VIM_PLUGIN_MESSAGES="filetype" |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ default |
51 |
+ if use ignore-glep31 ; then |
52 |
+ for f in ftplugin/*.vim ; do |
53 |
+ ebegin "Removing UTF-8 rules from ${f} ..." |
54 |
+ sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \ |
55 |
+ || die "waah! bad sed voodoo. need more goats." |
56 |
+ eend $? |
57 |
+ done |
58 |
+ fi |
59 |
+} |
60 |
+ |
61 |
+pkg_postinst() { |
62 |
+ vim-plugin_pkg_postinst |
63 |
+ |
64 |
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then |
65 |
+ if use ignore-glep31 1>/dev/null ; then |
66 |
+ ewarn "You have chosen to disable the rules which ensure GLEP 31" |
67 |
+ ewarn "compliance. When editing ebuilds, please make sure you get" |
68 |
+ ewarn "the character set correct." |
69 |
+ fi |
70 |
+ fi |
71 |
+} |