summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-05-27 07:03:25 +0200
committerHans de Graaff <graaff@gentoo.org>2024-05-27 07:04:34 +0200
commit9a6a59d5396e2f712693ac2032764923bf2304ca (patch)
treeab6011a7545f3f1b148f266b765407911dd0ef98 /dev-ruby/zeitwerk
parentdev-ruby/terminal-table: enable ruby33 (diff)
downloadgentoo-9a6a59d5396e2f712693ac2032764923bf2304ca.tar.gz
gentoo-9a6a59d5396e2f712693ac2032764923bf2304ca.tar.bz2
gentoo-9a6a59d5396e2f712693ac2032764923bf2304ca.zip
dev-ruby/zeitwerk: add 2.6.15
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/zeitwerk')
-rw-r--r--dev-ruby/zeitwerk/Manifest1
-rw-r--r--dev-ruby/zeitwerk/zeitwerk-2.6.15.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index 50d88b93b807..b37bf9056997 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -2,4 +2,5 @@ DIST zeitwerk-2.6.11.tar.gz 127029 BLAKE2B 7d810c1b6087522757e60ed0d70fe73dc8633
DIST zeitwerk-2.6.12.tar.gz 127162 BLAKE2B 863e9ff44c14843378e49b34c1ce7694d8d5026f823df5abf69c810f01e3affe9a96de5b615b2d04ab5d71f61e24d42df5b72ef4a415f238428efb4914ac695d SHA512 9d153ed6833a799b0cc2fcbeacab9daca4ef94c2b3871ec5a5cc79cb413f845d53901a875d7b4f2d2b13bd18e2aa9f0858642b76ef3550a1b58f90a9f5d54e9e
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.8.tar.gz 124209 BLAKE2B 7274b0e9cd55d48fa619d1e9da44074268186c119584fdc3ba18656db33884ec2e24a76ace863d18b0ec51601cde5a3cb9ed35889dcfd3f619960ddfcb1465c6 SHA512 b0609f7d38572d95bdf1a065a9051a7c39b15a7910e354981c991862692e2535477b4abd0a3c623a5d37e53622d95566ecf0d0243ca96fef59f0135693731a71
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.15.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.15.ebuild
new file mode 100644
index 000000000000..eb0be93eb354
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.6.15.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
+}