1 |
commit: 8b55ca4738e0eddea0f12b1faefb673fa4b5f4be |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 00:50:40 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 00:50:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b55ca47 |
7 |
|
8 |
app-vim/vimoutliner: Remove old (py3.6) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../files/vimoutliner-0.3.6-fix-shebangs.patch | 21 --------- |
13 |
app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild | 51 ---------------------- |
14 |
2 files changed, 72 deletions(-) |
15 |
|
16 |
diff --git a/app-vim/vimoutliner/files/vimoutliner-0.3.6-fix-shebangs.patch b/app-vim/vimoutliner/files/vimoutliner-0.3.6-fix-shebangs.patch |
17 |
deleted file mode 100644 |
18 |
index a363d96b34f..00000000000 |
19 |
--- a/app-vim/vimoutliner/files/vimoutliner-0.3.6-fix-shebangs.patch |
20 |
+++ /dev/null |
21 |
@@ -1,21 +0,0 @@ |
22 |
---- a/vimoutliner/scripts/outline_freemind/outline_freemind.py 2017-08-24 21:20:25.138762046 +0000 |
23 |
-+++ b/vimoutliner/scripts/outline_freemind/outline_freemind.py 2017-08-24 21:20:34.484797791 +0000 |
24 |
-@@ -1,3 +1,4 @@ |
25 |
-+#!/usr/bin/python |
26 |
- '''Read in an otl file and generate an xml mind map viewable in freemind |
27 |
- |
28 |
- Make sure that you check that round trip on your file works. |
29 |
---- a/vimoutliner/scripts/outline_freemind/otl.py 2017-08-24 21:23:08.194385573 +0000 |
30 |
-+++ b/vimoutliner/scripts/outline_freemind/otl.py 2017-08-24 21:23:14.756410662 +0000 |
31 |
-@@ -1,3 +1,4 @@ |
32 |
-+#!/usr/bin/python |
33 |
- # Some integer IDs |
34 |
- # headings are 1, 2, 3, .... |
35 |
- bodynowrap = -1 # ; |
36 |
---- a/vimoutliner/scripts/outline_freemind/freemind_outline.py 2017-08-25 08:07:01.985459421 +0000 |
37 |
-+++ b/vimoutliner/scripts/outline_freemind/freemind_outline.py 2017-08-25 08:07:11.244502161 +0000 |
38 |
-@@ -1,3 +1,4 @@ |
39 |
-+#!/usr/bin/python |
40 |
- '''Converts a freemind xml .mm file to an outline file compatable with vim |
41 |
- outliner. |
42 |
- |
43 |
|
44 |
diff --git a/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild b/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild |
45 |
deleted file mode 100644 |
46 |
index 4bea6a6dc88..00000000000 |
47 |
--- a/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild |
48 |
+++ /dev/null |
49 |
@@ -1,51 +0,0 @@ |
50 |
-# Copyright 1999-2020 Gentoo Authors |
51 |
-# Distributed under the terms of the GNU General Public License v2 |
52 |
- |
53 |
-EAPI=6 |
54 |
- |
55 |
-PYTHON_COMPAT=( python3_6 ) |
56 |
- |
57 |
-inherit vim-plugin python-single-r1 |
58 |
- |
59 |
-DESCRIPTION="vim plugin: easy and fast outlining" |
60 |
-HOMEPAGE="https://github.com/vimoutliner/vimoutliner" |
61 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
62 |
-LICENSE="GPL-2" |
63 |
-KEYWORDS="~amd64 ~x86" |
64 |
- |
65 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
66 |
- |
67 |
-VIM_PLUGIN_HELPFILES="vimoutliner" |
68 |
-VIM_PLUGIN_MESSAGES="filetype" |
69 |
- |
70 |
-PATCHES=( "${FILESDIR}/${P}-fix-shebangs.patch" ) |
71 |
- |
72 |
-RDEPEND="${PYTHON_DEPS} |
73 |
- $(python_gen_cond_dep ' |
74 |
- dev-python/autopep8[${PYTHON_MULTI_USEDEP}] |
75 |
- ')" |
76 |
- |
77 |
-pkg_setup() { |
78 |
- python-single-r1_pkg_setup |
79 |
-} |
80 |
- |
81 |
-src_prepare() { |
82 |
- default |
83 |
- sed -i -e '/^if exists/,/endif/d' ftdetect/vo_base.vim || die |
84 |
- sed -i -e 's/g:vo_modules2load/g:vo_modules_load/' vimoutliner/vimoutlinerrc || die |
85 |
- rm -v install.sh || die |
86 |
- find "${S}" -type f -exec chmod a+r {} \; || die |
87 |
-} |
88 |
- |
89 |
-src_compile() { |
90 |
- local pyscript _pyscript |
91 |
- for pyscript in $(find "${S}" -type f -name \*.py); do |
92 |
- _pyscript=$(basename "${pyscript}") |
93 |
- einfo "Processing ${_pyscript}" |
94 |
- sed -i -e 's#[ \t]*$##g;' "${pyscript}" || die |
95 |
- 2to3 --no-diffs -w -n "${pyscript}" 2> /dev/null || die |
96 |
- autopep8 -i "${pyscript}" || die |
97 |
- python_fix_shebang -q "${pyscript}" || die |
98 |
- eend $? |
99 |
- done |
100 |
-} |