Files
guru/dev-ruby/ruby-lsp/ruby-lsp-0.26.1.ebuild
Bryce Copeland (truffle) 13825d16ab dev-ruby/ruby-lsp: add 0.26.1
Signed-off-by: Bryce Copeland (truffle) <truffle074@gmail.com>
2025-07-27 18:41:52 +10:00

34 lines
973 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
RUBY_FAKEGEM_BINDIR="exe" # 'bin' contains only testing functions
RUBY_FAKEGEM_EXTRAINSTALL="static_docs VERSION"
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
inherit ruby-fakegem
DESCRIPTION="An opinionated language server for Ruby"
HOMEPAGE="https://shopify.github.io/ruby-lsp"
SRC_URI="https://github.com/Shopify/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# TODO: if necessary create extra packages with test dependencies
# currently tests would require many more gems/ebuilds
RUBY_FAKEGEM_RECIPE_TEST="none"
DEPEND+="
>=dev-ruby/prism-1.2 <dev-ruby/prism-2
>=dev-ruby/rbs-3 <dev-ruby/rbs-5
=dev-ruby/language_server-protocol-3.17*
"
each_fakegem_test() {
ewarn "Tests disabled due requiring ~10 extra gems to be installed, most of which do not have ebuilds"
default
}