summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-10-21 07:19:00 +0200
committerHans de Graaff <graaff@gentoo.org>2015-10-21 07:19:00 +0200
commit09161d1bb77533515147aa79f82dfdd6de33b074 (patch)
tree5a47d7aeb6fd155b5a428cd9934bf1e15a73fc8e /dev-ruby/mini_magick
parentdev-ruby/ox: add 2.2.2 (diff)
downloadgentoo-09161d1bb77533515147aa79f82dfdd6de33b074.tar.gz
gentoo-09161d1bb77533515147aa79f82dfdd6de33b074.tar.bz2
gentoo-09161d1bb77533515147aa79f82dfdd6de33b074.zip
dev-ruby/mini_magick: add 4.3.6
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/mini_magick')
-rw-r--r--dev-ruby/mini_magick/Manifest1
-rw-r--r--dev-ruby/mini_magick/mini_magick-4.3.6.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/mini_magick/Manifest b/dev-ruby/mini_magick/Manifest
index f61ff9bb9f21..0561a89eebbd 100644
--- a/dev-ruby/mini_magick/Manifest
+++ b/dev-ruby/mini_magick/Manifest
@@ -1,3 +1,4 @@
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
+DIST mini_magick-4.3.6.tar.gz 1106887 SHA256 a1316effe107c6b3cbee5bfbd295aad40d5b218e29cdafa71244aecc66e4e189 SHA512 91ed5628d9d23e28061498e1001a97439ce7124286cd6687675d9d9b0b83a09a894ffa50b1bb6f6c772070f7a3586633cec2841ea3096a5cff94d4f3f2baff8b WHIRLPOOL 2df9e934836bda02a0e42065fa82646238f5119ca03153905068148dac21dca64fe223d1a81ea423b51b35362e1b5a070aae28f5e8468161ea3d25dcc6cbf3c2
diff --git a/dev-ruby/mini_magick/mini_magick-4.3.6.ebuild b/dev-ruby/mini_magick/mini_magick-4.3.6.ebuild
new file mode 100644
index 000000000000..4de4e097e0ee
--- /dev/null
+++ b/dev-ruby/mini_magick/mini_magick-4.3.6.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
+}