From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/dev-zero:master commit in: app-vim/clang_complete/, app-vim/clang_complete/files/
Date: Mon, 8 Apr 2013 08:32:54 +0000 (UTC) [thread overview]
Message-ID: <1363593239.a82c515a8ca81e1146dc38bbb0b3a344613e6cb9.dev-zero@gentoo> (raw)
commit: a82c515a8ca81e1146dc38bbb0b3a344613e6cb9
Author: Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Mon Mar 18 07:53:59 2013 +0000
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 07:53:59 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=a82c515a
Patch not needed anymore. Converted to modern python eclass.
---
app-vim/clang_complete/Manifest | 3 +-
app-vim/clang_complete/clang_complete-scm.ebuild | 16 +++++-----
.../files/make-cache-path-configureable.patch | 31 --------------------
3 files changed, 9 insertions(+), 41 deletions(-)
diff --git a/app-vim/clang_complete/Manifest b/app-vim/clang_complete/Manifest
index 9c4c98f..7848463 100644
--- a/app-vim/clang_complete/Manifest
+++ b/app-vim/clang_complete/Manifest
@@ -1,2 +1 @@
-AUX make-cache-path-configureable.patch 978 SHA256 1e98f70e6bc5b9f91fc7533cb4c70c54d64ae382ad1a58755856430a3df10eb5 SHA512 e42dc33a6ed70311f1f2ff4e33eadf4d712b267c8086fbdeb878d3ec5921ff77887003bd605568445cba266d4c6a7a9528d8d27483fefc8fc1bded85c8e8dd89 WHIRLPOOL 8f99b8714941f79244c7a51aa3c8b2a6d72dd32de395c3fe4c2e18d7ee3de20587e5b849be4d70b90f122e15506baa97948dcc117fda4db71769a4529e0421a4
-EBUILD clang_complete-scm.ebuild 667 SHA256 b1f82b4b9763e0a38e18519eb514b829158829c31eda6a922ddabc13a9ee145d SHA512 58857310519f6d0873f4fb7fac459a730d587ca570454bb86f4c69ad4f1daab18621d82140659cf77809fe2c557454189505ed7eb2d7bbfe1995a5a760601161 WHIRLPOOL 97fe6012b3a1fa8444939043f322e668e5d52a693f09d9ba8e3028d4b17935d5ad91dca611f90e36cbae6ed4b949fda464170eaddf897ec1ab8ae27048a13548
+EBUILD clang_complete-scm.ebuild 680 SHA256 ffee9e8acdbf2d7dc132ff8bbca1d690e56d8af9c99b1cfac493b6414d7ca8d3 SHA512 1c94e96b53a0e255f617c9f420597acad53c40cc11785162185ab8f5d21543c190ccce65a817c1cd0747bb697c0e8431335b82b5f30eea6932c516f5ed5e1fc0 WHIRLPOOL 73ae9193723992f6537984bcd7eb9a33aef7d19e777aea38602f293b71aa2442fa5f14c7f8242c074909109c19a18649fb50452856c1e7cdda190389ea4a5199
diff --git a/app-vim/clang_complete/clang_complete-scm.ebuild b/app-vim/clang_complete/clang_complete-scm.ebuild
index bd82289..5ed1a29 100644
--- a/app-vim/clang_complete/clang_complete-scm.ebuild
+++ b/app-vim/clang_complete/clang_complete-scm.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
VIM_PLUGIN_VIM_VERSION="7.0"
-PYTHON_DEPEND=2
+PYTHON_COMPAT=( python{2_7,3_2} )
-inherit eutils git-2 python vim-plugin
+inherit git-2 python-single-r1 vim-plugin
DESCRIPTION="vim plugin: use clang for completing C/C++ code."
HOMEPAGE="https://github.com/Rip-Rip/clang_complete"
@@ -18,13 +18,13 @@ LICENSE="GPL-3"
KEYWORDS="~amd64"
IUSE=""
-RDEPEND="sys-devel/clang"
+RDEPEND="sys-devel/clang
+ app-editors/vim[python]"
VIM_PLUGIN_HELPFILES="clang_complete"
src_prepare() {
- epatch \
- "${FILESDIR}/make-cache-path-configureable.patch"
+ # no need to the build the vimball
rm -r examples Makefile .git*
- python_convert_shebangs 2 bin/cc_args.py
+ python_fix_shebang bin/cc_args.py
}
diff --git a/app-vim/clang_complete/files/make-cache-path-configureable.patch b/app-vim/clang_complete/files/make-cache-path-configureable.patch
deleted file mode 100644
index 7ab75d7..0000000
--- a/app-vim/clang_complete/files/make-cache-path-configureable.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 2c090c8cd06fc4eb4c9bb9bf604b9a2d4eafe4d9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch>
-Date: Tue, 25 Dec 2012 16:22:14 +0100
-Subject: [PATCH] Make cache path configureable.
-
----
- autoload/getopts/cache.vim | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/autoload/getopts/cache.vim b/autoload/getopts/cache.vim
-index 3d867ad..25ddd9f 100644
---- a/autoload/getopts/cache.vim
-+++ b/autoload/getopts/cache.vim
-@@ -1,8 +1,12 @@
- " clang_complete include paths caching helper
- " Author: xaizek, leszekswirski
-
--let s:scr = expand('<sfile>')
--let s:cache_path = fnamemodify(s:scr, ':p:h')
-+if exists("g:clang_complete_cache_path")
-+ let s:cache_path = g:clang_complete_cache_path
-+else
-+ let s:scr = expand('<sfile>')
-+ let s:cache_path = fnamemodify(s:scr, ':p:h')
-+endif
-
- function! getopts#cache#getcachedopts(ext, optfunc)
- let s:cache = s:cache_path . '/' . &filetype . '.' . a:ext . '.cache'
---
-1.8.0
-
next reply other threads:[~2013-04-08 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 8:32 Tiziano Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-25 15:36 [gentoo-commits] dev/dev-zero:master commit in: app-vim/clang_complete/, app-vim/clang_complete/files/ Tiziano Müller
2012-06-29 6:14 Tiziano Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363593239.a82c515a8ca81e1146dc38bbb0b3a344613e6cb9.dev-zero@gentoo \
--to=dev-zero@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox