diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-05-15 07:24:13 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-05-15 07:24:13 +0200 |
commit | a6f5fe87b6c528b5e75214955326267ed9d1d226 (patch) | |
tree | aac0fce1954ebdc92e19f5f6f9318af170828fa5 /dev-ruby/reline | |
parent | dev-vcs/fossil: Fix incorrect checksum and tests (diff) | |
download | gentoo-a6f5fe87b6c528b5e75214955326267ed9d1d226.tar.gz gentoo-a6f5fe87b6c528b5e75214955326267ed9d1d226.tar.bz2 gentoo-a6f5fe87b6c528b5e75214955326267ed9d1d226.zip |
dev-ruby/reline: add 0.5.7
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.7.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/reline/Manifest b/dev-ruby/reline/Manifest index c0e3da1394e1..6207fc6be3e4 100644 --- a/dev-ruby/reline/Manifest +++ b/dev-ruby/reline/Manifest @@ -4,3 +4,4 @@ DIST reline-0.5.1.tar.gz 89528 BLAKE2B 24a7747abacdc1c9fbf95b31b1981c63f9eed1b3c DIST reline-0.5.2.tar.gz 90163 BLAKE2B 12ff435da396a19e62b8ba972568c39697ff7024fe5deeb209958cf85b5a7a8fd3986eff2f6f66282af23997566955b195a354a875efe6a77350f8b103dd9aef SHA512 bd8722e524333ab84c12c97c3e335a075f36379301b9c35a52f459ff55a853f779218ec24d691dc0a1eea1525693b18c49053b13eb79a8db903905659735bb74 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.7.ebuild b/dev-ruby/reline/reline-0.5.7.ebuild new file mode 100644 index 000000000000..a779c43093ce --- /dev/null +++ b/dev-ruby/reline/reline-0.5.7.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 +} |