summaryrefslogtreecommitdiff
path: root/dev-ruby/rb-readline
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/rb-readline
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/rb-readline')
-rw-r--r--dev-ruby/rb-readline/Manifest3
-rw-r--r--dev-ruby/rb-readline/metadata.xml15
-rw-r--r--dev-ruby/rb-readline/rb-readline-0.5.5.ebuild26
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/rb-readline/Manifest b/dev-ruby/rb-readline/Manifest
new file mode 100644
index 000000000000..d3fc8aff7003
--- /dev/null
+++ b/dev-ruby/rb-readline/Manifest
@@ -0,0 +1,3 @@
+DIST rb-readline-0.5.5.gem 96768 BLAKE2B d854731957dad1dc6abe6a6e1ed72397e49faf08314c8af568c0f8e6412ecaa38e937a807ac326af4f306f24dfe89a51b830663cca1544a3618ec2aaa6cbd1b9 SHA512 53ed9919eb2c057d2b26e87ba0ecabc73f0aed7fa22398b9e7f98e82bd7a0ed7ca89cb1944bf94400bf4289d6fb404aadb9a2781fa964e2f4c77d7e218e459ae
+EBUILD rb-readline-0.5.5.ebuild 684 BLAKE2B ab3bc13aa719a0907791cd0841aaf1b6345ae5ecacf76a028c9cbff88070cefc9264dc612da2ea40214eade63c5ccaa30b2210c481be36f33011c545b35720e6 SHA512 fbb0b32f68e22ee97ecdfb8926149906b69d8d8e4864f13428d63ad2ab718531736fb348d4e9ffe9b26950dfb270304ce69ab4881f9c38606fc060d9a4a33e14
+MISC metadata.xml 437 BLAKE2B ccd79f5b96546c77c8e6374fda201363e5975f91fc762a265ef0f7872a8ed4bdaf2130e5b58bd696a7509508954998d73be1eedd2318879c2e2c61320cb3fb29 SHA512 bae481a94a3f4dd74f068cebbdb15e6e2ff8ef9e5e175d3d7725c6c5dd06534f6563d0807a005d228d60f28551006cd88efd6ce7274657fcfe9ed982bb583c04
diff --git a/dev-ruby/rb-readline/metadata.xml b/dev-ruby/rb-readline/metadata.xml
new file mode 100644
index 000000000000..5ec5e3567682
--- /dev/null
+++ b/dev-ruby/rb-readline/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+</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..e2d024b9ec29
--- /dev/null
+++ b/dev-ruby/rb-readline/rb-readline-0.5.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+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
+}