From: Hans de Graaff Date: Sun, 4 Oct 2015 05:44:10 +0000 (+0200) Subject: dev-ruby/mini_magick: add 4.3.5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b299f63bedb646077e134e720664455108c8f17a;p=gentoo.git dev-ruby/mini_magick: add 4.3.5 Package-Manager: portage-2.2.20.1 --- diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest index f988e8c2d715..f61ff9bb9f21 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.3.3.tar.gz 1106623 SHA256 1ec9ee60cdd88839a958a1fccc82db20887607dc385d618aefcb81cdc577c33e SHA512 e451d5fc3fe6331698858350d1c6b704f6f3e601228b635a2469403f2b4457606144e04b5020daf67a21ff055d6aed4b138a1f107dc29cc02613541411ed0872 WHIRLPOOL f0783edc683931521a2dcd0f0d4594cc61e65a411650bbbc5223c33da80f9455087127bce4f1f36b0889b6d98ccaeda90b956bb59c789dde171cf8e28186118c +DIST mini_magick-4.3.5.tar.gz 1106688 SHA256 2d891e22bd882fb0fd88846f7d3436944a38205af6c8205fa0cb25e9eaba2e05 SHA512 7d914cd87c9d14aa0680c9b008b93cc1e996df2793c13c004a23b6f813f9c3999d8bb52322661f57ef70c6af12821d3ae5cc92eef2e24896fe50bc9f27d3270b WHIRLPOOL 468048e55ba991466f99efdd598a79b65cc4324c15a9a63f1d79a4bd0068b7dfc616943824ee507839898c6ce690b6fed78ab8b21c8829cc14f90e4cafd40cbe diff --git a/dev-ruby/mini_magick/mini_magick-4.3.5.ebuild b/dev-ruby/mini_magick/mini_magick-4.3.5.ebuild new file mode 100644 index 000000000000..4de4e097e0ee --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-4.3.5.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 +}