1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 USE_RUBY="ruby20 ruby21 ruby22"
8 RUBY_FAKEGEM_TASK_DOC=""
10 RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
14 DESCRIPTION="Create sparklines, small graphs to be used inline in texts"
15 HOMEPAGE="http://sparklines.rubyforge.org/"
19 KEYWORDS="~amd64 ~x86 ~x86-macos"
22 RDEPEND="dev-ruby/rmagick"
24 ruby_add_bdepend test "dev-ruby/tidy_table dev-ruby/dust"
27 # Don't use deprecated rmagick require for compatibility with newer
29 sed -i -e '/require/ s/RMagick/rmagick/' lib/sparklines.rb || die
33 ${RUBY} -I. test/test_all.rb || die