dev-ruby/gruff: cleanup
authorHans de Graaff <graaff@gentoo.org>
Mon, 6 Apr 2020 05:13:42 +0000 (07:13 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 6 Apr 2020 09:27:33 +0000 (11:27 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/gruff/gruff-0.7.0-r1.ebuild [deleted file]

diff --git a/dev-ruby/gruff/gruff-0.7.0-r1.ebuild b/dev-ruby/gruff/gruff-0.7.0-r1.ebuild
deleted file mode 100644 (file)
index ba43d17..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
-
-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"
-
-RUBY_FAKEGEM_GEMSPEC="gruff.gemspec"
-
-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/test-unit
-       )"
-
-all_ruby_prepare() {
-       sed -i -e '/reporters/I s:^:#:' test/gruff_test_case.rb || die
-       sed -i -e '2irequire "date"' test/test_scatter.rb || die
-
-       # Relax rmagick dependency since 3.x is API compatible
-       sed -i -e "/rmagick/ s/'~> 2.13',//" ${RUBY_FAKEGEM_GEMSPEC} || die
-}
-
-each_ruby_test() {
-       ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
-}