summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-02-11 07:15:47 +0100
committerHans de Graaff <graaff@gentoo.org>2017-02-11 07:15:47 +0100
commit86ff7174bd41baa8e5d82b34567feea735600acd (patch)
tree85115897a47673b53a4e537d922df220081844b1 /dev-ruby/rb-readline
parentkde-plasma/kscreenlocker: backport patch from upstream removing bogus dependency (diff)
downloadgentoo-86ff7174bd41baa8e5d82b34567feea735600acd.tar.gz
gentoo-86ff7174bd41baa8e5d82b34567feea735600acd.tar.bz2
gentoo-86ff7174bd41baa8e5d82b34567feea735600acd.zip
dev-ruby/rb-readline: add 0.5.4
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/rb-readline')
-rw-r--r--dev-ruby/rb-readline/Manifest1
-rw-r--r--dev-ruby/rb-readline/rb-readline-0.5.4.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/rb-readline/Manifest b/dev-ruby/rb-readline/Manifest
index 873eef072a88..25ce16eb5cd2 100644
--- a/dev-ruby/rb-readline/Manifest
+++ b/dev-ruby/rb-readline/Manifest
@@ -1 +1,2 @@
DIST rb-readline-0.5.3.gem 96256 SHA256 5983bcff4d93090b313fcdfb68bb0ab160aef893b398022d06b08be84b96fff6 SHA512 8fa020fdedd0184c7d220d347a035e202a142a347776d91dfe87b1a0a53d43c460ea70f2cabd2b6e5e643dd9ac52f1d70dc496bb54b7b2e78e7da85a82c0400e WHIRLPOOL 32751ef4a150ce069514219538dfc07352428894e72f73de477d48d657900d0f4aa156d3d41c18acf0b757255b7e32853f0aab5bcf1ce10d9391e8517d857d17
+DIST rb-readline-0.5.4.gem 96768 SHA256 6af88f139c14a13ad29c26be457109cdea1c89fc7f78d2969b49a3244433159c SHA512 7b68ed196e5b1841774ce4b567dd36b2dbadca97416837b606060490a482955e7f01cfb2102c1b00f0c55bc7a8d2a7d6aedac95cb03fdd9063d1c513d3ee5b05 WHIRLPOOL e0f9551aba55628a93409e03a848e3f2d131d259dbe401908068335edcd7a251b2547a492f21ac270a00244190080e053b800e0cff03e4acded448b0556028b3
diff --git a/dev-ruby/rb-readline/rb-readline-0.5.4.ebuild b/dev-ruby/rb-readline/rb-readline-0.5.4.ebuild
new file mode 100644
index 000000000000..2299cefac425
--- /dev/null
+++ b/dev-ruby/rb-readline/rb-readline-0.5.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby implementation of the GNU readline C library"
+HOMEPAGE="http://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
+}