diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-25 06:31:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-25 06:31:02 +0000 |
commit | e80134587e8d959a88dba7dd3784895372e205c8 (patch) | |
tree | 912d9772fcc93ec668b363146cf81e45519253d6 /dev-ruby/rbs | |
parent | 17e417b73cb3e25edbc6541bd107bc9c593d66bd (diff) |
gentoo auto-resync : 25:12:2024 - 06:31:02next
Diffstat (limited to 'dev-ruby/rbs')
-rw-r--r-- | dev-ruby/rbs/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rbs/rbs-3.8.0.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest index b634abb89cd5..aa1420d111e3 100644 --- a/dev-ruby/rbs/Manifest +++ b/dev-ruby/rbs/Manifest @@ -3,9 +3,11 @@ DIST rbs-3.4.4.tar.gz 1236977 BLAKE2B 19b95e7b162714738c37d9d8f740d11e5e4694f6e2 DIST rbs-3.5.3.tar.gz 1254332 BLAKE2B fe82805b727112ecc61fc581601fbb82e0c8a18a79dd6e724b91c4c14c6cc18f89c7dca8f3d734b06c40a1ec6bde42d203aa8400ddd2b48b24a9ef660d80aa8a SHA512 8bf2645ae076562fa5197495c32ffd76472295cbe32bb49bfd5f8c4194e9444f2193d365cbc62c3b732e0b4f106563c03fba6aaaff7e11853adc317af1970662 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 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 2397 BLAKE2B 6ea820a5c1dccd4da2353cfa4fd941c5433d3d4bdb2d08ede51fc0ef68de744778ce617975a7af0210a0b1347e2834ebfeab1047e750844e4674bc07db3b7407 SHA512 cb8b8e179dc79ff413356e3642bd3aa80b7791da56178670914d5fb1ab7103f755d6dd5ddd40980e73ad6df191d4bca13ff24beff1e92ff72ee670c6d042e2a4 MISC metadata.xml 335 BLAKE2B 287ad52f77f7c62c6fa58fcdb9b1c1498cf39010ab26b6f98655beef9719ee5803844b1ab084788af70087e342a02806a8619a8dee472bf6d4d0b2ea54d2152f SHA512 75703ccbe3a15813f6fd3fca2489a9b39e586f59ff2cd89ec8d7a6293760a8789aed715565520f0f623746932bd756820eef960e45fea5f130d34cf4cd586cb5 diff --git a/dev-ruby/rbs/rbs-3.8.0.ebuild b/dev-ruby/rbs/rbs-3.8.0.ebuild new file mode 100644 index 000000000000..7aebee8de87b --- /dev/null +++ b/dev-ruby/rbs/rbs-3.8.0.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 +} |