From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C93521396D0 for ; Wed, 23 Aug 2017 14:46:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2703E0CCA; Wed, 23 Aug 2017 14:46:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BCB4CE0CCA for ; Wed, 23 Aug 2017 14:46:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC1B8341B5B for ; Wed, 23 Aug 2017 14:46:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 380227FDF for ; Wed, 23 Aug 2017 14:46:26 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1503499539.04992cd2da15492a19689f364531d58fe7c7eb84.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/command-t/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-vim/command-t/Manifest app-vim/command-t/command-t-5.0.1.ebuild X-VCS-Directories: app-vim/command-t/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 04992cd2da15492a19689f364531d58fe7c7eb84 X-VCS-Branch: master Date: Wed, 23 Aug 2017 14:46:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ded76f77-b55f-4218-b6bf-6e133571e56c X-Archives-Hash: 99eb16d8081ba85214b990a0a89b5268 commit: 04992cd2da15492a19689f364531d58fe7c7eb84 Author: Tim Harder gentoo org> AuthorDate: Wed Aug 23 14:42:55 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Wed Aug 23 14:45:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04992cd2 app-vim/command-t: version bump to 5.0.1 app-vim/command-t/Manifest | 1 + app-vim/command-t/command-t-5.0.1.ebuild | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-vim/command-t/Manifest b/app-vim/command-t/Manifest index 88c2bdd39db..f862e4057b5 100644 --- a/app-vim/command-t/Manifest +++ b/app-vim/command-t/Manifest @@ -1 +1,2 @@ DIST command-t-4.0.tar.gz 79052 SHA256 1a733b660c461b675fc0e95627036c9328a5f7a33cb641f8c8ec98e639314abf SHA512 31f58210b2e9954d830dac3f18d87d08059f396c6637c6ff0be1e8b660fc307796ef8c0d572b105690072c013f0fc4ff6cfaa2f0f8ebde00b5f76fdfc3e29c34 WHIRLPOOL 8119c2d7c61922d84402882f1499fd8a9fd955951f9b6952f24335ef8f14d7bca93c023adf61985d571631bbd7db6ed7c60c96151570228120d2025e9c7b4c5a +DIST command-t-5.0.1.tar.gz 81781 SHA256 7ac1e4c2bd9bf87c788be22fc24cfc2a4993c30365031a2b15ddff79d8b00e3d SHA512 54262f4628bbef8a11878a8593510af566dabf35dd70005dc90e4abb4c4e9aebde5dc7d08d808c944980017f8f35d7e9723b0032ccde5ab6d2d2fae38e1c632d WHIRLPOOL 240cf7a171c848d8201929c8e02d0db3e74ce64b5117aff4f12c8e7b320c08f2cb944ee1bd44a2f3681706d533698e792bfd5f0487933d04b88699aa25c6a398 diff --git a/app-vim/command-t/command-t-5.0.1.ebuild b/app-vim/command-t/command-t-5.0.1.ebuild new file mode 100644 index 00000000000..c9923ecdfe3 --- /dev/null +++ b/app-vim/command-t/command-t-5.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +inherit vim-plugin ruby-ng + +DESCRIPTION="vim plugin: fast file navigation for vim" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3025 https://github.com/wincent/command-t" +SRC_URI="https://github.com/wincent/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD-2" +KEYWORDS="~amd64 ~x86" + +VIM_PLUGIN_HELPFILES="${PN}.txt" + +RDEPEND="|| ( app-editors/vim[ruby] app-editors/gvim[ruby] )" + +all_ruby_prepare() { + find "${S}" -name .gitignore -delete || die +} + +each_ruby_configure() { + cd ruby/${PN}/ext/${PN} || die + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + cd ruby/${PN}/ext/${PN} || die + emake V=1 + rm *.o *.c *.h *.log extconf.rb depend Makefile || die +} + +each_ruby_install() { + local sitelibdir=$(ruby_rbconfig_value "sitelibdir") + insinto "${sitelibdir}" + doins -r ruby/${PN}/{ext,lib}/* +} + +all_ruby_install() { + rm Gemfile* Rakefile LICENSE README.md || die + rm -r appstream bin fixtures data ruby/${PN}/{ext,lib,*.gemspec} spec vendor || die + + vim-plugin_src_install + + # make sure scripts are executable + chmod +x "${ED}"/usr/share/vim/vimfiles/ruby/${PN}/bin/* || die +}