public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/command-t/
Date: Tue,  6 Jul 2021 08:37:40 +0000 (UTC)	[thread overview]
Message-ID: <1625560656.c08b3736776549d2a78a50b6372066e0f7a0d19c.graaff@gentoo> (raw)

commit:     c08b3736776549d2a78a50b6372066e0f7a0d19c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  6 08:37:10 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jul  6 08:37:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c08b3736

app-vim/command-t: add ruby27, ruby30; EAPI 7

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 app-vim/command-t/command-t-5.0.3-r1.ebuild | 47 +++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/app-vim/command-t/command-t-5.0.3-r1.ebuild b/app-vim/command-t/command-t-5.0.3-r1.ebuild
new file mode 100644
index 00000000000..88a26579c20
--- /dev/null
+++ b/app-vim/command-t/command-t-5.0.3-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+inherit vim-plugin ruby-ng
+
+DESCRIPTION="vim plugin: fast file navigation for vim"
+HOMEPAGE="https://vim.sourceforge.io/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 -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
+}


             reply	other threads:[~2021-07-06  8:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06  8:37 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01 10:00 [gentoo-commits] repo/gentoo:master commit in: app-vim/command-t/ Hans de Graaff
2023-04-27  7:42 Hans de Graaff
2021-10-18  5:52 Hans de Graaff
2019-04-16 20:37 Tim Harder
2019-04-16 20:37 Tim Harder
2018-12-12  8:25 Tim Harder
2018-03-05 22:00 Patrice Clement
2017-09-08 13:30 Tim Harder
2017-09-08 13:30 Tim Harder
2017-08-23 14:46 Tim Harder
2017-08-23 14:46 Tim Harder
2016-09-23  5:48 Tim Harder
2016-05-22 15:00 Tim Harder
2016-05-08  2:48 Tim Harder
2015-08-25  1:47 Tim Harder
2015-08-25  1:47 Tim Harder
2015-08-25  1:47 Tim Harder

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=1625560656.c08b3736776549d2a78a50b6372066e0f7a0d19c.graaff@gentoo \
    --to=graaff@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