summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2016-11-08 11:06:22 -0800
committerPatrick McLean <chutzpah@gentoo.org>2016-11-08 11:06:22 -0800
commit0203c9584c1a1f8295f8525672928287f6f23b93 (patch)
treed909c0c5da3cde342faf2831e606f7c1d5ac6ed9 /app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild
parentapp-shells/fish: Removed old. (diff)
downloadgentoo-0203c9584c1a1f8295f8525672928287f6f23b93.tar.gz
gentoo-0203c9584c1a1f8295f8525672928287f6f23b93.tar.bz2
gentoo-0203c9584c1a1f8295f8525672928287f6f23b93.zip
app-vim/editorconfig-vim: Revision bump, pull in some fixes from upstream git
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild')
-rw-r--r--app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild b/app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild
new file mode 100644
index 000000000000..f2fd4fe05fe7
--- /dev/null
+++ b/app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=(python2_7 python3_4 python3_5)
+inherit python-r1 vim-plugin
+
+DESCRIPTION="vim plugin: Support EditorConfig files "
+HOMEPAGE="http://editorconfig.org/"
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="https://github.com/${PN%-vim}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+DEPEND="dev-python/editorconfig-core-py[${PYTHON_USEDEP}]
+ || (
+ app-editors/vim[python,${PYTHON_USEDEP}]
+ app-editors/gvim[python,${PYTHON_USEDEP}]
+)"
+
+PATCHES=(
+ "${FILESDIR}/${P}-python3.patch"
+ "${FILESDIR}/${P}-max-line-length-off.patch"
+ "${FILESDIR}/${P}-fixes.patch"
+)
+
+VIM_PLUGIN_HELPFILES="${PN%-vim}.txt"
+
+src_prepare() {
+ default
+
+ rm LICENSE mkzip.sh .editorconfig .gitignore .travis.yml || die
+ rm -r tests plugin/${PN%-vim}-core-py || die
+}