diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-06 09:18:17 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-06 09:18:17 +0100 |
commit | b85dcdd29705a6f8941c80234197d23fb998117b (patch) | |
tree | c06384e4d9ead3aa73a104e46380f7671b33165a /dev-ruby/reline | |
parent | dev-ruby/parser: add 3.3.0.0 (diff) | |
download | gentoo-b85dcdd29705a6f8941c80234197d23fb998117b.tar.gz gentoo-b85dcdd29705a6f8941c80234197d23fb998117b.tar.bz2 gentoo-b85dcdd29705a6f8941c80234197d23fb998117b.zip |
dev-ruby/reline: add 0.4.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/reline')
-rw-r--r-- | dev-ruby/reline/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/reline/reline-0.4.2.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest index d44ca289e84c..c015c662cba5 100644 --- a/dev-ruby/reline/Manifest +++ b/dev-ruby/reline/Manifest @@ -1,2 +1,3 @@ DIST reline-0.3.9.tar.gz 87794 BLAKE2B 01711129ad0f1f45cee1797f0723a46c72d39d3473917708f4aaf5e9c02651c4cc09056a4822250a736c1e3800556d9df120d3f08133690d12477f4be704f40a SHA512 ae3f7e5811f81094f1327da0e1b71c322b15bcaad6fa34c52eb7b7b069eee4021d420634bd63fa1635799661865d73fad83ed55256c78a3311db517d56ef2dfc DIST reline-0.4.1.tar.gz 93299 BLAKE2B 685855066744b957256c16475158dcf0246643a069a3e84641a556dc4163ce81d6743a824c921ae8d0aad3d98a12f6df7e71307f65d2356bfa5546f277c1d911 SHA512 e026ea6b36f3cc76db176630c0c050de784e52e5c90a3a0b2241382515ff7369f4bd452a51fd3f1eb6777bc5cf07864609a60b0ea8a6b3ddef4869c915e3edf5 +DIST reline-0.4.2.tar.gz 93446 BLAKE2B 46733b3e27b0f015cfecced252dae0050425036921c3d99498a4bd4988be0a10686fc02a31870a57b9daf094f71063c03d461dce93edb98faf8f0095e2545d88 SHA512 a8ae5590bb3463037cf3952224f3baa0e8591d47c006b43f3c404d2d984f2f0a3f6ec91daac1fd6be05f972420dbccfaed19e2aba084d1e6a6ef396e1f2ddabb diff --git a/dev-ruby/reline/reline-0.4.2.ebuild b/dev-ruby/reline/reline-0.4.2.ebuild new file mode 100644 index 000000000000..dc8835cb1a7b --- /dev/null +++ b/dev-ruby/reline/reline-0.4.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 ~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 +} |