summaryrefslogtreecommitdiff
path: root/dev-ruby/reline
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/reline')
-rw-r--r--dev-ruby/reline/Manifest2
-rw-r--r--dev-ruby/reline/reline-0.3.6.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest
index 4025a552aa2c..63a329a4d65c 100644
--- a/dev-ruby/reline/Manifest
+++ b/dev-ruby/reline/Manifest
@@ -1,3 +1,5 @@
DIST reline-0.3.5.tar.gz 86159 BLAKE2B 344db9ea247e3acc5b2f346cec657b3702c385b165b0d99e25239d099cbf293705458bc00cbf1646581abc37e0b661962aa2ae6be56879e9a1b8b7b31b2f1ff6 SHA512 5aa6f01cc92d4036f7edb6d10bb1d03300cf79667b87fe7bd4d53bd9cc018b1ac56de7f1ccbaac8ee76d9301196130fcbc6913e482a2c8d78526664f2076677c
+DIST reline-0.3.6.tar.gz 87142 BLAKE2B 7e52e4a1e1cc62f58a5ae45f452b269233b2b681a0146f1ccab5343491053bd514d6fa93610c17bddc4ec3dfc14fa06e6f67559c8d4e254a0d0f857271ee5a31 SHA512 b8a46aaaa5de0658378b5eb52d9ca78d82bb54c392e0cad512bfbba4d82834ea5834582b7055b12ccfae8785ce4d13f232aa9d4e7f8b48da0dd2aeb982cd2705
EBUILD reline-0.3.5.ebuild 871 BLAKE2B b197de8a3b2fc416f78edd933df2a476ac91010d5e06808b7fd588e6d7714f28690ca5c73972255689632d31e2cdbea2ca0ff179384996a037d14cf8bdeec264 SHA512 cdeda599949627a27814b10d57d61ba34b6fc38e093486aee03017897bce52437c8725a37c4c36731d4fd0dcb936515f0b9fb3c76d13706a7f5762cdc211d792
+EBUILD reline-0.3.6.ebuild 871 BLAKE2B b197de8a3b2fc416f78edd933df2a476ac91010d5e06808b7fd588e6d7714f28690ca5c73972255689632d31e2cdbea2ca0ff179384996a037d14cf8bdeec264 SHA512 cdeda599949627a27814b10d57d61ba34b6fc38e093486aee03017897bce52437c8725a37c4c36731d4fd0dcb936515f0b9fb3c76d13706a7f5762cdc211d792
MISC metadata.xml 338 BLAKE2B a47d42d46142bee439c1d169aae8da07bf1ab6b3789581b6d60e0852c64c3416804d0ef7bc899670af232ddfb9d10a3c23805da58b854ee220142617c8d6e834 SHA512 e02a8889f308d81ade723c4a912d54c67a112f1aa67218065b6b8acad0c2cf2691c2bdbb2d9dcd63eab569b1c50ef2402ed42f9711dbf514a14bff6de55f6210
diff --git a/dev-ruby/reline/reline-0.3.6.ebuild b/dev-ruby/reline/reline-0.3.6.ebuild
new file mode 100644
index 000000000000..e402f399fa66
--- /dev/null
+++ b/dev-ruby/reline/reline-0.3.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="reline.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Alternative readline implementation in pure Ruby"
+HOMEPAGE="https://github.com/ruby/reline"
+SRC_URI="https://github.com/ruby/reline/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/io-console-0.5.0:0"
+
+all_ruby_prepare() {
+ sed -e "s:_relative ':'./:" \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test/reline -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}