commit: 15e926ece618622e763f5a5c8fa27c3070faa50f Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Jan 16 07:28:59 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jan 16 07:28:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e926ec
dev-ruby/zeitwerk: add 2.5.3 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/zeitwerk/Manifest | 1 + dev-ruby/zeitwerk/zeitwerk-2.5.3.ebuild | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 474c756f26df..527fbc55a4fc 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.1.tar.gz 107666 BLAKE2B d8049a1adfaa6b278b59298e46d4697b70121d0a599a286f91720b31a06cccd39424367fe9c1ffbb90b0862a9501115f808bcc4fd36f3a09081987ad706f89bd SHA512 4558a63f33d26f2aa05e5f6e417230902f14d4ade5bfb50cbd94d283b33e94e8486158f5b4c677c4dcd7b8bee51af165693593d303d1f07420fb5d4c72f918ea DIST zeitwerk-2.5.2.tar.gz 108139 BLAKE2B d4277dc79729e39bd63b066b12ad4d91d9457e8e7a836c2e24606f6d343c85ce59febaa0425ab10f96d8d327935beede285a5ae52cfeff37210b36b0bcaf22db SHA512 0e8be7500163761a75518b002eb8ca9e41d0d073f0d03443af4a57fef07ee647de3faafaf79791328c4b2b9a6f5898e1038b310b697485a363af486f36509393 +DIST zeitwerk-2.5.3.tar.gz 108192 BLAKE2B a91c76530df7703c08aa58babcfde5520fc9ca00f804e2dd217b19664256986dadd3ffa19879d3a3f6402ae186faa08f14e5b080f415345b189821b578b76c1b SHA512 641bb89a14e5bc65dcb078a93b5669266e2ffe10395416473c243b840c425de200bd9336817c44e7affe570fb0a41811cfba54a4c04d9fb6f56ceca96b504ac4 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.5.3.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.5.3.ebuild new file mode 100644 index 000000000000..21985abf3cd9 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.5.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="ruby26 ruby27 ruby30" + +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 ~ppc ~ppc64 ~riscv ~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 +}