summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-09-06 06:53:28 +0200
committerHans de Graaff <graaff@gentoo.org>2024-09-06 06:53:28 +0200
commit89878a35f3049902ce7fd998c6cbc7bb4ba1a901 (patch)
tree3348cb3150ded0afc4927e623c6fe84cf62255b5 /dev-ruby
parentdev-ruby/parser: add 3.3.5.0 (diff)
downloadgentoo-89878a35f3049902ce7fd998c6cbc7bb4ba1a901.tar.gz
gentoo-89878a35f3049902ce7fd998c6cbc7bb4ba1a901.tar.bz2
gentoo-89878a35f3049902ce7fd998c6cbc7bb4ba1a901.zip
dev-ruby/reline: add 0.5.10
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.10.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest
index cfe0b9c5d635..6a9f5ecc7ca8 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.5.tar.gz 91888 BLAKE2B a1d01ffebcb18fe2eda9836672378fe5feb5b9b30c0d2bc61889ffad95e05c68998fe79d6fbe3742791b8c71ba52fe17b8ade4e8ecc8c14fa91deac3d06854cd SHA512 160c8c5ed670476607ea0e3f0f1edc0ae557fe9bb3f1eb5e3c744a3965864227f8804ff23004b9fb264c9b67740e5697b64d52bfac6b82aab5aee9daa349291f
DIST reline-0.5.6.tar.gz 91809 BLAKE2B 50b5473ab328fba4a552e8817d3048244144e014c9d6f7970c8bb1936329d34598667a752e66529d47facb5d2d15fac36154fe5b5f28f2301024c26b6387cace SHA512 755d23ccd6b5ba53cb357ce84a45d6f36eb1458c0c59e7ef77b585e53f2d3b393930fa076e8f5a1e49aa28a10156cf1926abf4ec691d88394f64a4a2a50af6e5
DIST reline-0.5.7.tar.gz 92492 BLAKE2B 7559cf463873f9cf12b8e0f63cc4494a1b24c897a224dbf5b38486787d51ba9134302434c7e79ecfbd54d68e2f2323deb0dd2185d2680b541958c13a6da3c44e SHA512 e79fe0a5a18cc11e9ff286f16c1bd9d8024bbb09c04dc3d47adfc901c85a13737362849d1bef82e47e4c6eeaa82c13a26aaecbcf6f9d493286105aa3cbfc8532
diff --git a/dev-ruby/reline/reline-0.5.10.ebuild b/dev-ruby/reline/reline-0.5.10.ebuild
new file mode 100644
index 000000000000..a779c43093ce
--- /dev/null
+++ b/dev-ruby/reline/reline-0.5.10.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
+}