diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-23 09:48:32 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-23 09:48:32 +0100 |
commit | 7795d9198ccb546ad792af2694399b516fc244ac (patch) | |
tree | 0f80cd898370b3bbd31dad1b53588d38064793c6 /dev-ruby/rbs | |
parent | 76639e956cb332de1bfbf50143f11084d2686c65 (diff) |
gentoo auto-resync : 23:08:2023 - 09:48:32
Diffstat (limited to 'dev-ruby/rbs')
-rw-r--r-- | dev-ruby/rbs/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rbs/rbs-3.2.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest index 8eb1c1dc7fcd..348fbecbe105 100644 --- a/dev-ruby/rbs/Manifest +++ b/dev-ruby/rbs/Manifest @@ -1,7 +1,9 @@ DIST rbs-2.8.4.tar.gz 1069703 BLAKE2B a7b97e2ba7b8bd5afca303d69262cd54169bfad8e716cb5c452a1f20c36708f62c36382d5d3111856aa130e5d198960117ad47ca444ac3e042e99e534b3c2204 SHA512 e698b64ffc5c5e53ed84ab9fb6a5d83cc17738ec2114f72cadd0d9e062d8017ee91dc4d1afe254646c30659f3af57d6606f555881951fae7cc399b1bbd428824 DIST rbs-3.0.4.tar.gz 1123563 BLAKE2B 335ba5d438b74ef36a65c1bd5d41508bb4d89a5273d413899f96684e6d97a6911ab157ad5b8acde97e23b832ebd2bd04517c37a3edc2fd66703442333d3fa5b1 SHA512 17dff709693c2b554178a31580ed48e863490fc527c86a8d823928379483665076c498e402c1dcb85c0ba401e6754e9c2d8cb9a48655952136521e6e7b47025f DIST rbs-3.1.3.tar.gz 1133033 BLAKE2B d9727a757bab41dc2deb4570b6fe325ec9dd6b50190fff9995d2054125ba5e05536a31b7961c068c78071c9039858b64bc73195bb40a26d12f6d7f9031e40e53 SHA512 76bce2c0a2377e2eca16877de7082c90b8df4fd7d9f89d74751e62d25f94a3418a71bcc7ea30e646ce548f675002358dc700c5d598379d8c744fa4fb0454f40c +DIST rbs-3.2.0.tar.gz 1147974 BLAKE2B 167d8ac64173c5e7b8bc44d9fbf66c6b2a4c01c8a91bb0d45f564dc2f0ca6b9d06f0f6adafa690214671ff74f28a6396f028f07f00b830b6d6695796ca74a68f SHA512 ef593e24356f4b0236e7fc77f3f919fec03d2bcb82e05c5d511c50bfdf1cd74a193f37a9aca430fca3a869987ee3fcb423a3be94bb364f9a39365d56303dde9e 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 +EBUILD rbs-3.2.0.ebuild 2047 BLAKE2B fb1005fc6120ef0981417e08d669f2da8734873f23d1a6fd149d613b25531b1e046670da77b5f11aaf9a8c0d82d989a940bc93de09cb1bec160d9c566a916b9b SHA512 4168c8deba5acac8f0326b1ed7862bb9377e724b0b3a3112fece7e5137a318a2816cf46083227362fb05c6ae6bc9dae8675524ef39ef993d6e7de246974cabef MISC metadata.xml 335 BLAKE2B 287ad52f77f7c62c6fa58fcdb9b1c1498cf39010ab26b6f98655beef9719ee5803844b1ab084788af70087e342a02806a8619a8dee472bf6d4d0b2ea54d2152f SHA512 75703ccbe3a15813f6fd3fca2489a9b39e586f59ff2cd89ec8d7a6293760a8789aed715565520f0f623746932bd756820eef960e45fea5f130d34cf4cd586cb5 diff --git a/dev-ruby/rbs/rbs-3.2.0.ebuild b/dev-ruby/rbs/rbs-3.2.0.ebuild new file mode 100644 index 000000000000..c66d09f9c28c --- /dev/null +++ b/dev-ruby/rbs/rbs-3.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +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_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_paths/aomit "Different paths in Gentoo test environment"' test/rbs/cli_test.rb || die +} |