summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-07-09 07:30:37 +0200
committerHans de Graaff <graaff@gentoo.org>2023-07-09 07:42:23 +0200
commitbbe83eaa8e36806a458880d65d8ac25a5d0ea543 (patch)
tree88ac52d2cd5ecf73110dc2dd5e9fb0281b2a5a80 /dev-ruby
parentdev-ruby/io-console: only install expected files (diff)
downloadgentoo-bbe83eaa8e36806a458880d65d8ac25a5d0ea543.tar.gz
gentoo-bbe83eaa8e36806a458880d65d8ac25a5d0ea543.tar.bz2
gentoo-bbe83eaa8e36806a458880d65d8ac25a5d0ea543.zip
dev-ruby/reline: add 0.3.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/reline/Manifest1
-rw-r--r--dev-ruby/reline/reline-0.3.6.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest
index a1eb387b3050..2d0c88cfcd0e 100644
--- a/dev-ruby/reline/Manifest
+++ b/dev-ruby/reline/Manifest
@@ -1 +1,2 @@
DIST reline-0.3.5.tar.gz 86159 BLAKE2B 344db9ea247e3acc5b2f346cec657b3702c385b165b0d99e25239d099cbf293705458bc00cbf1646581abc37e0b661962aa2ae6be56879e9a1b8b7b31b2f1ff6 SHA512 5aa6f01cc92d4036f7edb6d10bb1d03300cf79667b87fe7bd4d53bd9cc018b1ac56de7f1ccbaac8ee76d9301196130fcbc6913e482a2c8d78526664f2076677c
+DIST reline-0.3.6.tar.gz 87142 BLAKE2B 7e52e4a1e1cc62f58a5ae45f452b269233b2b681a0146f1ccab5343491053bd514d6fa93610c17bddc4ec3dfc14fa06e6f67559c8d4e254a0d0f857271ee5a31 SHA512 b8a46aaaa5de0658378b5eb52d9ca78d82bb54c392e0cad512bfbba4d82834ea5834582b7055b12ccfae8785ce4d13f232aa9d4e7f8b48da0dd2aeb982cd2705
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
+}