summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-29 07:57:27 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-29 08:08:10 +0100
commit6597076d2b74bbb1bca8cc4d2c01949467b93fd1 (patch)
tree42d28ff567d3564e939f7d4a15f019c34e2ab1b7 /dev-ruby/reline
parentdev-ruby/dnsruby: add 1.72.0 (diff)
downloadgentoo-6597076d2b74bbb1bca8cc4d2c01949467b93fd1.tar.gz
gentoo-6597076d2b74bbb1bca8cc4d2c01949467b93fd1.tar.bz2
gentoo-6597076d2b74bbb1bca8cc4d2c01949467b93fd1.zip
dev-ruby/reline: add 0.5.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/reline')
-rw-r--r--dev-ruby/reline/Manifest1
-rw-r--r--dev-ruby/reline/reline-0.5.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest
index db34bfb4f6f5..31265d7e8fec 100644
--- a/dev-ruby/reline/Manifest
+++ b/dev-ruby/reline/Manifest
@@ -2,3 +2,4 @@ DIST reline-0.3.9.tar.gz 87794 BLAKE2B 01711129ad0f1f45cee1797f0723a46c72d39d347
DIST reline-0.4.1.tar.gz 93299 BLAKE2B 685855066744b957256c16475158dcf0246643a069a3e84641a556dc4163ce81d6743a824c921ae8d0aad3d98a12f6df7e71307f65d2356bfa5546f277c1d911 SHA512 e026ea6b36f3cc76db176630c0c050de784e52e5c90a3a0b2241382515ff7369f4bd452a51fd3f1eb6777bc5cf07864609a60b0ea8a6b3ddef4869c915e3edf5
DIST reline-0.4.2.tar.gz 93446 BLAKE2B 46733b3e27b0f015cfecced252dae0050425036921c3d99498a4bd4988be0a10686fc02a31870a57b9daf094f71063c03d461dce93edb98faf8f0095e2545d88 SHA512 a8ae5590bb3463037cf3952224f3baa0e8591d47c006b43f3c404d2d984f2f0a3f6ec91daac1fd6be05f972420dbccfaed19e2aba084d1e6a6ef396e1f2ddabb
DIST reline-0.4.3.tar.gz 93606 BLAKE2B 9faf8e2db40e75285163a6b8d587198b96faa67284b276e2a96d03b074d2f1abed01aa49a770bad96e066d0d6214319fb84b09a07754b93e2298896641babd73 SHA512 7a6c054dd187ed804ea730845af1eaace094d25e5fc5a9c02395e3886f493a79922cb624dd16d9000f193baf2d3cb147a57737235b289e1382a92e34c59d7dfe
+DIST reline-0.5.0.tar.gz 88882 BLAKE2B 822c8b4d73fee5545c8b6e6ad0a7f4e3ecf0c67f6493835f47b7cf2c3d653296463cd3cd0f085d182cd5c2ab33551a125bcfc048bb288e602b812ec921de2e9a SHA512 ff988a5007385d50c4f29403be2f85d3a3d559121b4ffc0bffd697b061efcaaa49e1bdaa36bd3b505a8f3cdfacd4b4198f3dd84e0d91014b56deec34a66bd153
diff --git a/dev-ruby/reline/reline-0.5.0.ebuild b/dev-ruby/reline/reline-0.5.0.ebuild
new file mode 100644
index 000000000000..a779c43093ce
--- /dev/null
+++ b/dev-ruby/reline/reline-0.5.0.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
+}