summaryrefslogtreecommitdiff
path: root/dev-ruby/rbs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rbs')
-rw-r--r--dev-ruby/rbs/Manifest10
-rw-r--r--dev-ruby/rbs/rbs-2.8.4.ebuild4
-rw-r--r--dev-ruby/rbs/rbs-3.0.4.ebuild4
-rw-r--r--dev-ruby/rbs/rbs-3.4.4.ebuild2
-rw-r--r--dev-ruby/rbs/rbs-3.5.2.ebuild59
-rw-r--r--dev-ruby/rbs/rbs-3.5.3.ebuild59
6 files changed, 130 insertions, 8 deletions
diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest
index e87effeb31e6..5580eb793bc4 100644
--- a/dev-ruby/rbs/Manifest
+++ b/dev-ruby/rbs/Manifest
@@ -2,8 +2,12 @@ DIST rbs-2.8.4.tar.gz 1069703 BLAKE2B a7b97e2ba7b8bd5afca303d69262cd54169bfad8e7
DIST rbs-3.0.4.tar.gz 1123563 BLAKE2B 335ba5d438b74ef36a65c1bd5d41508bb4d89a5273d413899f96684e6d97a6911ab157ad5b8acde97e23b832ebd2bd04517c37a3edc2fd66703442333d3fa5b1 SHA512 17dff709693c2b554178a31580ed48e863490fc527c86a8d823928379483665076c498e402c1dcb85c0ba401e6754e9c2d8cb9a48655952136521e6e7b47025f
DIST rbs-3.4.4.tar.gz 1236977 BLAKE2B 19b95e7b162714738c37d9d8f740d11e5e4694f6e2c7e9ba9f01c74d8d318d0b848251276e421a80d8a5680ed60fa510d04d4a57ac72d0c376f1e9cfef2fe773 SHA512 c6be887af1c89e7b9d8f01e248a24f571c189fc81f55d1625957434a3d1e74c5d23f9ba2089750cb742a82560165d9bab309cff8cdb6c9e455076051301c7dd4
DIST rbs-3.5.1.tar.gz 1253359 BLAKE2B c30ae04d32390c415de8b6e5b58006e5ac916ffd451df82d020c72f14ce510f4a4a792b3baff7e674452fdaa6dd9aa816f5248882d6cd82aed70b921bf6dac23 SHA512 aab98a8b79c50570eb666861fc75d33c66af0504edb2c36543d32020eb04c3b5e1d227dada73e61d67a5cf64e9e613ff55218267c3f54f0f65fdf22b1dfaff4d
-EBUILD rbs-2.8.4.ebuild 1869 BLAKE2B abdc78406e890ce6b51755339cb13e0f1de0c21ce17300d1da0db95b7d1946eb0eafb0a97abe9a9f2c607366e8d0f5ccce788f63113df7096c604cddd5f05de0 SHA512 eacad1e46dd94ae884386c068a79d6411e94d852a008247ce9a0bb7eab9d36a3fda6d1f4f65099c8939938da2a8f87fdbdabf8eaa21bb04b01475e1b7031e482
-EBUILD rbs-3.0.4.ebuild 1882 BLAKE2B 21471f60ecf65f8ea8b8cf1bb6dae309e9523a5193bb8debf298f0c702c5fe9eac5b62f8f05297fbfb076d2b57879ecccbcf0ddabd094ce8ef615c0ff1e2c652 SHA512 fc8ad4319a866c3bee7521914e1d92fb3c30afa9e1dd9fabcc179937421cd8b1f8538802845a29e512d524cc2793526934e0af78a3941fb85c8bcb185d809f67
-EBUILD rbs-3.4.4.ebuild 2094 BLAKE2B 300ecd7f2c3a22c818e6c87895cf215773c564f09d38a16f590e503bb76f8a013ca9f04f739c4891aafd63721ca7e000fc590970f201bbdbd220c0616d65b41a SHA512 766c6f3e9bd91827b8c35131ee422668445be01c9414ad864bd69d8664c6b6b7c12cc575fb9b39a882046cbde84077f69257c6351dc200da23d007691e368d98
+DIST rbs-3.5.2.tar.gz 1254235 BLAKE2B bb0b6f752c8b4d19491fce19ac34cdb0bbbd00dd570ae8c155674cb337a21672c6db1a5a9475b43aa0b9fe3bac3517ad484a1539fcb7f069c50f0edb8af9878f SHA512 2a94f0fff502ec389c3da7f6164b86cfcc6bcbb5afb3ef22b917d17f9c211e492d37e37669d5d41f157a6e9e256125682d8e6bb634d0918b3a19987774914a07
+DIST rbs-3.5.3.tar.gz 1254332 BLAKE2B fe82805b727112ecc61fc581601fbb82e0c8a18a79dd6e724b91c4c14c6cc18f89c7dca8f3d734b06c40a1ec6bde42d203aa8400ddd2b48b24a9ef660d80aa8a SHA512 8bf2645ae076562fa5197495c32ffd76472295cbe32bb49bfd5f8c4194e9444f2193d365cbc62c3b732e0b4f106563c03fba6aaaff7e11853adc317af1970662
+EBUILD rbs-2.8.4.ebuild 1870 BLAKE2B 9d1c1de906a5b7596e196ca437987fba558c7011168acf9d592012a4c40781434249b617c3b86d39b66bedb656c7e952014dee4f8bd2c74918611d449d56a8e3 SHA512 457dce6bfdcdfe5b3f9cbd4d3868ff94f17b9056008135eae73d1e1da6dd878d5b4428b0aa61dabc7281fdcbb466a92d2438f0a1dac11df0c14eed413ffeebf6
+EBUILD rbs-3.0.4.ebuild 1883 BLAKE2B cccdc423f9e25fb1678b02f02160c0192a9a5a235aef11a8db16dff7907b4438e95c6bc9afb2a50793ee00c5eb8aa931c1df0f9d4f9ef8116f28add997a420ff SHA512 0dcc3a5fe5346e1eca3b298bf43358766ed46fb923a29d242ed88e653fc6f3e59b966c83735f97267307de7204985e42157374f3f8277727c1a8e51897743896
+EBUILD rbs-3.4.4.ebuild 2095 BLAKE2B d87b2a8495a0bbc92133ced15776c5475251de61e9b110dcd24a5191b5e299f4a2a3aabe5fb8e41a029e8320875f377a9d39f939655a238c7019a7ce59014cae SHA512 97eb720b14090511f94e14274a7be76dd85e288d46068abec7a53fee4338fb324e7e7b42ef58ab4c51252c3214b0e3c3a7d920ddb5dfb7e0d4368372e6f7fed9
EBUILD rbs-3.5.1.ebuild 2102 BLAKE2B b4fbb0878c881c59f5348fb4b15cc9887a3b7d5a9d809dfbbcbdab9b0fdf466492292a85d3a9fefea012499a10cf1f40f296cc4561fcc93de7e0b5a332441275 SHA512 24837650d07cdc27b571d218596f672472cfb992317453d06f4e516f50ddc59998928c155f6dd284029832b9065e96472887b454736778441acdbc03f1fae1f7
+EBUILD rbs-3.5.2.ebuild 2397 BLAKE2B 82c814db409959849a84dfa0cb324ac185cfe334a5dac8ceba7f9e902d542bc331c0d738f6e61c87a35a5d3faf8056cae4be11428a505a4aa1271e078f4ea76e SHA512 99cfb0b602b0aeaaef85cb62e7ff08318cd1ccc1a9f1367b0e60741a391265aa8c111b69a0d766337a9285907428809e6a7c66fc5a37708c8d182311d5def2f2
+EBUILD rbs-3.5.3.ebuild 2397 BLAKE2B 6ea820a5c1dccd4da2353cfa4fd941c5433d3d4bdb2d08ede51fc0ef68de744778ce617975a7af0210a0b1347e2834ebfeab1047e750844e4674bc07db3b7407 SHA512 cb8b8e179dc79ff413356e3642bd3aa80b7791da56178670914d5fb1ab7103f755d6dd5ddd40980e73ad6df191d4bca13ff24beff1e92ff72ee670c6d042e2a4
MISC metadata.xml 335 BLAKE2B 287ad52f77f7c62c6fa58fcdb9b1c1498cf39010ab26b6f98655beef9719ee5803844b1ab084788af70087e342a02806a8619a8dee472bf6d4d0b2ea54d2152f SHA512 75703ccbe3a15813f6fd3fca2489a9b39e586f59ff2cd89ec8d7a6293760a8789aed715565520f0f623746932bd756820eef960e45fea5f130d34cf4cd586cb5
diff --git a/dev-ruby/rbs/rbs-2.8.4.ebuild b/dev-ruby/rbs/rbs-2.8.4.ebuild
index 6071d0555ffc..983bcbdac44b 100644
--- a/dev-ruby/rbs/rbs-2.8.4.ebuild
+++ b/dev-ruby/rbs/rbs-2.8.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,7 @@ 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 ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
SLOT="0"
IUSE="test"
diff --git a/dev-ruby/rbs/rbs-3.0.4.ebuild b/dev-ruby/rbs/rbs-3.0.4.ebuild
index be6531da78bd..39eeef3543be 100644
--- a/dev-ruby/rbs/rbs-3.0.4.ebuild
+++ b/dev-ruby/rbs/rbs-3.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,7 @@ 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 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+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"
SLOT="0"
IUSE="test"
diff --git a/dev-ruby/rbs/rbs-3.4.4.ebuild b/dev-ruby/rbs/rbs-3.4.4.ebuild
index a6ee9832b24f..b5aea0191544 100644
--- a/dev-ruby/rbs/rbs-3.4.4.ebuild
+++ b/dev-ruby/rbs/rbs-3.4.4.ebuild
@@ -20,7 +20,7 @@ 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 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+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"
SLOT="0"
IUSE="test"
diff --git a/dev-ruby/rbs/rbs-3.5.2.ebuild b/dev-ruby/rbs/rbs-3.5.2.ebuild
new file mode 100644
index 000000000000..80e245c18014
--- /dev/null
+++ b/dev-ruby/rbs/rbs-3.5.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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/abbrev"
+
+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
+}
diff --git a/dev-ruby/rbs/rbs-3.5.3.ebuild b/dev-ruby/rbs/rbs-3.5.3.ebuild
new file mode 100644
index 000000000000..7aebee8de87b
--- /dev/null
+++ b/dev-ruby/rbs/rbs-3.5.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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
+}