summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-11-02 06:40:30 +0100
committerHans de Graaff <graaff@gentoo.org>2019-11-02 06:40:30 +0100
commit96014dbe6345d51f19117c78dfa268588e39ae11 (patch)
treee45eacde1bf0ba6bd9570cbf3909314464161e33 /dev-ruby/zeitwerk
parentdev-ruby/tins: add 1.22.0 (diff)
downloadgentoo-96014dbe6345d51f19117c78dfa268588e39ae11.tar.gz
gentoo-96014dbe6345d51f19117c78dfa268588e39ae11.tar.bz2
gentoo-96014dbe6345d51f19117c78dfa268588e39ae11.zip
dev-ruby/zeitwerk: add 2.2.1
Package-Manager: Portage-2.3.76, Repoman-2.3.16 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.2.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index caa94f2a9aeb..2a9f131cd234 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -3,3 +3,4 @@ DIST zeitwerk-2.1.10.tar.gz 92514 BLAKE2B 509cdaeecb8d7d369282a5fc9e8632a19eb203
DIST zeitwerk-2.1.8.tar.gz 90774 BLAKE2B b42c56937b5f9709ce05125ab9358012f4132a49f23a3a56f464aed0c20ba7582e77e7d6cb65d2607d75eed089140827efcec14a2ffe8dd1adb3ead3c10fc882 SHA512 14db7e467b45536cb796f7dae4ca96e8167be023a562cc723843b1a63586ec6678ed23cb3307c3389ce5dba099c70dbdd257d23f5ce649af676aea795fa36243
DIST zeitwerk-2.1.9.tar.gz 92046 BLAKE2B e4b48c9de3ee575d6b82427211e129478c9839d5716472896f2d6056ba42b7aaf861e644f92329af5034d92092bf02789f04cf6e5d6390151601eb138d7dfa58 SHA512 15de54c5e5b4042e99109707240627aaf5b76f4bf21a1a94d1230c1973404fdeecdc5f64ab16f75158608f64865ff8cc55f4841091c76e2731cc274b0109f677
DIST zeitwerk-2.2.0.tar.gz 94494 BLAKE2B 7000628d230c6f65ced2202a924afdbed9092e4f9520cb49f41323c36ace441e1e4e37aa914fed9ff25498f246ef09dff835540624ce4eeacfe26e6c37106d1c SHA512 cebe2f3169cd7a3a3a477f24eaa81048fd5988d7e846bf95bfe6e06da54ade0cf22808319defa1b7a9603550f2a4c075cc5284cf7b53b1899555c3cb5d756e05
+DIST zeitwerk-2.2.1.tar.gz 94726 BLAKE2B 6fb5fe08cc6a3845598ee70bcce5a6546b7fea8de547dc821c337ef3bd02983061edffb0d2ce1e1ab446b38ff282dc042a26532cff7604a9cdb9922d333deee4 SHA512 984740b981448edc539db06b268e16256ef4302f0d8d56b31c69a8f0324ded8eb1d77c3720b9e2e49723e4e0b4b5e4db538ecf5f24690930d336d7b0f0d246bc
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.2.1.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.2.1.ebuild
new file mode 100644
index 000000000000..71326b63c151
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 ~x86"
+IUSE=""
+
+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
+}