diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-16 07:49:11 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-16 07:49:33 +0200 |
commit | 455e1a67bad4ebc25f6c188001d86dfbc68ce0c4 (patch) | |
tree | e09362b31c670d1efa6d36bcdd18ff23565dd775 /dev-ruby | |
parent | dev-ruby/rubyntlm: add 0.6.5 (diff) | |
download | gentoo-455e1a67bad4ebc25f6c188001d86dfbc68ce0c4.tar.gz gentoo-455e1a67bad4ebc25f6c188001d86dfbc68ce0c4.tar.bz2 gentoo-455e1a67bad4ebc25f6c188001d86dfbc68ce0c4.zip |
dev-ruby/zeitwerk: add 2.6.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/zeitwerk/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/zeitwerk/zeitwerk-2.6.16.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 331b81a7065c..b764e651f403 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1,4 +1,5 @@ DIST zeitwerk-2.6.13.tar.gz 127927 BLAKE2B 434da46147eb90d171a93a415dc3cca9c326136efd29a9fa46794dfc5bfcb5fc424fa5f64215281c36473d857c81895758129a0f779f13f6dc536839e240d455 SHA512 4ce3406cc77123439f3499d3f60030d043e9fca6ab1921ec95a5be58a0d4f2af22de06c1e0f48ad9a463f194f2f851eb0d815a1d7f35d9f6a6c0cb2ab3bd403d DIST zeitwerk-2.6.14.tar.gz 129775 BLAKE2B d8698cc80c80f7d8a7be1f6858f466a4f192bbbbb0714ff36f5afd2e9f72359c29d555e32f331a371052034b99e23aca3df4ee49bfbd47c82f53cc20bae2ffd9 SHA512 16041527268623be5ed910cca66a06975d92c9fc74c1afb56dd6b0ec042080b7d9e45d1378de60dfcb069042f7ae2c05c84e262b8e0f39c70878348b205f7bca DIST zeitwerk-2.6.15.tar.gz 129919 BLAKE2B 2a49464a99c97ac1f927d462d87d531e61667e029d4735eb6ac6e8a4c30ab8f542affa4125a0aa768bdedd3c7b5cb75c57a5e1b1cbb0da8f5c5d898f482b240c SHA512 c83bfe793fa4853df461160376fe41359f96bca41d943f77714d69368004373dce007c8aa2f3bb1f796f4036e6a0bc51c670b6b85c137dd0c01919314f56d6ca +DIST zeitwerk-2.6.16.tar.gz 130657 BLAKE2B a51226a252d13b12f7ec91d0edfaeb814c8de574ab923b98f78058ed1e9c11758abebfbc1896c7cf792b0094dafa49a066de5ba3cd8faa480a83fd68da29f30c SHA512 420b053d3ab09443e67e1b386b61d9fbbd1362740fbe155d817f998d8197fec7fa9e5206eecb47a81a9ebeebd65830023b0f86fa05f19db22761c9d931ff83fd DIST zeitwerk-2.6.8.tar.gz 124209 BLAKE2B 7274b0e9cd55d48fa619d1e9da44074268186c119584fdc3ba18656db33884ec2e24a76ace863d18b0ec51601cde5a3cb9ed35889dcfd3f619960ddfcb1465c6 SHA512 b0609f7d38572d95bdf1a065a9051a7c39b15a7910e354981c991862692e2535477b4abd0a3c623a5d37e53622d95566ecf0d0243ca96fef59f0135693731a71 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.16.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.16.ebuild new file mode 100644 index 000000000000..eb0be93eb354 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.6.16.ebuild @@ -0,0 +1,37 @@ +# 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_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/warning )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + # Dropping proveit should be fine based on https://github.com/fxn/zeitwerk/pull/253 + # It's more of a quality check for the tests themselves rather than a test + sed -i -e '/\(focus\|reporters\|Reporters\|prove_\?it\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} |