summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-08 08:10:04 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-08 08:10:04 +0100
commit17e49d518196cbc09bc4a694f7b04bcc4280d08a (patch)
treed301bad2204551a633fdfbb32009bcb902362245 /dev-ruby
parentdev-ruby/json: drop 2.7.3, 2.7.4-r1 (diff)
downloadgentoo-17e49d518196cbc09bc4a694f7b04bcc4280d08a.tar.gz
gentoo-17e49d518196cbc09bc4a694f7b04bcc4280d08a.tar.bz2
gentoo-17e49d518196cbc09bc4a694f7b04bcc4280d08a.zip
dev-ruby/reline: add 0.5.11
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.5.11.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest
index 2beb44dff448..2da5da7b380b 100644
--- a/dev-ruby/reline/Manifest
+++ b/dev-ruby/reline/Manifest
@@ -1,4 +1,5 @@
DIST reline-0.4.3.tar.gz 93606 BLAKE2B 9faf8e2db40e75285163a6b8d587198b96faa67284b276e2a96d03b074d2f1abed01aa49a770bad96e066d0d6214319fb84b09a07754b93e2298896641babd73 SHA512 7a6c054dd187ed804ea730845af1eaace094d25e5fc5a9c02395e3886f493a79922cb624dd16d9000f193baf2d3cb147a57737235b289e1382a92e34c59d7dfe
DIST reline-0.5.10.tar.gz 90708 BLAKE2B 1afd7a928adbc9f8f531234ef927109e1a466bed35ae704e926b0fa32d66e41f7aac13d2e9e5ee637b039f9ac0bc183271239fc7470c9d8107a22b4aa36c7173 SHA512 76ab8fc14e4ffbc2dadfa119ad58e1447068909c388bb9f0148a186b5e0a625ed71091e588fc034064a0d36309eda0bd568ffe9088c4162d9e6e1d03dc526303
+DIST reline-0.5.11.tar.gz 92127 BLAKE2B fba24a579902c0a4971bffaa382701be25e2d5075345f07fc4ead686b2530fa322afb694eedd851881d8bb4299311ef81b71f5f82834553917fa7214948112b2 SHA512 3b3e82cb50558d7d89f415d116bab07a8e01046ca28ec1bbbdbdd27a4ba5c5c017d3e9e321362a204f0b9a31abfdec9c3b0d78317952b94d5f012473c1d6b33d
DIST reline-0.5.8.tar.gz 92936 BLAKE2B 549ceb0e81ea0bc4e201d3b45538e2878c1ecfa70ba1e31e1161ae8e80fbedccbc1988999485544de107b857bdd7e14d58d6b31ed125917a7d61ffd6ddfea1cb SHA512 64d4358af20691af3ccefbb64e9c048b14b93508e0fefa9b2c9ac9bf1eeb3d86137039988a7f23ad2860106778bbd7ea366d865c7236a9f98eca72631751ffaa
DIST reline-0.5.9.tar.gz 92647 BLAKE2B aa544ac997aea6e1c9d58678e8a7a979b93a7c403f3b785a1c505f60030903ba7679c1b30457c1233a904e25de599b4322ddeb761532ff1b1db7f424b5ce8bf9 SHA512 14c8ea83e86cd11f1b80d63cf8644b0d411f86f4483015191847fd0f5b464ea9d610d6f5dbaf44b01df0c183ee8d8bd7e1cabba762e00e4cdcbe2afe60fccd8a
diff --git a/dev-ruby/reline/reline-0.5.11.ebuild b/dev-ruby/reline/reline-0.5.11.ebuild
new file mode 100644
index 000000000000..a779c43093ce
--- /dev/null
+++ b/dev-ruby/reline/reline-0.5.11.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md doc/reline/face.md"
+RUBY_FAKEGEM_GEMSPEC="reline.gemspec"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+
+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
+}