diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-09-11 07:27:04 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-09-11 08:57:54 +0200 |
commit | b5ed786e30589e01a0fe2f46f3f7e530c9ad7923 (patch) | |
tree | e78ff6ccb9d57591c9e3a5e5a4024ec320db1ea8 /dev-ruby/mini_magick | |
parent | dev-ruby/moneta: add 1.4.0 (diff) | |
download | gentoo-b5ed786e30589e01a0fe2f46f3f7e530c9ad7923.tar.gz gentoo-b5ed786e30589e01a0fe2f46f3f7e530c9ad7923.tar.bz2 gentoo-b5ed786e30589e01a0fe2f46f3f7e530c9ad7923.zip |
dev-ruby/mini_magick: cleanup
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mini_magick')
-rw-r--r-- | dev-ruby/mini_magick/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mini_magick/mini_magick-4.9.5.ebuild | 55 |
2 files changed, 0 insertions, 56 deletions
diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest index d197c9d16883..cb88dc6d2d69 100644 --- a/dev-ruby/mini_magick/Manifest +++ b/dev-ruby/mini_magick/Manifest @@ -1,2 +1 @@ DIST mini_magick-4.10.1.tar.gz 1192455 BLAKE2B 269f0fbf0e49bb14c3a39124dfeb8171775db7a9e51e4662e5dac0a98c4668156bf5bbf22af62a9f62d7834d2205a9475e5631b768d27cac0527cab0baad25fa SHA512 28e4a4cf213db69182adb56daa3e09eb576e96e8ff4ad95121f9a16f8ecceb98ad790d3897463fa1ab3b7d4b9925777f9e71302adfd3f31b3f88aa520371e77b -DIST mini_magick-4.9.5.tar.gz 1192220 BLAKE2B 18867664682b82c689beadd190d203f9a460a229ee07271fdfd3b9ef7c7fb2a913107b2f318c33b7aa15aad88488a4da5548f371f9f9b38246aa8f2210e04d15 SHA512 06a82b3c5bf47ae1254fb669f4cb63a7a944977eaa790501ee715740c6a2fdfe81ea886235fe310d2c0ca07253f4167e72ddae6e29a551315ecafc595c2a3a53 diff --git a/dev-ruby/mini_magick/mini_magick-4.9.5.ebuild b/dev-ruby/mini_magick/mini_magick-4.9.5.ebuild deleted file mode 100644 index f10d9b866449..000000000000 --- a/dev-ruby/mini_magick/mini_magick-4.9.5.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -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 ~ppc ~ppc64 ~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] )" - -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 spec broken by recent imagemagick updates - sed -i -e '/cache files generated from .mpc/askip' spec/lib/mini_magick/image_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 -} |