summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-11-23 09:16:42 +0100
committerHans de Graaff <graaff@gentoo.org>2018-11-23 09:17:05 +0100
commit4574fd09664cee7de38ead79f7a3772033c2a59e (patch)
tree143af5c070c4b164b7a7729999b7191faedac73d /dev-ruby/ruby-macho
parentdev-ruby/xdr: fix FEATURES=test (diff)
downloadgentoo-4574fd09664cee7de38ead79f7a3772033c2a59e.tar.gz
gentoo-4574fd09664cee7de38ead79f7a3772033c2a59e.tar.bz2
gentoo-4574fd09664cee7de38ead79f7a3772033c2a59e.zip
dev-ruby/ruby-macho: fix USE=doc and FEATURES=test
Fix metadata. Add ruby as co-maintainer. Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/ruby-macho')
-rw-r--r--dev-ruby/ruby-macho/Manifest2
-rw-r--r--dev-ruby/ruby-macho/metadata.xml6
-rw-r--r--dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild10
3 files changed, 15 insertions, 3 deletions
diff --git a/dev-ruby/ruby-macho/Manifest b/dev-ruby/ruby-macho/Manifest
index 527fd1a71428..f0c496cb5442 100644
--- a/dev-ruby/ruby-macho/Manifest
+++ b/dev-ruby/ruby-macho/Manifest
@@ -1 +1 @@
-DIST ruby-macho-2.1.0.gem 33280 BLAKE2B 3c88cb1df920331f213b0d17a266633b475a785d3054d8540c9fb9699df7b4d648d1fd1230c9ea1b54207e2ae32454959d335ec74498afd9a7307efc63606590 SHA512 1828915c1413171b9ce6a4dc4e0368aac12de35ab75ca0fa867fa061f6e7030f1ed09f1cd4ebf4debea64bfbd3d952e1d48afb92488181528011d9ae0d743ab9
+DIST ruby-macho-2.1.0.tar.gz 65006 BLAKE2B 70c3ceb6f6ee7850fe0b775cc8be6664dd074e2a4a35d868230f39073f09c6a1c4394c7feded6067c3a7049c033655fc2b87f88d67278375606e0387775e2632 SHA512 1ec95304b91506a56d079dc0c24653fb1a4f0da041770320c7d9e256769df01a3784fe0d5e6e13081639d4347851e6a552cf36037bd4793cb12aea6f6cf3c194
diff --git a/dev-ruby/ruby-macho/metadata.xml b/dev-ruby/ruby-macho/metadata.xml
index 98a26fb7079d..e7a397c04373 100644
--- a/dev-ruby/ruby-macho/metadata.xml
+++ b/dev-ruby/ruby-macho/metadata.xml
@@ -5,7 +5,11 @@
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
<upstream>
- <remote-id type="github">rapid7/metasploit-credential</remote-id>
+ <remote-id type="github">Homebrew/ruby-macho</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild b/dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild
index 998589e32c14..69939cac55f0 100644
--- a/dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild
+++ b/dev-ruby/ruby-macho/ruby-macho-2.1.0.ebuild
@@ -5,13 +5,21 @@ EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
inherit ruby-fakegem
DESCRIPTION="A library for viewing and manipulating Mach-O files in Ruby"
HOMEPAGE="https://github.com/Homebrew/ruby-macho"
-SRC_URI="mirror://rubygems/${P}.gem"
+SRC_URI="https://github.com/Homebrew/ruby-macho/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
+
+all_ruby_prepare() {
+ # Avoid benchmarks with additional dependencies
+ rm -f test/bench.rb || die
+ sed -i -e '/test\/bench/ s:^:#:' Rakefile || die
+}