diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-ruby/mini_magick/mini_magick-4.8.0.ebuild | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/mini_magick/mini_magick-4.8.0.ebuild')
-rw-r--r-- | dev-ruby/mini_magick/mini_magick-4.8.0.ebuild | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/dev-ruby/mini_magick/mini_magick-4.8.0.ebuild b/dev-ruby/mini_magick/mini_magick-4.8.0.ebuild deleted file mode 100644 index 422758027fef..000000000000 --- a/dev-ruby/mini_magick/mini_magick-4.8.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby23 ruby24 ruby25" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem eutils - -DESCRIPTION="Manipulate images with minimal use of memory" -HOMEPAGE="https://github.com/minimagick/minimagick" -SRC_URI="https://github.com/minimagick/minimagick/archive/v${PV}.tar.gz -> ${P}.tar.gz" -RUBY_S="minimagick-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -# It's only used at runtime in this case because this extension only -# _calls_ the commands. But when we run tests we're going to need tiff -# and jpeg support at a minimum. -RDEPEND+=" media-gfx/imagemagick" -DEPEND+=" test? ( virtual/imagemagick-tools[jpeg,png,tiff] )" - -USE_RUBY="ruby23 ruby24" ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn dev-ruby/webmock )" - -all_ruby_prepare() { - # remove executable bit from all files - find "${S}" -type f -exec chmod -x {} + - - sed -i -e '/\([Bb]undler\|pry\)/ s:^:#:' spec/spec_helper.rb || die - - # Don't force a specific formatter but use overall Gentoo defaults. - sed -i -e '/config.formatter/d' spec/spec_helper.rb || die - - # Avoid broken spec that does not assume . in path name - sed -i -e '/reformats a layer/,/end/ s:^:#:' spec/lib/mini_magick/image_spec.rb || die - - # Avoid failing spec that also fails in upstream Travis - sed -i -e '/returns a hash of verbose information/,/^ end/ s:^:#:' spec/lib/mini_magick/image_spec.rb || die - - # Make spec more lenient to imagemagick quoting - sed -i -e "/unable to open image/ s/'foo'/.foo./" spec/lib/mini_magick/shell_spec.rb || die - - # Avoid graphicsmagick tests because installing both in parallel for - # tests is hard. - sed -i -e 's/:graphicsmagick//' spec/spec_helper.rb || die - sed -i -e '/identifies when gm exists/,/^ end/ s:^:#:' spec/lib/mini_magick/utilities_spec.rb || die - sed -i -e '/returns GraphicsMagick/,/^ end/ s:^:#:' spec/lib/mini_magick_spec.rb || die -} - -each_ruby_test() { - case ${RUBY} in - *ruby23|*ruby24) - each_fakegem_test - ;; - *) - einfo "Skipping tests due to circular dependencies with Rails" - ;; - esac -} |