summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2020-05-06 22:45:09 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-05-06 22:45:15 -0700
commitb04fe1156d3f4ebb164a64eb7e2e2051b9c68c26 (patch)
tree97b4d080ca5ce8326cb00904f3d2b88695c0475e /app-vim
parentdev-perl/CGI-Fast: Bump to version 2.150.0 (diff)
downloadgentoo-b04fe1156d3f4ebb164a64eb7e2e2051b9c68c26.tar.gz
gentoo-b04fe1156d3f4ebb164a64eb7e2e2051b9c68c26.tar.bz2
gentoo-b04fe1156d3f4ebb164a64eb7e2e2051b9c68c26.zip
app-vim/vim-clang-format: new package
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-vim')
-rw-r--r--app-vim/vim-clang-format/Manifest1
-rw-r--r--app-vim/vim-clang-format/metadata.xml8
-rw-r--r--app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild25
3 files changed, 34 insertions, 0 deletions
diff --git a/app-vim/vim-clang-format/Manifest b/app-vim/vim-clang-format/Manifest
new file mode 100644
index 00000000000..80478ac92c1
--- /dev/null
+++ b/app-vim/vim-clang-format/Manifest
@@ -0,0 +1 @@
+DIST vim-clang-format-0_pre20200506.tar.gz 12836 BLAKE2B be6882788c4ea582f2fbabfe3fdbd4184ab407b09b8c68177539999620413919f074bef72a52ae0cfddd58d85d9f716c36bc8593b1b745d47887dbfbd599aa63 SHA512 5bf2f9082ef64953122e87659fbafae5af4cd7e2fda1ed5bcee52ed49a3727dae0dc3bc3ab172ac4200f93421898d6cbf26def019ac33d77ca4cc67c2da37846
diff --git a/app-vim/vim-clang-format/metadata.xml b/app-vim/vim-clang-format/metadata.xml
new file mode 100644
index 00000000000..cee379b1540
--- /dev/null
+++ b/app-vim/vim-clang-format/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild b/app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild
new file mode 100644
index 00000000000..3a12f0b1706
--- /dev/null
+++ b/app-vim/vim-clang-format/vim-clang-format-0_pre20200506.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#VIM_PLUGIN_VIM_VERSION="7.0"
+inherit vim-plugin
+
+COMMIT_HASH="95593b67723f23979cd7344ecfd049f2f917830f"
+DESCRIPTION="Vim plugin for clang-format"
+HOMEPAGE="https://github.com/rhysd/vim-clang-format"
+SRC_URI="https://github.com/rhysd/${PN}/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT_HASH}"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="sys-devel/clang"
+
+src_prepare() {
+ default
+
+ # tests are written in ruby, prefer to avoid that
+ rm -r .travis.yml test || die
+}