summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-08-06 05:14:07 +0000
committerHans de Graaff <graaff@gentoo.org>2015-08-06 05:14:07 +0000
commit60297b35d7b6dd1d897e429f407ba8d41f113d46 (patch)
tree1c76724b981791abc3b12fec4da1c1db94c05a91 /dev-ruby
parentarm stable, bug #553894 (diff)
downloadgentoo-2-60297b35d7b6dd1d897e429f407ba8d41f113d46.tar.gz
gentoo-2-60297b35d7b6dd1d897e429f407ba8d41f113d46.tar.bz2
gentoo-2-60297b35d7b6dd1d897e429f407ba8d41f113d46.zip
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mini_magick/ChangeLog7
-rw-r--r--dev-ruby/mini_magick/mini_magick-4.2.9.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/mini_magick/ChangeLog b/dev-ruby/mini_magick/ChangeLog
index 2ec84579ba7b..d7683b59aede 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-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.31 2015/08/06 04:51:38 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.32 2015/08/06 05:14:07 graaff Exp $
+
+*mini_magick-4.2.9 (06 Aug 2015)
+
+ 06 Aug 2015; Hans de Graaff <graaff@gentoo.org> +mini_magick-4.2.9.ebuild:
+ Version bump.
06 Aug 2015; Hans de Graaff <graaff@gentoo.org> -mini_magick-3.8.1-r1.ebuild,
-mini_magick-4.2.1.ebuild, -mini_magick-4.2.4.ebuild:
diff --git a/dev-ruby/mini_magick/mini_magick-4.2.9.ebuild b/dev-ruby/mini_magick/mini_magick-4.2.9.ebuild
new file mode 100644
index 000000000000..8fb845da3b08
--- /dev/null
+++ b/dev-ruby/mini_magick/mini_magick-4.2.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/mini_magick-4.2.9.ebuild,v 1.1 2015/08/06 05:14:07 graaff Exp $
+
+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
+}