diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-03-29 07:58:51 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-03-29 08:04:12 +0200 |
commit | 40827ab18faf79ec8d7802b357505527425096a9 (patch) | |
tree | afbeb1db0b02fa9477ea3b8ae75ecfe6034ff423 /dev-ruby/debug | |
parent | dev-python/pytz: Bump to 2023.3 (diff) | |
download | gentoo-40827ab18faf79ec8d7802b357505527425096a9.tar.gz gentoo-40827ab18faf79ec8d7802b357505527425096a9.tar.bz2 gentoo-40827ab18faf79ec8d7802b357505527425096a9.zip |
dev-ruby/debug: add 1.7.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/debug')
-rw-r--r-- | dev-ruby/debug/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/debug/debug-1.7.2.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/debug/Manifest b/dev-ruby/debug/Manifest index 0d8a5fde9597..2d2a04ee5af7 100644 --- a/dev-ruby/debug/Manifest +++ b/dev-ruby/debug/Manifest @@ -1 +1,2 @@ DIST debug-1.7.1.tar.gz 159697 BLAKE2B f3fc6b75c45992ef12d7bc6cbc3d3e65bde782ab399aa5c6643752c7337ab5e31dba5a22b3a36a0b345f3017147aed987b35184c789d8e32d3283cdff0f08a58 SHA512 6ff242862e05c48b2021b128d12c0ad9a6ed67954d0e7a60538eddabeef83253a613c13aac21b5b00516861fc0553351525fb190dfbc196e9da42e217d3b4e93 +DIST debug-1.7.2.tar.gz 160575 BLAKE2B b1f2d17f0ecae09113b1a8afeb8d63d07d9ab27f32efb6aab45a9bbfee851bc8068aa5a2cae1a659c4922b4fc1b72d8ff107a16e8b80d740914622032c39b4fe SHA512 b9108e990a66f87d4a18ce7a8bd591601359940e993635bcaa4b2d8a403a3a44dffa5f5380e65cf2335449111bd30ae9ee35dda92578e46afdbbbe7706bb5aa1 diff --git a/dev-ruby/debug/debug-1.7.2.ebuild b/dev-ruby/debug/debug-1.7.2.ebuild new file mode 100644 index 000000000000..321e28ba17fd --- /dev/null +++ b/dev-ruby/debug/debug-1.7.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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" + +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 +} |