diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/gruff | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/gruff')
-rw-r--r-- | dev-ruby/gruff/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/gruff/gruff-0.7.0.ebuild | 44 | ||||
-rw-r--r-- | dev-ruby/gruff/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest new file mode 100644 index 000000000000..1530e44169cb --- /dev/null +++ b/dev-ruby/gruff/Manifest @@ -0,0 +1,3 @@ +DIST gruff-0.7.0.gem 318464 BLAKE2B bcc51f524089f53b89778143b444c70d4e168983edda247cdb4c9c84c288450154ce6e5234bbf7a0a8ae7251df611333c8bb411a8fd3765ccc5fe9650c3efc38 SHA512 b9842213ab3da7b4eccf8bd06e18d62aea14a6a15d7c45ebe7e51a76acd456ce140f094a9419d4c0bd1774e7d203bea49f9c39aca36c75d744f2732bcde9f688 +EBUILD gruff-0.7.0.ebuild 1210 BLAKE2B 9e4dcf88e9ec552666814597e6ba0453f3b07e1654172c39cd5d722ec699418518bbcdfbad23e93b671eb6336a9b1a24f34251d67b7ce3c642ae8b4003ee382a SHA512 879de2201909d6020ca781f7c8c20e66bf2a2ee50971113ac736a1d5bdd711631743dd01c8f7299e8324238b2306fef6adc5e89d5b5bad7fd1e81ca54f80d879 +MISC metadata.xml 340 BLAKE2B e3adfc25e09939c98ba4a4323afd0babccd4b0c11ea712e93a454ea4d3074f12a895d674735f8209598336a1d62ea61d6d00c8956a47cccd583857c36f261ab7 SHA512 1136e2805ed73f18bba2c981e2788fa635face71a9b1b384e3dc20680afd4fb354f33ac099077568f7fa1f3510e1c46771f663341153ae64ef961508243c16d6 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..6a6ca07ff84c --- /dev/null +++ b/dev-ruby/gruff/gruff-0.7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24" + +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 +} diff --git a/dev-ruby/gruff/metadata.xml b/dev-ruby/gruff/metadata.xml new file mode 100644 index 000000000000..55cacede49e2 --- /dev/null +++ b/dev-ruby/gruff/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">topfunky/gruff</remote-id> + </upstream> +</pkgmetadata> |