diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-29 15:07:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-29 15:07:44 +0100 |
commit | c9ac6938788ee1708e7c900f8f78e9037aea1ca1 (patch) | |
tree | 7775fcc8916726b2e7a58d7a251dee69292d231f /dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild | |
parent | 23fb10c075a74a6504647a16c3e06a6378e208c8 (diff) |
gentoo auto-resync : 29:07:2022 - 15:07:44
Diffstat (limited to 'dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild')
-rw-r--r-- | dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild new file mode 100644 index 000000000000..8bac82c5b68c --- /dev/null +++ b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_NAME="neovim" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINDIR="exe" + +inherit ruby-fakegem + +DESCRIPTION="Ruby bindings for Neovim" +HOMEPAGE="https://github.com/alexgenco/neovim-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND+=" app-editors/neovim" +DEPEND+=" test? ( app-editors/neovim )" + +ruby_add_rdepend " + >=dev-ruby/msgpack-1.1:0 + =dev-ruby/multi_json-1* +" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|pry\)/ s:^:#:' spec/helper.rb || die + + # Avoid tests that result in a unix socket path that is too long + sed -i -e '/\(establishes an RPC connection\|sets appropriate client info\)/askip "socket path length"' spec/neovim_spec.rb || die +} |