summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-11-18 08:49:19 +0100
committerHans de Graaff <graaff@gentoo.org>2022-11-18 12:55:17 +0100
commit11dab729793c720ad2c37950ff592bfe480b67c1 (patch)
tree7705da1ed4c253821cd181da80572a1decb31863 /dev-ruby/zeitwerk
parentdev-ruby/tins: add 1.32.0 (diff)
downloadgentoo-11dab729793c720ad2c37950ff592bfe480b67c1.tar.gz
gentoo-11dab729793c720ad2c37950ff592bfe480b67c1.tar.bz2
gentoo-11dab729793c720ad2c37950ff592bfe480b67c1.zip
dev-ruby/zeitwerk: add 2.6.6
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.6.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index d4684b28a311..732ae8ec92e6 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -3,3 +3,4 @@ DIST zeitwerk-2.5.4.tar.gz 109202 BLAKE2B 4c1302bdb6ac30afbb23ea06ef2ac2ecea9c81
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
+DIST zeitwerk-2.6.6.tar.gz 121370 BLAKE2B af3d8d02e3547ae35e6efdda82c50676dcfbb60ddc07710116e6da8e56c63dadec4ec0526fd9e0da4ebcde91de1be6faf0308ef10fcae01b4d9362768fd1dc7c SHA512 1e3cf2961f06d9409cb9992126da298c2f183b73660357301a60dc9b3d1c649701b5d886185b38a233a94a1757d13e684e012d569af1bd5935ccca413bdbc745
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.6.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.6.ebuild
new file mode 100644
index 000000000000..ba7cdf9bd9cf
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.6.6.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
+}