summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-01-18 07:10:01 +0000
committerHans de Graaff <graaff@gentoo.org>2014-01-18 07:10:01 +0000
commit7bc62fa9482d3b37b81886c29bb5813d6008a24c (patch)
tree5fad9e2b2d94b4e50eac0819696b808bb15fdada /dev-ruby/mini_magick
parentVersion bump. (diff)
downloadgentoo-2-7bc62fa9482d3b37b81886c29bb5813d6008a24c.tar.gz
gentoo-2-7bc62fa9482d3b37b81886c29bb5813d6008a24c.tar.bz2
gentoo-2-7bc62fa9482d3b37b81886c29bb5813d6008a24c.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/mini_magick')
-rw-r--r--dev-ruby/mini_magick/ChangeLog9
-rw-r--r--dev-ruby/mini_magick/mini_magick-3.7.0.ebuild45
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-ruby/mini_magick/ChangeLog b/dev-ruby/mini_magick/ChangeLog
index b5f888d5c255..a5babeb14360 100644
--- a/dev-ruby/mini_magick/ChangeLog
+++ b/dev-ruby/mini_magick/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mini_magick
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.17 2013/11/05 00:40:23 mrueg Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.18 2014/01/18 07:10:01 graaff Exp $
+
+*mini_magick-3.7.0 (18 Jan 2014)
+
+ 18 Jan 2014; Hans de Graaff <graaff@gentoo.org> +mini_magick-3.7.0.ebuild:
+ Version bump.
05 Nov 2013; Manuel Rüger <mrueg@gentoo.org> -mini_magick-1.3.3-r2.ebuild,
-mini_magick-3.4.ebuild:
diff --git a/dev-ruby/mini_magick/mini_magick-3.7.0.ebuild b/dev-ruby/mini_magick/mini_magick-3.7.0.ebuild
new file mode 100644
index 000000000000..9818af36e4f3
--- /dev/null
+++ b/dev-ruby/mini_magick/mini_magick-3.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/mini_magick-3.7.0.ebuild,v 1.1 2014/01/18 07:10:01 graaff Exp $
+
+EAPI=5
+
+# jruby → test_tempfile_at_path_after_format fails with jruby 1.3.1,
+# sounds like a bug in JRuby itself, or the code not being compatible.
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="Manipulate images with minimal use of memory."
+HOMEPAGE="http://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] )"
+
+ruby_add_rdepend ">=dev-ruby/subexec-0.2.1"
+
+ruby_add_bdepend "test? ( dev-ruby/mocha )"
+
+all_ruby_prepare() {
+ # remove executable bit from all files
+ find "${S}" -type f -exec chmod -x {} +
+
+ sed -i -e '/[Bb]undler/ 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
+}