diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-11-23 09:04:51 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-11-23 09:17:03 +0100 |
commit | 01ec8fb65c7ae7f3684434b398327dfe7f2358e1 (patch) | |
tree | ba0ef61d41af6cac75336f59ca1a27bb9b0f2e2a /dev-ruby/xdr | |
parent | www-apps/nanoc: add 4.10.3 (diff) | |
download | gentoo-01ec8fb65c7ae7f3684434b398327dfe7f2358e1.tar.gz gentoo-01ec8fb65c7ae7f3684434b398327dfe7f2358e1.tar.bz2 gentoo-01ec8fb65c7ae7f3684434b398327dfe7f2358e1.zip |
dev-ruby/xdr: fix FEATURES=test
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/xdr')
-rw-r--r-- | dev-ruby/xdr/metadata.xml | 4 | ||||
-rw-r--r-- | dev-ruby/xdr/xdr-2.0.0.ebuild | 18 | ||||
-rw-r--r-- | dev-ruby/xdr/xdr-3.0.0.ebuild | 18 |
3 files changed, 16 insertions, 24 deletions
diff --git a/dev-ruby/xdr/metadata.xml b/dev-ruby/xdr/metadata.xml index 32cdac9bf30d..72d25f8de2e3 100644 --- a/dev-ruby/xdr/metadata.xml +++ b/dev-ruby/xdr/metadata.xml @@ -5,6 +5,10 @@ <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">stellar/ruby-xdr</remote-id> </upstream> diff --git a/dev-ruby/xdr/xdr-2.0.0.ebuild b/dev-ruby/xdr/xdr-2.0.0.ebuild index 592fec2cc0c1..3a851ac8ed35 100644 --- a/dev-ruby/xdr/xdr-2.0.0.ebuild +++ b/dev-ruby/xdr/xdr-2.0.0.ebuild @@ -2,8 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby24" -RUBY_FAKEGEM_RECIPE_DOC="" +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" inherit ruby-fakegem @@ -19,15 +22,6 @@ IUSE="test" ruby_add_rdepend ">=dev-ruby/activemodel-4.2.7:* >=dev-ruby/activesupport-4.2.7:*" -ruby_add_bdepend "test? ( dev-ruby/bundler - dev-ruby/rake - dev-ruby/rspec:3 )" - all_ruby_prepare() { - sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die -} - -each_ruby_test() { - RSPEC_VERSION=3 ruby-ng_rspec - ruby-ng_cucumber + sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die } diff --git a/dev-ruby/xdr/xdr-3.0.0.ebuild b/dev-ruby/xdr/xdr-3.0.0.ebuild index 382bce21b9ef..2923a56ad05e 100644 --- a/dev-ruby/xdr/xdr-3.0.0.ebuild +++ b/dev-ruby/xdr/xdr-3.0.0.ebuild @@ -2,8 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby24" -RUBY_FAKEGEM_RECIPE_DOC="" +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" inherit ruby-fakegem @@ -19,15 +22,6 @@ IUSE="test" ruby_add_rdepend ">=dev-ruby/activemodel-5.2.0:* >=dev-ruby/activesupport-5.2.0:*" -ruby_add_bdepend "test? ( dev-ruby/bundler - dev-ruby/rake - dev-ruby/rspec:3 )" - all_ruby_prepare() { - sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die -} - -each_ruby_test() { - RSPEC_VERSION=3 ruby-ng_rspec - ruby-ng_cucumber + sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die } |