summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-06-01 06:17:05 +0200
committerHans de Graaff <graaff@gentoo.org>2016-06-02 07:00:54 +0200
commita6d0e686ea27d82c7c653afc93acb5e7ff863990 (patch)
treef3e1d914758c509c7e523d4f562e74342356602c /dev-ruby/gruff
parentsys-libs/libhx: fix bug 584724 (diff)
downloadgentoo-a6d0e686ea27d82c7c653afc93acb5e7ff863990.tar.gz
gentoo-a6d0e686ea27d82c7c653afc93acb5e7ff863990.tar.bz2
gentoo-a6d0e686ea27d82c7c653afc93acb5e7ff863990.zip
dev-ruby/gruff: add 0.7.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/gruff')
-rw-r--r--dev-ruby/gruff/Manifest1
-rw-r--r--dev-ruby/gruff/gruff-0.7.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest
index f0f81ae2d38f..3d34626a0bd9 100644
--- a/dev-ruby/gruff/Manifest
+++ b/dev-ruby/gruff/Manifest
@@ -1 +1,2 @@
DIST gruff-0.6.0.gem 316416 SHA256 d44116afdc914a98143fd455004f4aeb725942e8a61650c93e1fde7d307de4b2 SHA512 4771637157d11c85d437d41d63d018915d1214fd09dc7078b883c98f640821aec3ddc64fcd4516ca4bfd06c9523ee5a4b60dc6233903e03d7336ad10989613cb WHIRLPOOL dc55cfe4ca44c85ae753395272492bc8c0091145b48421e7e3da67347525deb07cfb5470c95e7c00bd5369634566794c645059f9dad2e12744578140a92b5207
+DIST gruff-0.7.0.gem 318464 SHA256 76d8136ad46d0945f6d118b4bdc0002558624d2b9ede3a96f37536022fefc476 SHA512 b9842213ab3da7b4eccf8bd06e18d62aea14a6a15d7c45ebe7e51a76acd456ce140f094a9419d4c0bd1774e7d203bea49f9c39aca36c75d744f2732bcde9f688 WHIRLPOOL d2e532db0e6bcae6af5670503de72347196264c95448747c530eafdc993bb45be21b94a0f7a16b04abf6157e5364806657abf1827caeba08a786449071dde28d
diff --git a/dev-ruby/gruff/gruff-0.7.0.ebuild b/dev-ruby/gruff/gruff-0.7.0.ebuild
new file mode 100644
index 000000000000..4e02095ba30e
--- /dev/null
+++ b/dev-ruby/gruff/gruff-0.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.md RELEASE.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Beautiful graphs for one or multiple datasets"
+HOMEPAGE="https://github.com/topfunky/gruff"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-macos"
+IUSE=""
+
+# imagemagick is an indirect dependency through rmagick. However, for
+# gruff to work properly imagemagick needs to be compiled with truetype
+# support and this cannot be expressed in the rmagick dependency. Tests
+# also require imagemagick to have jpeg and png support.
+DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )"
+RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
+
+ruby_add_rdepend ">=dev-ruby/rmagick-2.13.4"
+ruby_add_bdepend "
+ test? (
+ dev-ruby/hoe
+ dev-ruby/test-unit
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/reporters/I s:^:#:' test/gruff_test_case.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
+}