summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-11-01 07:39:44 +0100
committerHans de Graaff <graaff@gentoo.org>2022-11-01 07:39:44 +0100
commit80f72a58940929e314cb7961a12b344d83ce423a (patch)
tree214c4a148e7ec1074bdf7e3db1056ceaa885ad74 /dev-ruby
parentdev-ruby/zeitwerk: stabilize 2.5.4 for amd64 (diff)
downloadgentoo-80f72a58940929e314cb7961a12b344d83ce423a.tar.gz
gentoo-80f72a58940929e314cb7961a12b344d83ce423a.tar.bz2
gentoo-80f72a58940929e314cb7961a12b344d83ce423a.zip
dev-ruby/zeitwerk: add 2.6.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/zeitwerk/Manifest1
-rw-r--r--dev-ruby/zeitwerk/zeitwerk-2.6.3.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index 687b5775e57f..d4684b28a311 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -2,3 +2,4 @@ DIST zeitwerk-2.4.2.tar.gz 99974 BLAKE2B 5913561057a6d5cd9bfa4eb549770ca18de3aaf
DIST zeitwerk-2.5.4.tar.gz 109202 BLAKE2B 4c1302bdb6ac30afbb23ea06ef2ac2ecea9c8139c36f1b766ec6f62bb6a77faf1efa3f670cb31b5073a6dc36d6a0bd8d66a937d8b84b12438411a7f2df29eeed SHA512 f7a4b88c030b2eeae5ba07c6e01900fa66312a58e5c9da3d13a293d0959d67bbcfb385de5790e1764188752dfc9de161c202b35e0e35ed6e0cca7bbc2c2f6c83
DIST zeitwerk-2.6.0.tar.gz 112854 BLAKE2B 5549624fdf793fa37bd8c45679246e0297ba96d95175a63f0cb7093fae85804d1eac9506ad539a256e9b3237816ec0ef29ecd4461bdfbef52bfbd1c6964d2f8d SHA512 750aade9b995b3e889d15bd4d6bd6bf267999ee1fd4b44bd9a32db083f19e86d0ce12f673f84f2b79629e1fee409f587fb2829e76ac23a23898dbb18cbb58b0b
DIST zeitwerk-2.6.1.tar.gz 113558 BLAKE2B 965992dac9fd18482e568dbc2a5a4806f2af7a8f7e5ab669bf81e51b7e2dde73c054ba9220027970c9b525b09f7042fee426b3dbac49ae51fcbceab978fec2a1 SHA512 d8eb9b2e9f7f4a1a4e0e0f5d0cf877810ce0b3dba818446e8b2ccfc238fea20f5fd58c22b86369e72e8ed0af174eef51ced59bad9e29a473a9cb0c374a240b64
+DIST zeitwerk-2.6.3.tar.gz 120199 BLAKE2B 8c0da2569af6dace925fd9c61066fcfe71a1bbd793ae81c157a1dcd0039be27d1e5f63dc8602b9a264f68d954cdddfe63a8b75ba1143cba98d37a69e8c5efa6d SHA512 77367a0632333eb50d6160eeab519133d806e5a37259fbf2f00be2edc3570bc8d16e83dda7cdad719816eaf8ab48f68ec47b49f5f920e7941b9f9461e3eef51b
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.3.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.3.ebuild
new file mode 100644
index 000000000000..ba7cdf9bd9cf
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.6.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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 ~s390 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bundler )"
+
+all_ruby_prepare() {
+ rm -f Gemfile.lock || die
+ sed -i -e '/\(focus\|reporters\|Reporters\)/ 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
+}