From 95461df035e3867364495f065e5e805bf629b2d7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 26 Oct 2021 00:10:07 +0100 Subject: gentoo resync : 25.10.2021 --- dev-ruby/zeitwerk/Manifest | 2 ++ dev-ruby/zeitwerk/zeitwerk-2.5.1.ebuild | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-ruby/zeitwerk/zeitwerk-2.5.1.ebuild (limited to 'dev-ruby/zeitwerk') diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 39e91bd5bba1..8c8d94a0ecd0 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1,3 +1,5 @@ DIST zeitwerk-2.4.2.tar.gz 99974 BLAKE2B 5913561057a6d5cd9bfa4eb549770ca18de3aafa1549a40e5315cd1d71a2dec5f865e7bc79f6ab2a098e515a930c5f8c83b85c91d7dbe441fa8dfb08ffdbdb03 SHA512 774cc17a8732afea0a854ea22ec860fa5bca65e8743aa800017c06a251dfdb1d2c5af8e541cb56d22a4202a9faa42707ed2ad395d9472360cf64f46ce9b907f2 +DIST zeitwerk-2.5.1.tar.gz 107666 BLAKE2B d8049a1adfaa6b278b59298e46d4697b70121d0a599a286f91720b31a06cccd39424367fe9c1ffbb90b0862a9501115f808bcc4fd36f3a09081987ad706f89bd SHA512 4558a63f33d26f2aa05e5f6e417230902f14d4ade5bfb50cbd94d283b33e94e8486158f5b4c677c4dcd7b8bee51af165693593d303d1f07420fb5d4c72f918ea EBUILD zeitwerk-2.4.2.ebuild 900 BLAKE2B f944c93347913374c6f1d50e4cc48d2c499fd6fce7b10f411795fb5bb2708262fda6ede489ae3c32e6b8aa03f3f933d3f878ffc6e928c491d5ced3c203e87e98 SHA512 99dffffb4ed0dff209f0930224cd63b552ed3a3c8f229976d2887ce0cefd4132851e0aff0bcdbd1d8635c1cd35a255d13ce77824a802ceb217a7b1a62dea3748 +EBUILD zeitwerk-2.5.1.ebuild 895 BLAKE2B 68941ee133fd1cca03d2511d6fd1873c99b7a7c0466f11e96ab4058e698fc4a2ba1d872e40836f01f8b4269a1f844f31de7c3bf3dd2d5ad16512167aee049ab6 SHA512 41abf12a11547a12e2ae08b373dea6d25fd3eab58b8cf1db992915a6e23742a971260a60aa3ba6a35daeab9702495b876a0b84b04610f3891271d6c7fe639bd2 MISC metadata.xml 641 BLAKE2B 27f5d9950eee9945425ab5606b78e7c745345e49dcfc201b55bf52693b3882d44206a82af09134696e694e524202d9c43f642c0854bdcf640356db8f8c84972a SHA512 b744fa895c31a93a5566151b3b3d73308ad41a7b43638ccd9aa00c9fceda495279d32f56e9c68cf44adea06f0e6842e38324c2f20b412e46f05b78c35288869c diff --git a/dev-ruby/zeitwerk/zeitwerk-2.5.1.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.5.1.ebuild new file mode 100644 index 000000000000..1186d588ec56 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.5.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 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 +} -- cgit v1.2.3