From 99995c94c01b6d74165c7ee31be36275846b14b8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Dec 2023 13:40:07 +0000 Subject: gentoo auto-resync : 27:12:2023 - 13:40:07 --- dev-ruby/rbs/Manifest | 2 ++ dev-ruby/rbs/rbs-3.4.1.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-ruby/rbs/rbs-3.4.1.ebuild (limited to 'dev-ruby/rbs') diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest index 165d4c85d91f..d19fe12db0bc 100644 --- a/dev-ruby/rbs/Manifest +++ b/dev-ruby/rbs/Manifest @@ -5,6 +5,7 @@ DIST rbs-3.2.0.tar.gz 1147974 BLAKE2B 167d8ac64173c5e7b8bc44d9fbf66c6b2a4c01c8a9 DIST rbs-3.2.1.tar.gz 1148238 BLAKE2B 3f7a711802e283c4bfdb5a8e8bdbe5a0c33a18bee0c93a917dd38a83c983ebea8ceaa6834e1883c812f1cdb3f04119d617066259687c327f4dc35e4f5844c6b6 SHA512 9ed36b5faba77a87b0ed57b2c652c384214b830e12987244a46bb54c372932b369c9c3e87bd26c709e210b59b5b0aa7f9ae7e59c3cec1168fde9cfe15fdd645c DIST rbs-3.2.2.tar.gz 1148293 BLAKE2B a585a942d48217aa574629ace472dc57a6c876a67e8e521f3eaa00996c65f45836140b3c888e2a0e4e6d7ab9abf48337565978ec9b3950f9bbcce9f885fbb459 SHA512 758787ef7decd889ed3abcf9f06cd612299823e16b446568e729d76ba41cd66c36d626d7618ed360ff4b15b16c9d6f172fe55d9053810106f731c74f4cca3fe4 DIST rbs-3.4.0.tar.gz 1233005 BLAKE2B 66486849627ae75842b58abb24b4148146384f0a3e69ecb968eaf6c67afe0a5a6769d6263cb8f2499c899831280f4030f8fe545e3ed39a79129ff5651e9abdc4 SHA512 fde44bec1eba699323c3173508e2c026d9a61bccf4a4c55d0ed74dbf7306d8e1416fe9e115e3bb70d1027262ee26fb47b644571efbc9aed0b67ccb9d9ee59152 +DIST rbs-3.4.1.tar.gz 1236509 BLAKE2B da51d9c8eed72fb5f4b4b31950db5d39b0fc18a55a3d7999f92d3c5d23ed3d0b0572e65d212483442796093a3941a404e2babd0b55581135d1c77c3521ddc00e SHA512 d98217535091f6af5ff102d8b7126bcd881e22b64c240b5e443a965ccdb0f812a755d3da5db6b65964f6e0e798491bd17ba76d4221e46fbbb26ad0674cd1dca0 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.1.3.ebuild 2054 BLAKE2B 5203376fdec7fb10e22d7b436a03de7609a4be5a933663140b4763291243fc7a74834d1f022db908d12cffd7f71f5baa9a6737c853dd27a9b62d614f04c07567 SHA512 7d64cd0381cc4a623b73a6088b7c2bc37cf45727e2331228c3f853e7c6f2d769b1b1b80cfc57356359f2cbd1840d4d00f466ae5f285d2a691a398b735f7cf3a2 @@ -12,4 +13,5 @@ EBUILD rbs-3.2.0.ebuild 2047 BLAKE2B fb1005fc6120ef0981417e08d669f2da8734873f23d EBUILD rbs-3.2.1.ebuild 2047 BLAKE2B fb1005fc6120ef0981417e08d669f2da8734873f23d1a6fd149d613b25531b1e046670da77b5f11aaf9a8c0d82d989a940bc93de09cb1bec160d9c566a916b9b SHA512 4168c8deba5acac8f0326b1ed7862bb9377e724b0b3a3112fece7e5137a318a2816cf46083227362fb05c6ae6bc9dae8675524ef39ef993d6e7de246974cabef EBUILD rbs-3.2.2.ebuild 2047 BLAKE2B fb1005fc6120ef0981417e08d669f2da8734873f23d1a6fd149d613b25531b1e046670da77b5f11aaf9a8c0d82d989a940bc93de09cb1bec160d9c566a916b9b SHA512 4168c8deba5acac8f0326b1ed7862bb9377e724b0b3a3112fece7e5137a318a2816cf46083227362fb05c6ae6bc9dae8675524ef39ef993d6e7de246974cabef EBUILD rbs-3.4.0.ebuild 2102 BLAKE2B 9291c3d18bd18bd57c0905370e22c1a846605d3743dcd40a8cf6a15cb2feb6346842b5305cc6ee7df983b92a27b00be7a986ba67fa74d01401eca1053af28c1e SHA512 c94c1e590d3dad4c080364e9bf4a735bc7cf8b3368730283851bd1f1880f7454204a9602b114d83323463987ee396cbd2a5d34f5bcec33248d4e64d1b38a21e2 +EBUILD rbs-3.4.1.ebuild 2102 BLAKE2B 9291c3d18bd18bd57c0905370e22c1a846605d3743dcd40a8cf6a15cb2feb6346842b5305cc6ee7df983b92a27b00be7a986ba67fa74d01401eca1053af28c1e SHA512 c94c1e590d3dad4c080364e9bf4a735bc7cf8b3368730283851bd1f1880f7454204a9602b114d83323463987ee396cbd2a5d34f5bcec33248d4e64d1b38a21e2 MISC metadata.xml 335 BLAKE2B 287ad52f77f7c62c6fa58fcdb9b1c1498cf39010ab26b6f98655beef9719ee5803844b1ab084788af70087e342a02806a8619a8dee472bf6d4d0b2ea54d2152f SHA512 75703ccbe3a15813f6fd3fca2489a9b39e586f59ff2cd89ec8d7a6293760a8789aed715565520f0f623746932bd756820eef960e45fea5f130d34cf4cd586cb5 diff --git a/dev-ruby/rbs/rbs-3.4.1.ebuild b/dev-ruby/rbs/rbs-3.4.1.ebuild new file mode 100644 index 000000000000..5302c97c811c --- /dev/null +++ b/dev-ruby/rbs/rbs-3.4.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 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 )" +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" + +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 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 +} -- cgit v1.2.3