dev-ruby/byebug: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri 2021-04-20 00:30:16 +02:00
parent e10fdc0f7f
commit 3a8ea9e441
No known key found for this signature in database
GPG Key ID: 75DFA720D0EF7660
3 changed files with 55 additions and 0 deletions

1
dev-ruby/byebug/Manifest Normal file
View File

@ -0,0 +1 @@
DIST byebug-11.1.3.tar.gz 131063 BLAKE2B fe83aade01b520378e3cf62cb21324eb876748294c0c7402ae8eb215bdaa94f5d34056c5505de48a94f6a87546afd96a8b08c541d72b35f1f263fce9d85b4797 SHA512 9f00697e2c953d7b8da09fa6da442c34dd3713b823b5dd0074e6998662d361d88a37ca4c530d9cbfeab8605dfb0eb7f95422c66f2c5f1d90080dd7aefc302952

View File

@ -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
}

View File

@ -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>lssndrbarbieri@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>