diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-07-31 07:35:28 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-07-31 08:03:01 +0200 |
commit | be6cfcd04fed779767431c2e272e1e5b1e9c428b (patch) | |
tree | 9995faee5be74cc94dadcaa38ae6b2f5f51bab86 /dev-ruby/zeitwerk | |
parent | dev-ruby/racc: add 1.8.1 (diff) | |
download | gentoo-be6cfcd04fed779767431c2e272e1e5b1e9c428b.tar.gz gentoo-be6cfcd04fed779767431c2e272e1e5b1e9c428b.tar.bz2 gentoo-be6cfcd04fed779767431c2e272e1e5b1e9c428b.zip |
dev-ruby/zeitwerk: add 2.6.17
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/zeitwerk')
-rw-r--r-- | dev-ruby/zeitwerk/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/zeitwerk/zeitwerk-2.6.17.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index b2c4f1d75094..5717f2cc8212 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1,3 +1,4 @@ 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.17.tar.gz 130738 BLAKE2B cdd81b295108102f83364e1f1c30b58ae56227fd3bcce9c5580ed678009654ce406f02435df254dd20074a9425f7c85ebca4b86f0b6cc9ee673fb9cd3912bad8 SHA512 7bb4e40023e2e7a9283dffd0fb3a0d1792cf2efbc03f8a8a4c2536d4041101f4c1aea12ada76ae0f3c919a81d08b4f1f5bd49390d25f4695b3d17d8a7b2d217b DIST zeitwerk-2.6.8.tar.gz 124209 BLAKE2B 7274b0e9cd55d48fa619d1e9da44074268186c119584fdc3ba18656db33884ec2e24a76ace863d18b0ec51601cde5a3cb9ed35889dcfd3f619960ddfcb1465c6 SHA512 b0609f7d38572d95bdf1a065a9051a7c39b15a7910e354981c991862692e2535477b4abd0a3c623a5d37e53622d95566ecf0d0243ca96fef59f0135693731a71 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.17.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.17.ebuild new file mode 100644 index 000000000000..eb0be93eb354 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.6.17.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 +} |