commit: c1832b5cef3d95ff248ae3b97744b177243ef794 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Oct 9 05:56:21 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Oct 9 05:57:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1832b5c
dev-ruby/debug: add 1.8.0 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/debug/Manifest | 1 + dev-ruby/debug/debug-1.8.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/debug/Manifest b/dev-ruby/debug/Manifest index 2d2a04ee5af7..4abf08158f73 100644 --- a/dev-ruby/debug/Manifest +++ b/dev-ruby/debug/Manifest @@ -1,2 +1,3 @@ DIST debug-1.7.1.tar.gz 159697 BLAKE2B f3fc6b75c45992ef12d7bc6cbc3d3e65bde782ab399aa5c6643752c7337ab5e31dba5a22b3a36a0b345f3017147aed987b35184c789d8e32d3283cdff0f08a58 SHA512 6ff242862e05c48b2021b128d12c0ad9a6ed67954d0e7a60538eddabeef83253a613c13aac21b5b00516861fc0553351525fb190dfbc196e9da42e217d3b4e93 DIST debug-1.7.2.tar.gz 160575 BLAKE2B b1f2d17f0ecae09113b1a8afeb8d63d07d9ab27f32efb6aab45a9bbfee851bc8068aa5a2cae1a659c4922b4fc1b72d8ff107a16e8b80d740914622032c39b4fe SHA512 b9108e990a66f87d4a18ce7a8bd591601359940e993635bcaa4b2d8a403a3a44dffa5f5380e65cf2335449111bd30ae9ee35dda92578e46afdbbbe7706bb5aa1 +DIST debug-1.8.0.tar.gz 162452 BLAKE2B 7fc81053b47801717325a4db79d9d9be0defb2023485a370e26cda51a7207ef6fc17eb42ffec56123ce7abfb4d9924f15687262e34f6bdc641bdca9f75631cd1 SHA512 c53616fb903395df65badabf3879fced70bbd43f84a684132d493af215ed7f205c5e449e8486773ca7a5ff298f41e7579b1a841b0140ec34839ff3f25b883b7d diff --git a/dev-ruby/debug/debug-1.8.0.ebuild b/dev-ruby/debug/debug-1.8.0.ebuild new file mode 100644 index 000000000000..a150bb99348c --- /dev/null +++ b/dev-ruby/debug/debug-1.8.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="TODO.md README.md" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/debug/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/debug" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Debugging functionality for Ruby" +HOMEPAGE="https://github.com/ruby/debug" +SRC_URI="https://github.com/ruby/debug/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="$(ver_cut 1)" + +# Avoid tests for now since the results in a very deep dependency list for ruby32 +#ruby_add_depend "test? ( dev-ruby/rr )" +RESTRICT="test" + +ruby_add_rdepend " + >=dev-ruby/irb-1.5.0 + >=dev-ruby/reline-0.3.1 +" + +all_ruby_prepare() { + sed -i -e "s:require_relative ':require './:" -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/I s:^:#:' Rakefile || die +}