summaryrefslogtreecommitdiff
path: root/dev-ruby/rb-readline-r7
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-r7
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/rb-readline-r7')
-rw-r--r--dev-ruby/rb-readline-r7/Manifest3
-rw-r--r--dev-ruby/rb-readline-r7/metadata.xml12
-rw-r--r--dev-ruby/rb-readline-r7/rb-readline-r7-0.5.2.0.ebuild23
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/rb-readline-r7/Manifest b/dev-ruby/rb-readline-r7/Manifest
new file mode 100644
index 000000000000..8f499b444bd8
--- /dev/null
+++ b/dev-ruby/rb-readline-r7/Manifest
@@ -0,0 +1,3 @@
+DIST rb-readline-r7-0.5.2.0.gem 96256 BLAKE2B 0afa90a210233630f9d5068636efaf5874294b524d7abee4a7560436cdcccd9785ea356d0ebe50a4c191e57a111c7301f9b42d787e9a1760d241ff1c14e90834 SHA512 e94b60e368104f5e626a5c98dbe894cea52294b9c2061aa0cf32c34b7575a1ba9b0c514221ce266be89553d7936fc82696fc979710b9e8bb2503fc8b3cc0a938
+EBUILD rb-readline-r7-0.5.2.0.ebuild 646 BLAKE2B e3820d8a739557b58dbb1ab039e7e02cf9817a512491672d463658922d9be5ea95babf2abb7a7bb5a51e22c7da6594fccf6dffdd3cc201e62123f6a1b9f3be47 SHA512 584d91b6c7efcfb0df310eea2226267008a9752054e4fda109e7628df4942cb2906bbeafe59f3de3264a4f1e655edc98a846105dab16205209795c7b3ac6e19a
+MISC metadata.xml 398 BLAKE2B 3cd6003925d27d01dd200b49d5d4c9ec0f0954816fbccd9b60fee5cb2bbc8c7680dc97783f420528b12cd82002b17b5eada95c54294d8f762bc02c71d88dab04 SHA512 2f08a8565c17bdf29ce5f94194904bba4ab779fb2f23003bdf35eb15f7f2dbe39686026324c1212f3ebcc785d5dee2cc117eaf90e78ae2e4c107f3863cc6fdf4
diff --git a/dev-ruby/rb-readline-r7/metadata.xml b/dev-ruby/rb-readline-r7/metadata.xml
new file mode 100644
index 000000000000..c1095bd03fb2
--- /dev/null
+++ b/dev-ruby/rb-readline-r7/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <upstream>
+ <remote-id type="github">rapid7/rb-readline</remote-id>
+ <remote-id type="rubygems">rb-readline-r7</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/rb-readline-r7/rb-readline-r7-0.5.2.0.ebuild b/dev-ruby/rb-readline-r7/rb-readline-r7-0.5.2.0.ebuild
new file mode 100644
index 000000000000..4d58a2cd2077
--- /dev/null
+++ b/dev-ruby/rb-readline-r7/rb-readline-r7-0.5.2.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby implementation of the GNU readline C library forked by r7"
+HOMEPAGE="https://rubygems.org/gems/rb-readline-r7"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+DEPEND="test? ( dev-ruby/minitest
+ dev-ruby/rake )"
+
+all_ruby_prepare() {
+ # 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
+}