commit:     3a8ea9e441af02925a792a3fd33cb917d61d15ab
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 19 22:30:16 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 19 23:32:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a8ea9e4

dev-ruby/byebug: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ruby/byebug/Manifest             |  1 +
 dev-ruby/byebug/byebug-11.1.3.ebuild | 42 ++++++++++++++++++++++++++++++++++++
 dev-ruby/byebug/metadata.xml         | 12 +++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-ruby/byebug/Manifest b/dev-ruby/byebug/Manifest
new file mode 100644
index 000000000..a4fe27d96
--- /dev/null
+++ b/dev-ruby/byebug/Manifest
@@ -0,0 +1 @@
+DIST byebug-11.1.3.tar.gz 131063 BLAKE2B 
fe83aade01b520378e3cf62cb21324eb876748294c0c7402ae8eb215bdaa94f5d34056c5505de48a94f6a87546afd96a8b08c541d72b35f1f263fce9d85b4797
 SHA512 
9f00697e2c953d7b8da09fa6da442c34dd3713b823b5dd0074e6998662d361d88a37ca4c530d9cbfeab8605dfb0eb7f95422c66f2c5f1d90080dd7aefc302952

diff --git a/dev-ruby/byebug/byebug-11.1.3.ebuild 
b/dev-ruby/byebug/byebug-11.1.3.ebuild
new file mode 100644
index 000000000..8c7ee80eb
--- /dev/null
+++ b/dev-ruby/byebug/byebug-11.1.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md GUIDE.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec
+
+RUBY_FAKEGEM_BINDIR="exe"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/byebug/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/byebug
+
+inherit ruby-fakegem
+
+DESCRIPTION="a Ruby 2 debugger"
+HOMEPAGE="https://github.com/deivid-rodriguez/byebug";
+SRC_URI="https://github.com/deivid-rodriguez/byebug/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Tests require bundler and hang when run from portage
+RESTRICT="test"
+
+ruby_add_bdepend "test? (
+       dev-ruby/byebug
+       dev-ruby/pry
+)"
+
+all_ruby_prepare() {
+       sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die
+       sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+       NOCOV=true ${RUBY} -r./test/minitest_runner -e 
Byebug::MinitestRunner.new.run || die
+}

diff --git a/dev-ruby/byebug/metadata.xml b/dev-ruby/byebug/metadata.xml
new file mode 100644
index 000000000..bfd4899e8
--- /dev/null
+++ b/dev-ruby/byebug/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>lssndrbarbi...@gmail.com</email>
+               <name>Alessandro Barbieri</name>
+       </maintainer>
+       <upstream>
+               
<bugs-to>https://github.com/deivid-rodriguez/byebug/issues</bugs-to>
+               <remote-id type="github">deivid-rodriguez/byebug</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to