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-2.8.3.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest
index 019d07f1cad9..ed5da88b9816 100644
--- a/dev-ruby/rbs/Manifest
+++ b/dev-ruby/rbs/Manifest
@@ -3,9 +3,11 @@ DIST rbs-2.3.2.tar.gz 977459 BLAKE2B d33984c03a962f4d72989b5b665e7e256f8928e86fa
DIST rbs-2.5.1.tar.gz 983686 BLAKE2B d0feb4f173e2d1dd76d93309279fc75f9ed992ead2c144d69905e6acd139c709535ae29d78e85787f082821734a6448446e746791922e4322c55dc446a38ec06 SHA512 079778ad36db8f096e33d04a460b03d03c6b3616a2066e40a3aa06615d51265d8bfa7669a31463ce46bbcb16dc74ed8a24ba280b46c24f25b2327f5c8a8ae891
DIST rbs-2.8.0.tar.gz 1065757 BLAKE2B 136ba929d0b61c6b2625b49574ec45a28aa1de77a1a63d74bf5747ff4c88968ce28116472a97310e10846dec404dc2a4ccebb51c90f14f5713f3b1d21f18c9c6 SHA512 3a04026112bffef03a3e65c5d539ead7de353b4af279da6f4a7def854fe6c7f95d291663ab18bab678228ae4b26e87aec89fc1ed961ebc4cf83f38ef726ad407
DIST rbs-2.8.2.tar.gz 1069304 BLAKE2B a05cdd12767ed47cb90a64ab9803523dfa11a2295ebf2be4f9087918bc74ef75a46e3ec95a78c6c272e65b7d0485db0697edc8c4e586f7ae2b4608cde638969e SHA512 02666374fa8a93f421916f62b6a101e602c5dc8996169b1fd618618ab76afb11bba0891aac3f48f70af080f5d73ede264728f93799b3a330cae3a43b9cab1cb4
+DIST rbs-2.8.3.tar.gz 1069360 BLAKE2B 7151346fadcfdb2e246dbd32c440c4e5fbfe0f6dbed67a100460b451f87432a5811d63269b612949b720d0a3234818e46d1e1f614886e92e0b75cb5814c3e24f SHA512 4e6ec348945171868752ff62704e2a64ced4a11288a96c03e837e508df235c0cf85f99469952a7b052662ee7bc16e0942aaa2bc448381d95d5603fefdacf6839
EBUILD rbs-1.5.1.ebuild 1188 BLAKE2B 9c309c9befa8e76e809c4aae1dc2f2e574293bc1ad273eafca746328fa185f25d4c566ec590e634422f9d7617fa9a28af622f790e2c8e6cada2f75891de75a09 SHA512 3a896d5c0a9723c5009a9271d7125f052660a52a2ba450721133d7546b3c00d8f5697d28191c6bc4aa4db1558f09f5593972d7ec663d6b44d5235021c1f70248
EBUILD rbs-2.3.2.ebuild 1868 BLAKE2B b0b276a68cffceb3e6dbd12a5205043b155af78e945c1b191633a29415e39b650735cf46147ce777a9660e271580e3ff4afefbe92e99091908be00845566bbb1 SHA512 012929a95f0a0843d3037a4a696606686d9aac630b99e10dfee6ab283a71534ce0089c3bf9fe44565a1a21336b3d64b39b7584beef283c4dcdc62eeaf6776dc9
EBUILD rbs-2.5.1.ebuild 1868 BLAKE2B b0b276a68cffceb3e6dbd12a5205043b155af78e945c1b191633a29415e39b650735cf46147ce777a9660e271580e3ff4afefbe92e99091908be00845566bbb1 SHA512 012929a95f0a0843d3037a4a696606686d9aac630b99e10dfee6ab283a71534ce0089c3bf9fe44565a1a21336b3d64b39b7584beef283c4dcdc62eeaf6776dc9
EBUILD rbs-2.8.0.ebuild 1905 BLAKE2B ff1382678d9b03ed335d69f54dee98cc50d22d4fcf4b9af2d53f189956e7a8e6c026edf6b60832d5592889bfa4af594d953125e5f2de15632b869d991f452bc7 SHA512 f85ac1031e8a1fdd3a54730e71ac971592d66e06dd20d261fe6e2cea3c8cf3d4d838a3c08c49d8e71ee8c788124904fc96413e47a76e20a720ce5fe414315d1a
EBUILD rbs-2.8.2.ebuild 1915 BLAKE2B 6c2d5bbe6a7ff05aff2f28f4a1b77a934f7932206107618eaf6bc7b226d5f1a6b699f6b870ab6edad75c1fb0f6aa82e59231e3e88ee4cb2f95d5f2924a39dd84 SHA512 2c7d9f08b3248d717054b2c762fdb98a8630249dc747e4e17b614ea758b00348a0e75d3886c19ec8dc23201dcfd79ea937fc035c5924a3d5e737f1722a5d631f
+EBUILD rbs-2.8.3.ebuild 1915 BLAKE2B 7350ffd17c9b04a1581954e32cb858db1aae32eee91813311a05af1a4c23469444992686665ce810f453761fef2b57da907fd45b556ff602b3abadf9b9685f6e SHA512 075d6ab192e67e0b54646e9262383de55dac493f9f2e3522f9b0ba85b5508dc24a28a55e1e7f9b9ee3e59b2d7555fb679f23175ba80134a7cc7bff958642fed2
MISC metadata.xml 335 BLAKE2B 287ad52f77f7c62c6fa58fcdb9b1c1498cf39010ab26b6f98655beef9719ee5803844b1ab084788af70087e342a02806a8619a8dee472bf6d4d0b2ea54d2152f SHA512 75703ccbe3a15813f6fd3fca2489a9b39e586f59ff2cd89ec8d7a6293760a8789aed715565520f0f623746932bd756820eef960e45fea5f130d34cf4cd586cb5
diff --git a/dev-ruby/rbs/rbs-2.8.3.ebuild b/dev-ruby/rbs/rbs-2.8.3.ebuild
new file mode 100644
index 000000000000..c90ff55f9e70
--- /dev/null
+++ b/dev-ruby/rbs/rbs-2.8.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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 )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE="test"
+
+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 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_paths/aomit "Different paths in Gentoo test environment"' test/rbs/cli_test.rb || die
+}