1 |
commit: 3edbfea01655be5799727cc08afb81d487ab17a4 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 7 02:40:00 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 7 02:44:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3edbfea0 |
7 |
|
8 |
app-vim/lustyexplorer: add 5.0 |
9 |
|
10 |
Going through some app-vim/* bump bugs given upstream seem to be deprecating |
11 |
and removing some old functionality, this is needed to keep things working. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/827948 |
14 |
Thanks-to: <hoelbezier <AT> riseup.net> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
app-vim/lustyexplorer/Manifest | 1 + |
18 |
app-vim/lustyexplorer/lustyexplorer-5.0.ebuild | 37 ++++++++++++++++++++++++++ |
19 |
2 files changed, 38 insertions(+) |
20 |
|
21 |
diff --git a/app-vim/lustyexplorer/Manifest b/app-vim/lustyexplorer/Manifest |
22 |
index 2e8f3daaf9eb..3662898fd4e9 100644 |
23 |
--- a/app-vim/lustyexplorer/Manifest |
24 |
+++ b/app-vim/lustyexplorer/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
+DIST lusty-explorer-5.0.zip 21036 BLAKE2B 6f9918242b5a12a2fd58017c54f10489113b21858e1522e0ff74a7cca41045c08144cb7b69bef2aa5e67998d74bb8472d547421cb737d2fdf79ec1ce4c51db9d SHA512 42aa2dea2d96c88cf65891a08a798c185849695c49663260fd133c34b63311d1db9073d3db2d6e4d1fd6907fdd4cf89335dacb0a5bbaa994924751f5a1be66cf |
27 |
DIST lustyexplorer-4.3.tar.bz2 17373 BLAKE2B 643eb4c7573932fa63030766670d7c398e307b72e08e93e53e31b7f21086a80196c8d4d7811032b8b945306fcdc7d86d59eb6b48ce0b79f38e628d6b4bec7519 SHA512 24ffa1fe5c1698dfa6093c7cfed2f08540ce130258df5e8ec135356ecea4c1f607f11e643ab859f551e63ecbbf6fc8a615a9514e1d4798b752cc97146c29c661 |
28 |
|
29 |
diff --git a/app-vim/lustyexplorer/lustyexplorer-5.0.ebuild b/app-vim/lustyexplorer/lustyexplorer-5.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..c2f6ad8affa6 |
32 |
--- /dev/null |
33 |
+++ b/app-vim/lustyexplorer/lustyexplorer-5.0.ebuild |
34 |
@@ -0,0 +1,37 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit vim-plugin |
41 |
+ |
42 |
+MY_PN="lusty-explorer" |
43 |
+MY_P="${MY_PN}-${PV}" |
44 |
+ |
45 |
+DESCRIPTION="vim plugin: dynamic filesystem and buffer explorer" |
46 |
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1890" |
47 |
+SRC_URI="https://www.vim.org/scripts/download_script.php?src_id=26146 -> ${MY_P}.zip" |
48 |
+S="${WORKDIR}/${MY_P}" |
49 |
+ |
50 |
+LICENSE="bufexplorer.vim" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+ |
53 |
+VIM_PLUGIN_HELPFILES="lusty-explorer.txt" |
54 |
+ |
55 |
+BDEPEND="app-arch/unzip" |
56 |
+RDEPEND="|| ( |
57 |
+ app-editors/vim[ruby] |
58 |
+ app-editors/gvim[ruby] |
59 |
+)" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ # There's good documentation included with the script, but it's not |
65 |
+ # in a helpfile. Since there's rather too much information to include |
66 |
+ # in a VIM_PLUGIN_HELPTEXT, we'll sed ourselves a help doc. |
67 |
+ mkdir "${S}"/doc || die |
68 |
+ sed -e '0,/"$/d' -e '/" GetLatest.\+$/,9999d' -e 's/^" \?//' \ |
69 |
+ -e "s/\(Name Of File: \)\([^.]\+\)\.vim/\1*\2.txt*/" \ |
70 |
+ plugin/lusty-explorer.vim > doc/lusty-explorer.txt |
71 |
+} |