diff options
Diffstat (limited to 'dev-ruby/reline')
-rw-r--r-- | dev-ruby/reline/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/reline/reline-0.5.2.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest index 9a8fe80bf9c5..37ffa1b48216 100644 --- a/dev-ruby/reline/Manifest +++ b/dev-ruby/reline/Manifest @@ -1,3 +1,4 @@ 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 +DIST reline-0.5.2.tar.gz 90163 BLAKE2B 12ff435da396a19e62b8ba972568c39697ff7024fe5deeb209958cf85b5a7a8fd3986eff2f6f66282af23997566955b195a354a875efe6a77350f8b103dd9aef SHA512 bd8722e524333ab84c12c97c3e335a075f36379301b9c35a52f459ff55a853f779218ec24d691dc0a1eea1525693b18c49053b13eb79a8db903905659735bb74 diff --git a/dev-ruby/reline/reline-0.5.2.ebuild b/dev-ruby/reline/reline-0.5.2.ebuild new file mode 100644 index 000000000000..a779c43093ce --- /dev/null +++ b/dev-ruby/reline/reline-0.5.2.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 +} |