diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-vim/vimoutliner | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-vim/vimoutliner')
-rw-r--r-- | app-vim/vimoutliner/Manifest | 7 | ||||
-rw-r--r-- | app-vim/vimoutliner/files/vimoutliner-0.3.6-fix-shebangs.patch | 21 | ||||
-rw-r--r-- | app-vim/vimoutliner/metadata.xml | 11 | ||||
-rw-r--r-- | app-vim/vimoutliner/vimoutliner-0.3.6-r1.ebuild | 48 | ||||
-rw-r--r-- | app-vim/vimoutliner/vimoutliner-0.3.6.ebuild | 23 | ||||
-rw-r--r-- | app-vim/vimoutliner/vimoutliner-0.4.0_p20180301.ebuild | 42 |
6 files changed, 152 insertions, 0 deletions
diff --git a/app-vim/vimoutliner/Manifest b/app-vim/vimoutliner/Manifest new file mode 100644 index 000000000000..ff43fa0cf88c --- /dev/null +++ b/app-vim/vimoutliner/Manifest @@ -0,0 +1,7 @@ +AUX vimoutliner-0.3.6-fix-shebangs.patch 972 BLAKE2B 2b747133ecc49f4654131bbb963ac23ae291d186cfed97e944fd5e757cbe3288e5dafc243f4caea2acbeb56c27e92d257565a84fbcc8a4900a6287056e8e38bf SHA512 44bb6760c11a21ab817141cae5817cc4d5b88a5c94ca4e30238d9e009f080d5ae98522dcde910d5352090e7bf998ad47fa658a56bb16bb50ca905b14e5d2df2b +DIST vimoutliner-0.3.6.zip 249053 BLAKE2B 329fbf73423291598a104881299200153c6d98cf75f3884c690879dc3460c4190c09eefec55415589f16a426ee76911a8ee7761a158d76b9e84360f5fadb83eb SHA512 20d348ff1b1b9572956fdc56b75e742b25b7deac2637fa6972a1e451edc1f679d8255847a291b84c80866a9ad8a37421524b8eb33565a1bb32ff2b75d0b68dde +DIST vimoutliner-0.4.0_p20180301.tar.gz 367361 BLAKE2B a97df5c154e6ed9b3209bd90bd57b4166877f02b9513351fda0e841de84334a1e592e1ed56b46cc59bc6bb64f3c763cdca81df3f8696f3c348a8ef4744124c02 SHA512 f9f369e7e7f09dac04b58a27a86dc2121b3aacd0002537db348517e779fd1b7c9e88ae905b4b42aace10f79cb8f91acada1ad58e26f2257e46d1af98347eab62 +EBUILD vimoutliner-0.3.6-r1.ebuild 1271 BLAKE2B 5c96a349d8b94b4e5fa80e5c1acf9c4b60d8ff70a353b2a0099a16f09555147db386b339b47d1db18e9bbf2eea869ac49a2bbb2cee2ffa6fadc7c143192337d3 SHA512 e31218e7927c424c9964412beaceb797383e38b2f114ca9732edc269f414b1b90d1e28c8e5fd00992b1871e22b3c079ceeedd67e39ff71fd0c6983d7d2f258c1 +EBUILD vimoutliner-0.3.6.ebuild 694 BLAKE2B 7e0c7ddda16ac846fe5794192e6d24eafa25b8910b5fe259568c8ff7dc92117d8711fa61364abf0be8008e7c0a42e2726eb70a26e5d38eff8e09bff6de35cd90 SHA512 61b12471b3bdf1ff68ea13260c73d12df79e4a2d704758f40ebc276bb3e051c4681bf66af07b636452d28a52f0bb4168f5360e4d2deed19aaf025924ae2aacc4 +EBUILD vimoutliner-0.4.0_p20180301.ebuild 1056 BLAKE2B fe31bb24b29306a003e36030daeab78f0c1ae4501145f5a00a70b9d12bfc63601638dbc293ed2380aadbd40836244dfb2202e7738fc3512cb1bacfe532860934 SHA512 b753d9c8b73d9a1ffe21780b9d80bd76a222b1baa4c3a795f7e5ae97efa2e0a114faece37981c41ad2a842b0ec73b6fe6f55f1d015068467d6421e467be982ce +MISC metadata.xml 337 BLAKE2B c4ae899109190b6ad14fcc71ff0dbea76f7ab6b731992174b4623847291d63bb8cbdc7e73cd92343beafdba086e0b54c4cda686593ef8b836f8add578b0459d0 SHA512 782f682a6837436ee5db28f818b2168035fbae243aa466077053e17842fec96672d702b818ad28a9f1d0b8fa1a1e2fb79b056d2e31bc09d5bf522d5f18ea1c7b 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 +} diff --git a/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301.ebuild b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301.ebuild new file mode 100644 index 000000000000..693542279762 --- /dev/null +++ b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 vim-plugin vcs-snapshot + +# Commit Date: 1 Mar 2018 +COMMIT="4f12628247940d98eedd594961695dc504261058" + +DESCRIPTION="Vim plugin for easy and fast outlining" +HOMEPAGE="https://github.com/vimoutliner/vimoutliner" +SRC_URI="https://github.com/vimoutliner/vimoutliner/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +VIM_PLUGIN_HELPFILES="vimoutliner" +VIM_PLUGIN_MESSAGES="filetype" + +RDEPEND="dev-python/autopep8" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + sed -i -e '1s:^:#!/usr/bin/python\n:' vimoutliner/scripts/otl2latex/otl2latex.py + 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}") + [ ${_pyscript} == "otl.py" ] && continue + python_fix_shebang -q "${pyscript}" + done +} |