summaryrefslogtreecommitdiff
path: root/dev-ruby/rb-readline
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rb-readline')
-rw-r--r--dev-ruby/rb-readline/Manifest1
-rw-r--r--dev-ruby/rb-readline/metadata.xml16
-rw-r--r--dev-ruby/rb-readline/rb-readline-0.5.5.ebuild26
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/rb-readline/Manifest b/dev-ruby/rb-readline/Manifest
new file mode 100644
index 000000000000..20b757583155
--- /dev/null
+++ b/dev-ruby/rb-readline/Manifest
@@ -0,0 +1 @@
+DIST rb-readline-0.5.5.gem 96768 BLAKE2B d854731957dad1dc6abe6a6e1ed72397e49faf08314c8af568c0f8e6412ecaa38e937a807ac326af4f306f24dfe89a51b830663cca1544a3618ec2aaa6cbd1b9 SHA512 53ed9919eb2c057d2b26e87ba0ecabc73f0aed7fa22398b9e7f98e82bd7a0ed7ca89cb1944bf94400bf4289d6fb404aadb9a2781fa964e2f4c77d7e218e459ae
diff --git a/dev-ruby/rb-readline/metadata.xml b/dev-ruby/rb-readline/metadata.xml
new file mode 100644
index 000000000000..bd72b2f75dca
--- /dev/null
+++ b/dev-ruby/rb-readline/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="rubygems">rb-readline</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-ruby/rb-readline/rb-readline-0.5.5.ebuild b/dev-ruby/rb-readline/rb-readline-0.5.5.ebuild
new file mode 100644
index 000000000000..ca674a29505f
--- /dev/null
+++ b/dev-ruby/rb-readline/rb-readline-0.5.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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
+}