diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-11-30 08:21:06 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-11-30 08:21:06 +0100 |
commit | dcc0f4a93cdde5d1fac6893c77aba72efffc21e9 (patch) | |
tree | cc21953d32909120be4a6517b845e38adc964c74 | |
parent | arm6/use.mask: unmask py3.7 for real now (diff) | |
download | gentoo-dcc0f4a93cdde5d1fac6893c77aba72efffc21e9.tar.gz gentoo-dcc0f4a93cdde5d1fac6893c77aba72efffc21e9.tar.bz2 gentoo-dcc0f4a93cdde5d1fac6893c77aba72efffc21e9.zip |
dev-ruby/zeitwerk: add 2.2.2
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/zeitwerk/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/zeitwerk/zeitwerk-2.2.2.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 2a9f131cd234..5a8a50003a5d 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -4,3 +4,4 @@ DIST zeitwerk-2.1.8.tar.gz 90774 BLAKE2B b42c56937b5f9709ce05125ab9358012f4132a4 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 +DIST zeitwerk-2.2.2.tar.gz 94978 BLAKE2B 0920f7c1848eff586d0dfd2a15821fa38ccfe7d1d2945196a3cad534cb7ca740a30721b434ccf602e431bfdd16e87d6714fa0ac0edf60e6dcfa6398aae22dbaa SHA512 19b58ed4d9a04c9d3cb0f587ae8b824cca1a8bf44b2a484d7ea1c3a0a8b378b66174172a3e4adec75853602bfef0c6fd3be5205eacdcad96ef87dce26d7ba5a7 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.2.2.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.2.2.ebuild new file mode 100644 index 000000000000..8a64078e7f5e --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.2.2.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 ~hppa ~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 +} |