summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-03-06 08:10:20 +0100
committerHans de Graaff <graaff@gentoo.org>2020-03-06 08:10:38 +0100
commit804f68ca4bc926a918a209fcc6dc77da728c0e42 (patch)
treeb3f8e3744ecfcfff4ecab35a19e25a07e13bda0d /dev-ruby/zeitwerk
parentdev-ruby/acme-client: add 2.0.6 (diff)
downloadgentoo-804f68ca4bc926a918a209fcc6dc77da728c0e42.tar.gz
gentoo-804f68ca4bc926a918a209fcc6dc77da728c0e42.tar.bz2
gentoo-804f68ca4bc926a918a209fcc6dc77da728c0e42.zip
dev-ruby/zeitwerk: add 2.3.0
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.3.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index 0ee2161ae2fb..083939bf363f 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -2,3 +2,4 @@ DIST zeitwerk-1.4.3.tar.gz 84202 BLAKE2B 8e14790f4a5b5122efacbe89a0d1ede5c993356
DIST zeitwerk-2.1.10.tar.gz 92514 BLAKE2B 509cdaeecb8d7d369282a5fc9e8632a19eb2036881290b33a36deeb1953329ce6541ead79a1cd70c7467ea4ae4a0d9197b02009265ff0932e60030a2446f04c2 SHA512 6a6997c45fe322dd4a65832af450efd7e19d942868b9c948e795b7f5614f2f95a53fc29461fa831e0e525917e34c1e7a592970e1582a921227e9977cb669b74a
DIST zeitwerk-2.2.1.tar.gz 94726 BLAKE2B 6fb5fe08cc6a3845598ee70bcce5a6546b7fea8de547dc821c337ef3bd02983061edffb0d2ce1e1ab446b38ff282dc042a26532cff7604a9cdb9922d333deee4 SHA512 984740b981448edc539db06b268e16256ef4302f0d8d56b31c69a8f0324ded8eb1d77c3720b9e2e49723e4e0b4b5e4db538ecf5f24690930d336d7b0f0d246bc
DIST zeitwerk-2.2.2.tar.gz 94978 BLAKE2B 0920f7c1848eff586d0dfd2a15821fa38ccfe7d1d2945196a3cad534cb7ca740a30721b434ccf602e431bfdd16e87d6714fa0ac0edf60e6dcfa6398aae22dbaa SHA512 19b58ed4d9a04c9d3cb0f587ae8b824cca1a8bf44b2a484d7ea1c3a0a8b378b66174172a3e4adec75853602bfef0c6fd3be5205eacdcad96ef87dce26d7ba5a7
+DIST zeitwerk-2.3.0.tar.gz 95973 BLAKE2B c484d40587d7ce52e257eb90bf543a573b6512bdd833809316c9407cd275dfc9aad703982477e1c601510d5e0703449bf2794505156fc51283ad1989c8724758 SHA512 e891b2fda9375f1e459dce2adc2f1b2128bd20a2f7e617ae27967b3bd0927689f5134aa42b098fdd077c089bf2debcf0a88b7b3fd89a97ac44dc9c9fbc72f14e
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.3.0.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.3.0.ebuild
new file mode 100644
index 000000000000..fd64ef3daf3d
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.3.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="ruby24 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 ~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
+}