diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-08-06 11:25:29 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-08-06 11:26:16 +0200 |
commit | aa23a6d8c31d9b992803f99a6367550428d33e86 (patch) | |
tree | 8e7eca7f324792296f9123c0723d337872095365 /dev-ruby | |
parent | x11-misc/rednotebook: Cleanup per bug #66633 (diff) | |
download | gentoo-aa23a6d8c31d9b992803f99a6367550428d33e86.tar.gz gentoo-aa23a6d8c31d9b992803f99a6367550428d33e86.tar.bz2 gentoo-aa23a6d8c31d9b992803f99a6367550428d33e86.zip |
dev-ruby/mini_magick: add 4.5.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mini_magick/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mini_magick/mini_magick-4.5.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest index 6fa47ba52f1d..9315340765bd 100644 --- a/dev-ruby/mini_magick/Manifest +++ b/dev-ruby/mini_magick/Manifest @@ -1 +1,2 @@ DIST mini_magick-4.4.0.tar.gz 1111535 SHA256 ee1d74693d569c15bc421b39ca35f66b4afe5aa08cdf81d4bbff096fe308833a SHA512 5b6bc158f04175676fac100f17c82694ab6d20845f44ba6965b20533e139581694a641a96d7cb8ad323949f6b490ea20b96a1b9b576d7b9482269c8592df57d5 WHIRLPOOL 3ba4e177c63f265365c60a5ffeef3d9a0511ab061cd819df34fdc127fc8886e125bf85e64b869a21a7d28c1fe4e61cba0a1da96e1c1e09314e3ea473c844898d +DIST mini_magick-4.5.1.tar.gz 1113157 SHA256 4222e9c8b84914230669e0a180a2e1d68e6c3d0d2b9e2464faf664bd545e8522 SHA512 d586f8a33e1050923311bbd26209ba01488b5249335a19898df47479e4dfca25fba33db6dd57da420e73fbc48eab27723fb4937a7a932c1b39143bfd02bea654 WHIRLPOOL 623b01092ff2e4647a318ee67025d04cdacba252dcae87139d88a1eef535262af38a80d72f08b49cf6889d0ec95a876bfd2482ef66e5b4242f92ea3075fb0705 diff --git a/dev-ruby/mini_magick/mini_magick-4.5.1.ebuild b/dev-ruby/mini_magick/mini_magick-4.5.1.ebuild new file mode 100644 index 000000000000..604cd25f21ca --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-4.5.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +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" +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? ( media-gfx/imagemagick[tiff,jpeg,png] >=media-gfx/graphicsmagick-1.3.20[tiff,jpeg,png] )" + +ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn )" + +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 +} |