diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-15 16:50:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-15 16:50:39 +0100 |
commit | 3be8faef74cb863e207124a6fccbf01ce90c0799 (patch) | |
tree | 222958402b707645e8b7bcb072c607c538f2f5c0 /dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild | |
parent | ea3e1bbf643d1d8892f4df05e4f05c1b2a2125d8 (diff) |
gentoo auto-resync : 15:09:2023 - 16:50:39
Diffstat (limited to 'dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild')
-rw-r--r-- | dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild new file mode 100644 index 000000000000..c2e80576a5c7 --- /dev/null +++ b/dev-ruby/neovim-ruby-client/neovim-ruby-client-0.9.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +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/neovim/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 -e '/\(establishes an RPC connection\|sets appropriate client info\)/askip "socket path length"' \ + -i spec/neovim_spec.rb || die +} |