diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-09 08:34:19 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-09 08:49:40 +0200 |
commit | 97caf611a68284ef20b0d9d137c2c009f93ef96b (patch) | |
tree | 95e8cde63824c999e61c2d3aa4674d4e1bf58143 /dev-ruby/reline | |
parent | dev-ruby/rbs: add 3.5.1 (diff) | |
download | gentoo-97caf611a68284ef20b0d9d137c2c009f93ef96b.tar.gz gentoo-97caf611a68284ef20b0d9d137c2c009f93ef96b.tar.bz2 gentoo-97caf611a68284ef20b0d9d137c2c009f93ef96b.zip |
dev-ruby/reline: add 0.5.8
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.5.8.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest index 6207fc6be3e4..f3d4bafbbb47 100644 --- a/dev-ruby/reline/Manifest +++ b/dev-ruby/reline/Manifest @@ -5,3 +5,4 @@ DIST reline-0.5.2.tar.gz 90163 BLAKE2B 12ff435da396a19e62b8ba972568c39697ff7024f 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 +DIST reline-0.5.8.tar.gz 92936 BLAKE2B 549ceb0e81ea0bc4e201d3b45538e2878c1ecfa70ba1e31e1161ae8e80fbedccbc1988999485544de107b857bdd7e14d58d6b31ed125917a7d61ffd6ddfea1cb SHA512 64d4358af20691af3ccefbb64e9c048b14b93508e0fefa9b2c9ac9bf1eeb3d86137039988a7f23ad2860106778bbd7ea366d865c7236a9f98eca72631751ffaa diff --git a/dev-ruby/reline/reline-0.5.8.ebuild b/dev-ruby/reline/reline-0.5.8.ebuild new file mode 100644 index 000000000000..a779c43093ce --- /dev/null +++ b/dev-ruby/reline/reline-0.5.8.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 +} |