summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-02-28 09:01:10 +0100
committerHans de Graaff <graaff@gentoo.org>2023-03-04 11:24:44 +0100
commit658ad48c641a428a0418c14bcc259756566c351f (patch)
tree229889ac79277d60f08db0b5edf3839559d27482 /dev-ruby/debug
parentdev-ruby/typeprof: enable ruby32 (diff)
downloadgentoo-658ad48c641a428a0418c14bcc259756566c351f.tar.gz
gentoo-658ad48c641a428a0418c14bcc259756566c351f.tar.bz2
gentoo-658ad48c641a428a0418c14bcc259756566c351f.zip
dev-ruby/debug: new package, add 1.7.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/debug')
-rw-r--r--dev-ruby/debug/Manifest1
-rw-r--r--dev-ruby/debug/debug-1.7.1.ebuild33
-rw-r--r--dev-ruby/debug/metadata.xml8
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/debug/Manifest b/dev-ruby/debug/Manifest
new file mode 100644
index 000000000000..0d8a5fde9597
--- /dev/null
+++ b/dev-ruby/debug/Manifest
@@ -0,0 +1 @@
+DIST debug-1.7.1.tar.gz 159697 BLAKE2B f3fc6b75c45992ef12d7bc6cbc3d3e65bde782ab399aa5c6643752c7337ab5e31dba5a22b3a36a0b345f3017147aed987b35184c789d8e32d3283cdff0f08a58 SHA512 6ff242862e05c48b2021b128d12c0ad9a6ed67954d0e7a60538eddabeef83253a613c13aac21b5b00516861fc0553351525fb190dfbc196e9da42e217d3b4e93
diff --git a/dev-ruby/debug/debug-1.7.1.ebuild b/dev-ruby/debug/debug-1.7.1.ebuild
new file mode 100644
index 000000000000..6dc149fdd96d
--- /dev/null
+++ b/dev-ruby/debug/debug-1.7.1.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 ~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
+}
diff --git a/dev-ruby/debug/metadata.xml b/dev-ruby/debug/metadata.xml
new file mode 100644
index 000000000000..7a38fd1850ff
--- /dev/null
+++ b/dev-ruby/debug/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+</pkgmetadata>