1 |
commit: 6521ac46f68e01a6b3d1714c716b643092a24f61 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 30 21:29:13 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 30 21:29:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6521ac46 |
7 |
|
8 |
app-vim/vimoutliner: version bump. |
9 |
|
10 |
Courtesy of Ștefan Talpalaru <stefantalpalaru <AT> yahoo.com>. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/372385 |
13 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
14 |
|
15 |
app-vim/vimoutliner/Manifest | 1 + |
16 |
.../vimoutliner/vimoutliner-0.4.0_p20180301.ebuild | 42 ++++++++++++++++++++++ |
17 |
2 files changed, 43 insertions(+) |
18 |
|
19 |
diff --git a/app-vim/vimoutliner/Manifest b/app-vim/vimoutliner/Manifest |
20 |
index 84b8891b7dd..e8ded346cee 100644 |
21 |
--- a/app-vim/vimoutliner/Manifest |
22 |
+++ b/app-vim/vimoutliner/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST vimoutliner-0.3.6.zip 249053 BLAKE2B 329fbf73423291598a104881299200153c6d98cf75f3884c690879dc3460c4190c09eefec55415589f16a426ee76911a8ee7761a158d76b9e84360f5fadb83eb SHA512 20d348ff1b1b9572956fdc56b75e742b25b7deac2637fa6972a1e451edc1f679d8255847a291b84c80866a9ad8a37421524b8eb33565a1bb32ff2b75d0b68dde |
25 |
+DIST vimoutliner-0.4.0_p20180301.tar.gz 367361 BLAKE2B a97df5c154e6ed9b3209bd90bd57b4166877f02b9513351fda0e841de84334a1e592e1ed56b46cc59bc6bb64f3c763cdca81df3f8696f3c348a8ef4744124c02 SHA512 f9f369e7e7f09dac04b58a27a86dc2121b3aacd0002537db348517e779fd1b7c9e88ae905b4b42aace10f79cb8f91acada1ad58e26f2257e46d1af98347eab62 |
26 |
|
27 |
diff --git a/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301.ebuild b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..69354227976 |
30 |
--- /dev/null |
31 |
+++ b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301.ebuild |
32 |
@@ -0,0 +1,42 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+inherit python-single-r1 vim-plugin vcs-snapshot |
41 |
+ |
42 |
+# Commit Date: 1 Mar 2018 |
43 |
+COMMIT="4f12628247940d98eedd594961695dc504261058" |
44 |
+ |
45 |
+DESCRIPTION="Vim plugin for easy and fast outlining" |
46 |
+HOMEPAGE="https://github.com/vimoutliner/vimoutliner" |
47 |
+SRC_URI="https://github.com/vimoutliner/vimoutliner/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
53 |
+ |
54 |
+VIM_PLUGIN_HELPFILES="vimoutliner" |
55 |
+VIM_PLUGIN_MESSAGES="filetype" |
56 |
+ |
57 |
+RDEPEND="dev-python/autopep8" |
58 |
+DEPEND="${RDEPEND}" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ |
63 |
+ sed -i -e '1s:^:#!/usr/bin/python\n:' vimoutliner/scripts/otl2latex/otl2latex.py |
64 |
+ find "${S}" -type f -exec chmod a+r {} \; || die |
65 |
+} |
66 |
+ |
67 |
+src_compile() { |
68 |
+ local pyscript _pyscript |
69 |
+ for pyscript in $(find "${S}" -type f -name \*.py); do |
70 |
+ _pyscript=$(basename "${pyscript}") |
71 |
+ [ ${_pyscript} == "otl.py" ] && continue |
72 |
+ python_fix_shebang -q "${pyscript}" |
73 |
+ done |
74 |
+} |