summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-10-02 08:51:30 +0200
committerHans de Graaff <graaff@gentoo.org>2022-10-02 08:52:42 +0200
commit70e640292122527086875559620015d4094a6d8e (patch)
tree5271b8e3656f15597e1b28e3bfb71c72aa90c4e1 /dev-ruby/zeitwerk
parentdev-ruby/net-smtp: add 0.3.2 (diff)
downloadgentoo-70e640292122527086875559620015d4094a6d8e.tar.gz
gentoo-70e640292122527086875559620015d4094a6d8e.tar.bz2
gentoo-70e640292122527086875559620015d4094a6d8e.zip
dev-ruby/zeitwerk: add 2.6.1
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.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index f3a671bf1644..687b5775e57f 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -1,3 +1,4 @@
DIST zeitwerk-2.4.2.tar.gz 99974 BLAKE2B 5913561057a6d5cd9bfa4eb549770ca18de3aafa1549a40e5315cd1d71a2dec5f865e7bc79f6ab2a098e515a930c5f8c83b85c91d7dbe441fa8dfb08ffdbdb03 SHA512 774cc17a8732afea0a854ea22ec860fa5bca65e8743aa800017c06a251dfdb1d2c5af8e541cb56d22a4202a9faa42707ed2ad395d9472360cf64f46ce9b907f2
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
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.1.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.1.ebuild
new file mode 100644
index 000000000000..ba7cdf9bd9cf
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.6.1.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
+}