summaryrefslogtreecommitdiff
path: root/dev-ruby/rbs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rbs')
-rw-r--r--dev-ruby/rbs/Manifest2
-rw-r--r--dev-ruby/rbs/rbs-3.8.1.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest
index 293d2a272593..dfe545adfeab 100644
--- a/dev-ruby/rbs/Manifest
+++ b/dev-ruby/rbs/Manifest
@@ -4,10 +4,12 @@ DIST rbs-3.5.3.tar.gz 1254332 BLAKE2B fe82805b727112ecc61fc581601fbb82e0c8a18a79
DIST rbs-3.6.1.tar.gz 1272668 BLAKE2B ac7980431b1db1916a796edf6e59918d96fab398db7f2a826dfc183bd5def34c2ac579c222c01ed6e38c68c79f92dfb375476df9b97a04d0150e2eb6dfced6d8 SHA512 fc60c3cad539baf941fb0672e2ff80c2de33585e117ef5752ca4dff215e782a3be42b80a6b49a7150c05ae365aa521745f7a65817ab4d26495d745713c29933b
DIST rbs-3.7.0.tar.gz 1270388 BLAKE2B 71638efa6cc1c7f7d12be55baabec81a3bee388c5841899d34e914cbe1e9622575a1856c4ac2451787857559debab29730e0ec65635088d2d9cd36b562ff51b7 SHA512 a2c153aef9f64fe837cc9f8e9e4ed3c8d826f7f3e13975a48d5bc8bcb2db7a209fda8b5742898e543ccacbcb4afffe7f0aaebbca430bd83a262691afcb61e1c2
DIST rbs-3.8.0.tar.gz 1293794 BLAKE2B 1a2b9848dab226e48f2a15b2f44aac66d733c844cd45ab81bf0f53eeaa90431037dcb72956214038c283e66e3746bc79734dad0b949f2aa9c6f41d770cdebe2d SHA512 f41b386687fb2695315ea1e450f27c2eef0d3ecbb5391e582692cecabd39c4925f0cfd2004706e7fa82c7574180a96b06f1ae66aa8ec63ca519f5f9a8b2cbecc
+DIST rbs-3.8.1.tar.gz 1295196 BLAKE2B 6821b1f1b35a326e4d89566ab7f7687018683da6a47b7f17e91605bf401624646a3fdea2e87d744bc3104d6282170f6b5fdc953d260f833976149089c3b43094 SHA512 e9ed09d493fac14f0aa9f1b97a440a2d424188cad3e4a4f62f5e1b5a34641e5c004b9de518327076bc0cf69d268391150ce74ca40ec36ac40964d87c9c7c1915
EBUILD rbs-2.8.4.ebuild 1870 BLAKE2B 9d1c1de906a5b7596e196ca437987fba558c7011168acf9d592012a4c40781434249b617c3b86d39b66bedb656c7e952014dee4f8bd2c74918611d449d56a8e3 SHA512 457dce6bfdcdfe5b3f9cbd4d3868ff94f17b9056008135eae73d1e1da6dd878d5b4428b0aa61dabc7281fdcbb466a92d2438f0a1dac11df0c14eed413ffeebf6
EBUILD rbs-3.4.4.ebuild 2095 BLAKE2B d87b2a8495a0bbc92133ced15776c5475251de61e9b110dcd24a5191b5e299f4a2a3aabe5fb8e41a029e8320875f377a9d39f939655a238c7019a7ce59014cae SHA512 97eb720b14090511f94e14274a7be76dd85e288d46068abec7a53fee4338fb324e7e7b42ef58ab4c51252c3214b0e3c3a7d920ddb5dfb7e0d4368372e6f7fed9
EBUILD rbs-3.5.3.ebuild 2390 BLAKE2B c793d24c42fa0c2230febbb981beee6312bbb09701b21b7f77449ca0bc16ef31a7a201a67d41da17f78916d407ed3ee72b873b2f1f73e7bb00966be61f04714b SHA512 d03f67a390d7bc71e3047a8d743eef73f63a71334e9e569abb6637435518b139bbabc486f1f548a971eb23fa394a0d5d7aebdb23766e6925f3032ea55c169782
EBUILD rbs-3.6.1.ebuild 2390 BLAKE2B c793d24c42fa0c2230febbb981beee6312bbb09701b21b7f77449ca0bc16ef31a7a201a67d41da17f78916d407ed3ee72b873b2f1f73e7bb00966be61f04714b SHA512 d03f67a390d7bc71e3047a8d743eef73f63a71334e9e569abb6637435518b139bbabc486f1f548a971eb23fa394a0d5d7aebdb23766e6925f3032ea55c169782
EBUILD rbs-3.7.0.ebuild 2397 BLAKE2B 6ea820a5c1dccd4da2353cfa4fd941c5433d3d4bdb2d08ede51fc0ef68de744778ce617975a7af0210a0b1347e2834ebfeab1047e750844e4674bc07db3b7407 SHA512 cb8b8e179dc79ff413356e3642bd3aa80b7791da56178670914d5fb1ab7103f755d6dd5ddd40980e73ad6df191d4bca13ff24beff1e92ff72ee670c6d042e2a4
EBUILD rbs-3.8.0.ebuild 2404 BLAKE2B 2d42c1238508c1b375790bb80a594afd1c1469c056853705021c0fe875658efea99eef0b125d9c15b3999fa398f95a81fffe7ffef4584a664289db3c1c60309e SHA512 5cbce792aca0cb226a781444c6e4a9f6799ccdf521f2ed7e43c813d152bd16d16fab2ad599979d60e626f1a319b4ccbb517c907a5630f17cbe7825c608170679
+EBUILD rbs-3.8.1.ebuild 2404 BLAKE2B 8fdbf4d3e5e6be41c2f612e11b4c6726cc397c1976457a56841611e77cf8e14b9277d763f0dccbd7987fd7c487dbb95bdc055ad5693809cd4fffd8c76e5a9bda SHA512 29893bd71598411cf1f39e8f3386c01b5976dfa4b8cad163dc6f7ed39d5174186c1c54c70106e51f5d876da6ded4282f74a461cfc2127abd063e34e125183162
MISC metadata.xml 335 BLAKE2B 287ad52f77f7c62c6fa58fcdb9b1c1498cf39010ab26b6f98655beef9719ee5803844b1ab084788af70087e342a02806a8619a8dee472bf6d4d0b2ea54d2152f SHA512 75703ccbe3a15813f6fd3fca2489a9b39e586f59ff2cd89ec8d7a6293760a8789aed715565520f0f623746932bd756820eef960e45fea5f130d34cf4cd586cb5
diff --git a/dev-ruby/rbs/rbs-3.8.1.ebuild b/dev-ruby/rbs/rbs-3.8.1.ebuild
new file mode 100644
index 000000000000..20d0bcac5852
--- /dev/null
+++ b/dev-ruby/rbs/rbs-3.8.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_BINDIR="exe"
+
+RUBY_FAKEGEM_EXTRAINSTALL="core schema sig stdlib"
+RUBY_FAKEGEM_EXTENSIONS=(ext/rbs_extension/extconf.rb)
+
+RUBY_FAKEGEM_GEMSPEC="rbs.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The language for type signatures for Ruby and standard library definitions"
+HOMEPAGE="https://github.com/ruby/rbs"
+SRC_URI="https://github.com/ruby/rbs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Ruby-BSD BSD-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/logger"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rdoc dev-ruby/test-unit )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # We compile the extension directly
+ sed -i -e '/extensiontask/I s:^:#:' Rakefile || die
+
+ # Avoid JSON schema validation tests due to a large dependency stack
+ # that would be needed.
+ rm -f test/rbs/schema_test.rb || die
+
+ # Avoid setup tests since they require a lot of development dependencies.
+ rm -f test/rbs/test/runtime_test_test.rb || die
+
+ # Avoid subtract tests with additonal unpackaged dependencies
+ sed -i -e '/def test_subtract/aomit "Skipped due to additional dependencies"' test/rbs/cli_test.rb || die
+
+ # Avoid test that depends on rspec to avoid a huge dependency tree
+ # for dev-lang/ruby. This test is automagic but can still cause
+ # breakage when rspec is not properly installed, bug 935259
+ sed -e '/test_is_double/aomit "Avoid rspec dependency"' -i test/rbs/test/type_check_test.rb || die
+
+ # Avoid tests requiring a network connection
+ rm -f test/rbs/collection/installer_test.rb test/rbs/collection/collections_test.rb \
+ test/rbs/collection/config_test.rb test/rbs/collection/sources/git_test.rb || die
+ sed -i -e '/def test_collection_/aomit "Requires network"' test/rbs/cli_test.rb || die
+ sed -i -e '/def test_loading_from_rbs_collection/aomit "Requires network"' test/rbs/environment_loader_test.rb || die
+
+ sed -i -e '/def test_\(method\|paths\)/aomit "Different paths in Gentoo test environment"' test/rbs/cli_test.rb || die
+}