diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-04-13 06:46:32 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-04-13 08:24:11 +0200 |
commit | a649728bfe53537159c87758bb4c6ee189379803 (patch) | |
tree | 932a56736140baee868d4ca716ca02edf60341dc /dev-ruby | |
parent | dev-ruby/recog: drop 3.1.1, 3.1.2, 3.1.3 (diff) | |
download | gentoo-a649728bfe53537159c87758bb4c6ee189379803.tar.gz gentoo-a649728bfe53537159c87758bb4c6ee189379803.tar.bz2 gentoo-a649728bfe53537159c87758bb4c6ee189379803.zip |
dev-ruby/reline: add 0.5.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/reline/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/reline/reline-0.5.1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest index 31265d7e8fec..2270c4d534ad 100644 --- a/dev-ruby/reline/Manifest +++ b/dev-ruby/reline/Manifest @@ -3,3 +3,4 @@ DIST reline-0.4.1.tar.gz 93299 BLAKE2B 685855066744b957256c16475158dcf0246643a06 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 +DIST reline-0.5.1.tar.gz 89528 BLAKE2B 24a7747abacdc1c9fbf95b31b1981c63f9eed1b3c701d938127d0b3a09212f05e6849722f77efb95a70ad1ebf442d4e0bacb18a01d42a2887f1c70a8a10f96d1 SHA512 0248ab4fac21ac8009c053ed982c943430d4aa899a0b76ccd02fa4f2d1e4174c29dd1d6176a002bf12d838399e30db681b205ae74c74e8a5139ce098641a9c69 diff --git a/dev-ruby/reline/reline-0.5.1.ebuild b/dev-ruby/reline/reline-0.5.1.ebuild new file mode 100644 index 000000000000..a779c43093ce --- /dev/null +++ b/dev-ruby/reline/reline-0.5.1.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 +} |