diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-10-23 08:06:51 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-10-23 08:08:01 +0200 |
commit | c80075b052e4cdb919a203c1551b11188e36d563 (patch) | |
tree | 627f0f3c273f062635a2d98b1e17d774ed7507d5 /dev-ruby/zeitwerk | |
parent | dev-ruby/importmap-rails: add 2.0.3 (diff) | |
download | gentoo-c80075b052e4cdb919a203c1551b11188e36d563.tar.gz gentoo-c80075b052e4cdb919a203c1551b11188e36d563.tar.bz2 gentoo-c80075b052e4cdb919a203c1551b11188e36d563.zip |
dev-ruby/zeitwerk: add 2.7.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/zeitwerk')
-rw-r--r-- | dev-ruby/zeitwerk/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/zeitwerk/zeitwerk-2.7.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index d78fc838253b..5ae86e9e02a7 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -4,3 +4,4 @@ DIST zeitwerk-2.6.17.tar.gz 130738 BLAKE2B cdd81b295108102f83364e1f1c30b58ae5622 DIST zeitwerk-2.6.18.tar.gz 130995 BLAKE2B 05dc3f5deb1c7e3d9967a473a9672b943605ae66e93e2b2201f4d51dac6fc168c5966785f9b911b76afe5523c0d48f203e10d157e7250ec8a3a1d6e59683de56 SHA512 4d2f8338d2ed2a91178345fb1d4b7b1a9f5317d6b1ca538bf6824cbb76951d20f3e44df5e5ad9274900787662f3efce657f15f617e1639f06b3430344d927281 DIST zeitwerk-2.6.8.tar.gz 124209 BLAKE2B 7274b0e9cd55d48fa619d1e9da44074268186c119584fdc3ba18656db33884ec2e24a76ace863d18b0ec51601cde5a3cb9ed35889dcfd3f619960ddfcb1465c6 SHA512 b0609f7d38572d95bdf1a065a9051a7c39b15a7910e354981c991862692e2535477b4abd0a3c623a5d37e53622d95566ecf0d0243ca96fef59f0135693731a71 DIST zeitwerk-2.7.0.tar.gz 129163 BLAKE2B 3c90a6d20f645f662f17bcfad39fe2cf5377c0308b9f5bcc02ae5ce3d7a24e99ae156002fb10aab79c0779efeb32d9966cd2bd3c0da51505f71c1912a570ec8c SHA512 a3699493a1a07b973a9c5e2fc2d894643d3b36a678cb63a0a9a60a069f2e108e8929ffbcc2f4285c13a189ac4732bc17245c0ace3078b12a744edf3036f6bd11 +DIST zeitwerk-2.7.1.tar.gz 129956 BLAKE2B 31a74191348b198e593eb35517dcc6c77980ef07047bf2a73ce8be6efc4cb0b07d005068fb9a178ec3d0d63e385c335f656fb5f39f2d344a8dbdf97f9f2e3015 SHA512 b55cee3b944888b01779adebfb979496185d4e80231ec55d9195dd786468bba10b552925bd04d152d338f88adde47f01e879ba0e9bf02654a8221d1f59f71856 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.7.1.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.7.1.ebuild new file mode 100644 index 000000000000..7901e88e5a88 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.7.1.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="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 ~s390 ~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 +} |