diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-04-13 06:53:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-04-13 06:53:14 +0200 |
commit | e10d8d8a2748b486271ecd40a7cb5c091a5e0f87 (patch) | |
tree | 6f6dba744414959e92b31e9888f8217304671cdf /dev-ruby/png | |
parent | dev-ruby/tidy-ext: add ruby23 (diff) | |
download | gentoo-e10d8d8a2748b486271ecd40a7cb5c091a5e0f87.tar.gz gentoo-e10d8d8a2748b486271ecd40a7cb5c091a5e0f87.tar.bz2 gentoo-e10d8d8a2748b486271ecd40a7cb5c091a5e0f87.zip |
dev-ruby/png: avoid hoe for doc and tests
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/png')
-rw-r--r-- | dev-ruby/png/png-1.2.1.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-ruby/png/png-1.2.1.ebuild b/dev-ruby/png/png-1.2.1.ebuild index 26f73115c737..435bf2139600 100644 --- a/dev-ruby/png/png-1.2.1.ebuild +++ b/dev-ruby/png/png-1.2.1.ebuild @@ -5,8 +5,7 @@ EAPI=5 USE_RUBY="ruby20 ruby21" -RUBY_FAKEGEM_TASK_DOC="docs" -RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" inherit ruby-fakegem @@ -20,9 +19,7 @@ KEYWORDS="~amd64 ~x86" IUSE="" ruby_add_bdepend " - doc? ( dev-ruby/hoe ) test? ( - dev-ruby/hoe dev-ruby/minitest )" @@ -38,6 +35,10 @@ src_test() { ruby-ng_src_test } +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} + all_ruby_install() { all_fakegem_install |