diff options
Diffstat (limited to 'dev-ruby/rb-readline')
-rw-r--r-- | dev-ruby/rb-readline/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/rb-readline/Manifest b/dev-ruby/rb-readline/Manifest index 1f0fa549a480..dac9c56dd213 100644 --- a/dev-ruby/rb-readline/Manifest +++ b/dev-ruby/rb-readline/Manifest @@ -1,3 +1,4 @@ DIST rb-readline-0.5.5.gem 96768 BLAKE2B d854731957dad1dc6abe6a6e1ed72397e49faf08314c8af568c0f8e6412ecaa38e937a807ac326af4f306f24dfe89a51b830663cca1544a3618ec2aaa6cbd1b9 SHA512 53ed9919eb2c057d2b26e87ba0ecabc73f0aed7fa22398b9e7f98e82bd7a0ed7ca89cb1944bf94400bf4289d6fb404aadb9a2781fa964e2f4c77d7e218e459ae +EBUILD rb-readline-0.5.5-r1.ebuild 650 BLAKE2B c50d5ce7150589e7863ee01dbe96a5adc1713ad7ae5338137e1bfbe44df6f7ed73829a3549b5eceb936328d5bd5644174e929adabad5fa34e339fa53cef5e851 SHA512 7491a13672cf2e345191c053664cdc3d85e20f6d3bc1fbdfe53a1e7bb6b8efaf0c5d8b0eba6ed10d151a6fb121be6ef5b948f32bb9ba6fd60cee190fe6c01147 EBUILD rb-readline-0.5.5.ebuild 681 BLAKE2B 38422e549a648b38520bc5de3fdf8584c91267f53bef2ec71f2f5676576c6e3032cd617ed4b03e7ea1aaa91013c6a570e0ffc924f6ed9053310a722486d833b3 SHA512 a936cf7b31130488ec26106705483b9813d6b40a57cb6692f8741404d48c7e7126996aef0db9fa7c3d4f2a470045bfdadf813e3b94cdb1e35b9d1ff34d5aa608 MISC metadata.xml 438 BLAKE2B 66ef274444ce68aaed0327570260b660b95626f56762e3c3e0d91e3addf63dc4c0fc9d756a1cdb27b283b3965d4689c1cef39d829a6133e96055e93f0636f021 SHA512 a23b1312aa9254c799643938f153d9e6c305fc737f372210c12b542773e27f0eebb01445d335acf06c47e5532fc86b6043d7ed610c6d78cc41773fdbcd9a7844 diff --git a/dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild b/dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild new file mode 100644 index 000000000000..96b7e3a4e22b --- /dev/null +++ b/dev-ruby/rb-readline/rb-readline-0.5.5-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +inherit ruby-fakegem + +DESCRIPTION="Ruby implementation of the GNU readline C library" +HOMEPAGE="https://rubygems.org/gems/rb-readline" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +ruby_add_bdepend "dev-ruby/rake + >=dev-ruby/minitest-5.2" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Skip a test that fails when run in the ebuild environment. + sed -i -e '/test_readline_with_default_parameters_does_not_error/,/end/ s:^:#:' test/test_readline.rb || die +} |