diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-04-05 10:53:35 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-04-05 11:42:06 +0200 |
commit | ad8fffc747b3b9465ff08d324956fc87d5c20662 (patch) | |
tree | 5ba06cde06816b2548d85e70d882603a33518670 /dev-ruby | |
parent | dev-ruby/faraday-follow_redirects: enable ruby33 (diff) | |
download | gentoo-ad8fffc747b3b9465ff08d324956fc87d5c20662.tar.gz gentoo-ad8fffc747b3b9465ff08d324956fc87d5c20662.tar.bz2 gentoo-ad8fffc747b3b9465ff08d324956fc87d5c20662.zip |
dev-ruby/debug: add 1.9.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/debug/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/debug/debug-1.9.2.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/debug/Manifest b/dev-ruby/debug/Manifest index 4b478c3049c4..6e67d03b7652 100644 --- a/dev-ruby/debug/Manifest +++ b/dev-ruby/debug/Manifest @@ -1 +1,2 @@ DIST debug-1.9.1.tar.gz 164276 BLAKE2B e34768dfc49230e78ffa7c5277bf80ba9abb34ac82822981e53bfb0326fb5754ae6e66946a8da8589e25aab6f5c388b266acc0a5fdf27392a570c97f90e46ea1 SHA512 eefd074968af7032410f62a0a37792fb261b3d7c1cc759d1838016bcc264baa1f205c935d76f4a8aed7ea892698d80de7db48fba1e0efd067b9b1bac9577be66 +DIST debug-1.9.2.tar.gz 167216 BLAKE2B 60696aa1e7fa3bebdfc8015a9a38d804ad64e4725e9fb08ce92c646758cbb2e3e41a7ecd97ed2f5a833a7832d1d8f7e9fe1bbe25667d17724cdc72afe241e27f SHA512 b65e7952f0020f79481273175abc382827283f667c52a29eee4f77303368e65ff71c517f8cd278b011ae81c335281d4303ab83e6c5d5c71cab9784cee56b8c63 diff --git a/dev-ruby/debug/debug-1.9.2.ebuild b/dev-ruby/debug/debug-1.9.2.ebuild new file mode 100644 index 000000000000..684a22aacf92 --- /dev/null +++ b/dev-ruby/debug/debug-1.9.2.ebuild @@ -0,0 +1,38 @@ +# 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_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.10 + >=dev-ruby/reline-0.3.8 +" + +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 +} |