public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbs/
Date: Mon, 09 Jun 2025 09:40:39 +0000 (UTC)	[thread overview]
Message-ID: <1749462020.ff4be9d9b6572c751554e95ee3abb8fd4a74ab49.graaff@gentoo> (raw)

commit:     ff4be9d9b6572c751554e95ee3abb8fd4a74ab49
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  9 09:39:28 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 09:40:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4be9d9

dev-ruby/rbs: add 3.9.4

Depend on old dev-ruby/rdoc version to make tests pass.

Closes: https://bugs.gentoo.org/956430
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rbs/Manifest         |  1 +
 dev-ruby/rbs/rbs-3.9.4.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest
index 4b4c6036debb..55a24eded29d 100644
--- a/dev-ruby/rbs/Manifest
+++ b/dev-ruby/rbs/Manifest
@@ -3,3 +3,4 @@ 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.8.1.tar.gz 1295196 BLAKE2B 6821b1f1b35a326e4d89566ab7f7687018683da6a47b7f17e91605bf401624646a3fdea2e87d744bc3104d6282170f6b5fdc953d260f833976149089c3b43094 SHA512 e9ed09d493fac14f0aa9f1b97a440a2d424188cad3e4a4f62f5e1b5a34641e5c004b9de518327076bc0cf69d268391150ce74ca40ec36ac40964d87c9c7c1915
+DIST rbs-3.9.4.tar.gz 1308844 BLAKE2B fd614ab3c46637d5ff55948177d7932fddef823db930f6204c358bfbf8ed0d9fd9e97884350affa55e73f3314a769fdc14f8a3e6a5dd75725d560d2132a6d685 SHA512 fc81b03b3e57105164f0d1b76124b19344a95481eced4feda3eaf84009ca73f3d2aafd483813fdd2b0e0a544a670125094a11f680095e457339bcbcc14e74754

diff --git a/dev-ruby/rbs/rbs-3.9.4.ebuild b/dev-ruby/rbs/rbs-3.9.4.ebuild
new file mode 100644
index 000000000000..f16dbeae8b77
--- /dev/null
+++ b/dev-ruby/rbs/rbs-3.9.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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-6.12.0 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
+}


             reply	other threads:[~2025-06-09  9:40 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-09  9:40 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-10 12:10 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbs/ Hans de Graaff
2025-06-02 10:48 Hans de Graaff
2025-05-21 10:56 Arthur Zamarin
2025-05-20 21:01 Sam James
2025-05-18 10:43 Arthur Zamarin
2025-01-03  8:31 Hans de Graaff
2024-12-29  9:06 Hans de Graaff
2024-12-25  5:25 Hans de Graaff
2024-12-07  8:28 Hans de Graaff
2024-11-14 18:41 Sam James
2024-11-14  4:35 Sam James
2024-11-14  3:39 Sam James
2024-11-14  3:39 Sam James
2024-10-15 14:33 Sam James
2024-10-09 15:59 Arthur Zamarin
2024-10-08 20:40 Arthur Zamarin
2024-10-08 20:29 Arthur Zamarin
2024-10-07  2:49 Sam James
2024-10-06 12:01 Sam James
2024-10-05  7:00 Hans de Graaff
2024-10-05  7:00 Hans de Graaff
2024-09-03  5:25 Hans de Graaff
2024-07-17  4:38 Viorel Munteanu
2024-07-11  6:41 Hans de Graaff
2024-07-02  3:56 Ionen Wolkens
2024-07-02  3:56 Ionen Wolkens
2024-06-12  7:08 Sam James
2024-06-09  6:49 Hans de Graaff
2024-06-08  5:51 Arthur Zamarin
2024-05-28  1:59 Sam James
2024-05-26  9:26 Hans de Graaff
2024-03-14  5:48 Hans de Graaff
2024-01-20 10:26 Hans de Graaff
2023-12-27 13:55 Hans de Graaff
2023-12-27  7:23 Hans de Graaff
2023-12-26 15:53 Hans de Graaff
2023-12-25 10:34 Hans de Graaff
2023-09-28  4:38 Hans de Graaff
2023-08-30  5:25 Hans de Graaff
2023-08-23  4:33 Hans de Graaff
2023-08-17  5:08 Hans de Graaff
2023-08-17  5:08 Hans de Graaff
2023-08-02 13:19 Sam James
2023-04-27 11:25 Hans de Graaff
2023-04-23 23:21 Sam James
2023-04-23 23:19 Sam James
2023-04-23 23:01 Sam James
2023-04-16 23:23 Sam James
2023-04-10 11:03 Sam James
2023-04-10 10:56 Sam James
2023-04-10 10:56 Sam James
2023-04-10 10:56 Sam James
2023-03-28 19:39 Sam James
2023-03-28 19:29 Sam James
2023-03-28 19:15 Sam James
2023-03-28 19:05 Arthur Zamarin
2023-03-19  7:14 Hans de Graaff
2023-03-19  7:14 Hans de Graaff
2023-03-04 10:25 Hans de Graaff
2023-02-03  6:26 Sam James
2023-01-21  7:20 Hans de Graaff
2023-01-15 15:22 Sam James
2023-01-15 15:14 Sam James
2023-01-15 15:14 Sam James
2023-01-15 12:53 Sam James
2023-01-15 12:53 Sam James
2023-01-15 12:44 Sam James
2023-01-08  7:49 Hans de Graaff
2022-12-24 15:00 Hans de Graaff
2022-11-28  7:01 Hans de Graaff
2022-11-26 13:58 Hans de Graaff
2022-08-27  6:18 Hans de Graaff
2022-06-22  4:35 Hans de Graaff
2022-05-22  8:03 Hans de Graaff
2022-05-22  8:03 Hans de Graaff
2022-05-17 14:18 WANG Xuerui
2022-04-23  5:14 Hans de Graaff
2022-04-07  5:46 Hans de Graaff
2022-03-19 12:00 Hans de Graaff
2022-03-12  7:21 Hans de Graaff
2022-02-27  9:28 Hans de Graaff
2021-08-27  7:09 Hans de Graaff
2021-08-27  7:09 Hans de Graaff
2021-08-04  6:41 Hans de Graaff
2021-07-27  6:30 Hans de Graaff
2021-07-22  4:45 Hans de Graaff
2021-07-22  4:45 Hans de Graaff
2021-07-21 15:39 Marek Szuba
2021-05-28  5:29 Hans de Graaff
2021-04-25  6:19 Hans de Graaff
2021-04-25  6:19 Hans de Graaff
2021-03-12  7:31 Hans de Graaff
2021-03-08  7:18 Hans de Graaff
2021-02-19  6:47 Hans de Graaff
2021-01-31  9:42 Hans de Graaff
2020-12-28  8:32 Hans de Graaff
2020-12-28  7:46 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1749462020.ff4be9d9b6572c751554e95ee3abb8fd4a74ab49.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox