summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-07-15 05:24:18 +0200
committerHans de Graaff <graaff@gentoo.org>2020-07-15 05:24:18 +0200
commitc2e8b082e6020f2c907c41d22c4b250f336b657a (patch)
treeee5a11501602855722753b7b5318dfdcac11c581 /dev-ruby/zeitwerk
parentdev-ruby/rouge: add 3.21.0 (diff)
downloadgentoo-c2e8b082e6020f2c907c41d22c4b250f336b657a.tar.gz
gentoo-c2e8b082e6020f2c907c41d22c4b250f336b657a.tar.bz2
gentoo-c2e8b082e6020f2c907c41d22c4b250f336b657a.zip
dev-ruby/zeitwerk: add 2.4.0
Package-Manager: Portage-2.3.99, Repoman-2.3.23 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.4.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index ba56e989491c..4e76bdefe441 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -4,3 +4,4 @@ DIST zeitwerk-2.2.1.tar.gz 94726 BLAKE2B 6fb5fe08cc6a3845598ee70bcce5a6546b7fea8
DIST zeitwerk-2.2.2.tar.gz 94978 BLAKE2B 0920f7c1848eff586d0dfd2a15821fa38ccfe7d1d2945196a3cad534cb7ca740a30721b434ccf602e431bfdd16e87d6714fa0ac0edf60e6dcfa6398aae22dbaa SHA512 19b58ed4d9a04c9d3cb0f587ae8b824cca1a8bf44b2a484d7ea1c3a0a8b378b66174172a3e4adec75853602bfef0c6fd3be5205eacdcad96ef87dce26d7ba5a7
DIST zeitwerk-2.3.0.tar.gz 95973 BLAKE2B c484d40587d7ce52e257eb90bf543a573b6512bdd833809316c9407cd275dfc9aad703982477e1c601510d5e0703449bf2794505156fc51283ad1989c8724758 SHA512 e891b2fda9375f1e459dce2adc2f1b2128bd20a2f7e617ae27967b3bd0927689f5134aa42b098fdd077c089bf2debcf0a88b7b3fd89a97ac44dc9c9fbc72f14e
DIST zeitwerk-2.3.1.tar.gz 97616 BLAKE2B d5b387f9a02c5f0250b709d144bc833a0f20164ab3065483cba177078fc04ada7fda99bbe5efa7c6481ae6c21006b6d9a73a31e18f40b19f9183efcf7f0f76cf SHA512 b0f782afde6f3a60e6dc3440316689ba39542e3c9d57129a433a0ea967869ca32d79ab1c522d84091b29a698e80ced31f94c9d12592f310945c4267d1e72b5f0
+DIST zeitwerk-2.4.0.tar.gz 98493 BLAKE2B 60b03153fc90b371d4b1ef59c7f61dd2f577a39ddcf946d8b1a52a2b982164260bc1fe86f79cb9c7937151e93d38a4dfbad7876d384d88b7f43161e1fd66c4e5 SHA512 2538cda71d5e1d381d8d455eba5e6fa115096ec36765d5ad11ee9f33d34d0d08ab594e6788f92053f76d239ec9b52027cb97c07e19d96852f4dc8767dc8e3057
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.4.0.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.4.0.ebuild
new file mode 100644
index 000000000000..827d557e2223
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.4.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+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 ~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
+}