summaryrefslogtreecommitdiff
path: root/app-vim/vimoutliner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-vim/vimoutliner
reinit the tree, so we can have metadata
Diffstat (limited to 'app-vim/vimoutliner')
-rw-r--r--app-vim/vimoutliner/Manifest7
-rw-r--r--app-vim/vimoutliner/files/vimoutliner-0.3.6-fix-shebangs.patch21
-rw-r--r--app-vim/vimoutliner/metadata.xml11
-rw-r--r--app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild48
-rw-r--r--app-vim/vimoutliner/vimoutliner-0.3.6.ebuild23
5 files changed, 110 insertions, 0 deletions
diff --git a/app-vim/vimoutliner/Manifest b/app-vim/vimoutliner/Manifest
new file mode 100644
index 000000000000..51b54fad990a
--- /dev/null
+++ b/app-vim/vimoutliner/Manifest
@@ -0,0 +1,7 @@
+AUX vimoutliner-0.3.6-fix-shebangs.patch 972 SHA256 a40b288da6b1227b31b01c244ceff2761d7f628e8b676f7b5591b413ced049f5 SHA512 44bb6760c11a21ab817141cae5817cc4d5b88a5c94ca4e30238d9e009f080d5ae98522dcde910d5352090e7bf998ad47fa658a56bb16bb50ca905b14e5d2df2b WHIRLPOOL 76533cdad24507cf14954927c0f518b72978b7fc127a4b2d5d1dc75be687ff0ce7621b74e2a0c36c4d60eb8617d5cb3826e6a15cab566eb37d4a6655f00bc11d
+DIST vimoutliner-0.3.6.zip 249053 SHA256 54db454651152a3bd88da37b210259fb369c6a44e74824d2085a8e8ea8969c1d SHA512 20d348ff1b1b9572956fdc56b75e742b25b7deac2637fa6972a1e451edc1f679d8255847a291b84c80866a9ad8a37421524b8eb33565a1bb32ff2b75d0b68dde WHIRLPOOL 87c86930f02162e4819e8ef2feccbbbdfd31629fda9665a6ae64698b89d26663e989238ee9d1e8c360986a05c813807a2906cbe4fd9eb5f422e7b6e79723686b
+EBUILD vimoutliner-0.3.6-r1.ebuild 1271 SHA256 971599cf43c0cb9f9b560ffbc790fc2a9b87c39432e7c55d20dd51af57d56f10 SHA512 e31218e7927c424c9964412beaceb797383e38b2f114ca9732edc269f414b1b90d1e28c8e5fd00992b1871e22b3c079ceeedd67e39ff71fd0c6983d7d2f258c1 WHIRLPOOL 80ed916f164a3be8820bdc56e16a3db68bd26c7617e8b63a029b106b94800f3d327f7ab2bc06f0f7b9c59f908338826ac3e3e6e7c67f9bb85297b12f41fed50d
+EBUILD vimoutliner-0.3.6.ebuild 694 SHA256 8d1199e5bf75d2c203e47b61573505f0b18cd0329d9bd0d79329db3cf36185f2 SHA512 61b12471b3bdf1ff68ea13260c73d12df79e4a2d704758f40ebc276bb3e051c4681bf66af07b636452d28a52f0bb4168f5360e4d2deed19aaf025924ae2aacc4 WHIRLPOOL 3f68d662602b84b91ccde58f7f21ec6ec4aa6ab8540fa6e5acb2e25770b11be72be296af583fa06783826c9c1cc1822504e6dac6cf33f8e2fdf5ea5dfc7ba527
+MISC ChangeLog 2626 SHA256 9c02f844fdd1957954f98951070512db37187241f29723a0c3f73b130994455c SHA512 11e09df3af1e1574039c4ba0930899f4fa8e10c916d165eeb3dc48321d647c60eca538e8c3a45689cfe0acc341c1977b67f2c52ae38a79ba96d33d6d69b18af6 WHIRLPOOL c94c082a4d0ec008236252825b9f855c8b7a49b268dd901b145d198706feb0177e8f4b3556cdb3fd314b79d763d91d5c367db418766583006d8a9177c8d63e0a
+MISC ChangeLog-2015 3017 SHA256 ec10d10a2b30122b36ff9221ee80e43daeb8892efd027253075d5e4caa8c9117 SHA512 1df756fe3d03d19a0c7a23d94a2b1e843681dc88ad5f1d9cde1212ad0c89679f8f6c24c6fadff6d80d62ea0197bbf7cc63628729a0d20916098a506770c73307 WHIRLPOOL bdf9dcab992c82abd83858327469d9c23cf1a01b34ca3262c28df37b38d1f665747b5b7e0ae02223ff76b3f0de1923aae0bd3b93140a1f37f0dfb38b95d0922d
+MISC metadata.xml 337 SHA256 998cfda49b12bb0984ed3d32f50c96d2a6ceb7f2d02e736faaeb91d25735d0ec SHA512 782f682a6837436ee5db28f818b2168035fbae243aa466077053e17842fec96672d702b818ad28a9f1d0b8fa1a1e2fb79b056d2e31bc09d5bf522d5f18ea1c7b WHIRLPOOL 98a70910cefc68814923094408c67e1ef95658b982166a7aca8304602dfe46254f85fc2dc1eba9142d8990e96c4b38c85aae786afdcb397ebf41b2b5ac5faa4d
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
new file mode 100644
index 000000000000..a363d96b34f6
--- /dev/null
+++ b/app-vim/vimoutliner/files/vimoutliner-0.3.6-fix-shebangs.patch
@@ -0,0 +1,21 @@
+--- a/vimoutliner/scripts/outline_freemind/outline_freemind.py 2017-08-24 21:20:25.138762046 +0000
++++ b/vimoutliner/scripts/outline_freemind/outline_freemind.py 2017-08-24 21:20:34.484797791 +0000
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ '''Read in an otl file and generate an xml mind map viewable in freemind
+
+ Make sure that you check that round trip on your file works.
+--- a/vimoutliner/scripts/outline_freemind/otl.py 2017-08-24 21:23:08.194385573 +0000
++++ b/vimoutliner/scripts/outline_freemind/otl.py 2017-08-24 21:23:14.756410662 +0000
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ # Some integer IDs
+ # headings are 1, 2, 3, ....
+ bodynowrap = -1 # ;
+--- a/vimoutliner/scripts/outline_freemind/freemind_outline.py 2017-08-25 08:07:01.985459421 +0000
++++ b/vimoutliner/scripts/outline_freemind/freemind_outline.py 2017-08-25 08:07:11.244502161 +0000
+@@ -1,3 +1,4 @@
++#!/usr/bin/python
+ '''Converts a freemind xml .mm file to an outline file compatable with vim
+ outliner.
+
diff --git a/app-vim/vimoutliner/metadata.xml b/app-vim/vimoutliner/metadata.xml
new file mode 100644
index 000000000000..8472d599577a
--- /dev/null
+++ b/app-vim/vimoutliner/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vim@gentoo.org</email>
+ <name>Gentoo Vim Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">vimoutliner/vimoutliner</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild b/app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild
new file mode 100644
index 000000000000..d639684e4902
--- /dev/null
+++ b/app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit vim-plugin python-single-r1
+
+DESCRIPTION="vim plugin: easy and fast outlining"
+HOMEPAGE="https://github.com/vimoutliner/vimoutliner"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+VIM_PLUGIN_HELPFILES="vimoutliner"
+VIM_PLUGIN_MESSAGES="filetype"
+
+PATCHES=( "${FILESDIR}/${P}-fix-shebangs.patch" )
+
+RDEPEND="dev-python/autopep8"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ sed -i -e '/^if exists/,/endif/d' ftdetect/vo_base.vim || die
+ sed -i -e 's/g:vo_modules2load/g:vo_modules_load/' vimoutliner/vimoutlinerrc || die
+ rm -v install.sh || die
+ find "${S}" -type f -exec chmod a+r {} \; || die
+}
+
+src_compile() {
+ local pyscript _pyscript
+ for pyscript in $(find "${S}" -type f -name \*.py); do
+ _pyscript=$(basename "${pyscript}")
+ einfo "Processing ${_pyscript}"
+ sed -i -e 's#[ \t]*$##g;' "${pyscript}" || die
+ 2to3 --no-diffs -w -n "${pyscript}" 2> /dev/null || die
+ autopep8 -i "${pyscript}" || die
+ python_fix_shebang -q "${pyscript}" || die
+ eend $?
+ done
+}
diff --git a/app-vim/vimoutliner/vimoutliner-0.3.6.ebuild b/app-vim/vimoutliner/vimoutliner-0.3.6.ebuild
new file mode 100644
index 000000000000..36ebfb95a0a7
--- /dev/null
+++ b/app-vim/vimoutliner/vimoutliner-0.3.6.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vim-plugin
+
+DESCRIPTION="vim plugin: easy and fast outlining"
+HOMEPAGE="https://github.com/vimoutliner/vimoutliner"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip -> ${P}.zip"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
+
+VIM_PLUGIN_HELPFILES="vimoutliner"
+VIM_PLUGIN_MESSAGES="filetype"
+
+src_prepare() {
+ default
+ sed -i -e '/^if exists/,/endif/d' ftdetect/vo_base.vim || die
+ sed -i -e 's/g:vo_modules2load/g:vo_modules_load/' vimoutliner/vimoutlinerrc || die
+ rm -v install.sh || die
+ find "${S}" -type f -exec chmod a+r {} \; || die
+}