diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-08-19 20:27:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-08-19 20:27:40 +0200 |
commit | 37e4f606be5824990f4075cd5148ad74105fc6cc (patch) | |
tree | 7c54af3124e1f87c8172196e53f4d6220d1e6465 /dev-ruby | |
parent | dev-ruby/execjs: version bump (diff) | |
download | gentoo-37e4f606be5824990f4075cd5148ad74105fc6cc.tar.gz gentoo-37e4f606be5824990f4075cd5148ad74105fc6cc.tar.bz2 gentoo-37e4f606be5824990f4075cd5148ad74105fc6cc.zip |
dev-ruby/mini_magick: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mini_magick/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mini_magick/mini_magick-4.2.10.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest index 32493bc5aec0..3a563f67705d 100644 --- a/dev-ruby/mini_magick/Manifest +++ b/dev-ruby/mini_magick/Manifest @@ -1,2 +1,3 @@ +DIST mini_magick-4.2.10.tar.gz 1060057 SHA256 b8f694648ff15729338f7534b057bc1be3fa47bc73fd935f78f872e2f6186996 SHA512 90ac378d7e9b4eb2fef7d2f036e90ea17e7b1fb42e4f022dd9921af818becbb7041e82796e84cefc05f25e42c1705bd9d623f28d9cda437821d0f7801f731168 WHIRLPOOL 9f96b85b3af696a65c80ca5ef4e3754ae993af86532bf624ee351c428c7faca14415e03a4eb7747bcff1a45fc60b7889e31eb0d98c715d29834ac9db9fe0ae4f DIST mini_magick-4.2.7.tar.gz 1059704 SHA256 55c829cbbc09020a7e48864374341b09c25700f343e6f443248bf99b906ed88c SHA512 172e71d3d9286d92541951d83a67e3be05ff207e27502472426fab10ca92339c371f52ca85790300bdb881b10470ed7810e01a85d3b4e1a2ed4e89dc0f117493 WHIRLPOOL 90d8a7544d11699724b873b30cdc9243d5c388ddb4216577119770ea38ac1d336a5af2853861a9a6dd957f1f0a17af363446882ebaae19853f20dbf10398f66e DIST mini_magick-4.2.9.tar.gz 1059967 SHA256 f168e4683a38209ec0298d94678b493c793fb785e657d850a08dff3ab461464e SHA512 d3ffc33d14030b27d106930dbf7183eb7884646103f063361e798670929c37bac36bed08cfd4e9c6128c51f8c6b05a3e2eeb440d01abe7f0b788211ede4e4c26 WHIRLPOOL cf5e7d76105f2d446917eea3596d6b4413700aa202e4124b29a233371125a397251ef2bdb3d7ee8f66272bf584e18933510e7290bf7c7d9a6f1f26d6991e1dd1 diff --git a/dev-ruby/mini_magick/mini_magick-4.2.10.ebuild b/dev-ruby/mini_magick/mini_magick-4.2.10.ebuild new file mode 100644 index 000000000000..4de4e097e0ee --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-4.2.10.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 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 +} |