summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-05-16 06:58:33 +0200
committerHans de Graaff <graaff@gentoo.org>2020-05-16 07:45:59 +0200
commit3e0d17b5a346d0725ef8bbc8bb9ad08200edf895 (patch)
treeda96f5c07a3ad340704f03e947e970e84ee5a183 /dev-ruby/rmagick/rmagick-3.1.0.ebuild
parentdev-python/liblarch: bump to 3.0 for py3, fix HOMEPAGE, add tests (diff)
downloadgentoo-3e0d17b5a346d0725ef8bbc8bb9ad08200edf895.tar.gz
gentoo-3e0d17b5a346d0725ef8bbc8bb9ad08200edf895.tar.bz2
gentoo-3e0d17b5a346d0725ef8bbc8bb9ad08200edf895.zip
dev-ruby/rmagick: cleanup
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rmagick/rmagick-3.1.0.ebuild')
-rw-r--r--dev-ruby/rmagick/rmagick-3.1.0.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/dev-ruby/rmagick/rmagick-3.1.0.ebuild b/dev-ruby/rmagick/rmagick-3.1.0.ebuild
deleted file mode 100644
index f65f3e18051..00000000000
--- a/dev-ruby/rmagick/rmagick-3.1.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_TASK_DOC=""
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.textile"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library"
-HOMEPAGE="https://github.com/gemhome/rmagick"
-
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~x86-macos"
-IUSE="doc"
-
-RDEPEND+=" >=media-gfx/imagemagick-6.9.0:= =media-gfx/imagemagick-6*"
-DEPEND+=" >=media-gfx/imagemagick-6.9.0:=[jpeg] =media-gfx/imagemagick-6*"
-
-ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"
-
-all_ruby_prepare() {
- # Avoid unused dependency on rake-compiler. This also avoids an
- # extra compile during tests.
- sed -i -e '/extensiontask/ s:^:#:' \
- -e '/ExtensionTask/,/end/ s:^:#:' \
- -e '/compile/ s:^:#:' Rakefile || die
-
- # Avoid simplecov dependency
- sed -i -e '/simplecov/ s:^:#:' Rakefile test/test_all_basic.rb || die
-
- # Squelch harmless warning about imagemagick installation.
- sed -i -e '/prefix/ s:ImageMagick:ImageMagick-6:' ext/RMagick/extconf.rb || die
-}
-
-each_ruby_configure() {
- ${RUBY} -Cext/RMagick extconf.rb || die "extconf.rb failed"
-}
-
-each_ruby_compile() {
- emake -Cext/RMagick V=1
- cp ext/RMagick/RMagick2$(get_modname) lib/ || die
-}
-
-each_ruby_test() {
- ${RUBY} -S rake test || die
- RSPEC_VERSION=3 ruby-ng_rspec spec || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- docinto examples
- dodoc examples/*
-
- if use doc ; then
- dohtml -r doc
- fi
-}