dev-ruby/language_server-protocol: new package, add 3.17.0.4

Signed-off-by: Bryce Copeland <truffle074@gmail.com>
This commit is contained in:
Bryce Copeland
2025-03-05 03:35:47 +11:00
parent bec339ba6a
commit 6190eff1b3
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST language_server-protocol-3.17.0.4.tar.gz 122751 BLAKE2B 4ace1b2ce6b796c5140796cacf1b50fde6db84cbb912e575fd0b3c361131a571e2519c2ab4dac97683f3a2d30f4b230ba5e3268fc438b0759caa698ffb508ca8 SHA512 a034ee40e61c128c36f9f9d1c8a26ecfe381db64c8abe26eb58a690f9560f4232cc269c6d17922d9d3c954449a8a294cd1b491dc2740d13a8b1193993db57076

View File

@@ -0,0 +1,36 @@
# 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" # this directory doesn't actually exist, but reflects the spec
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
inherit ruby-fakegem
DESCRIPTION="Language Server SDK Gem for Ruby"
HOMEPAGE="https://github.com/mtsmfm/language_server-protocol-ruby"
SRC_URI="https://github.com/mtsmfm/${PN}-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
all_ruby_unpack() {
default
# git repo is titled "language_server-protocol-ruby" by default
# change to match package name to make eclass happy
mv "${PN}-ruby-${PV}" "${P}"
}
each_fakegem_configure() {
# by default these lines contain code that runs unnecessary shell commands or
# searches that don't make sense with the ebuild directory structure.
# values are set independently by the eclass anyways, so can be removed
sed -i '/^spec.files*/d' "${PN}.gemspec" || die
sed -i '/^spec.executables*/d' "${PN}.gemspec" || die
default
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>truffle074@gmail.com</email>
<name>Bryce Copeland</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/mtsmfm/language_server-protocol-ruby/issues</bugs-to>
<remote-id type="github">mtsmfm/language_server-protocol-ruby</remote-id>
</upstream>
</pkgmetadata>