diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-07-29 06:28:38 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-07-29 06:28:38 +0000 |
commit | 36ef98d89f905cbdb169dc4c28f580fc0ef81fe6 (patch) | |
tree | 2bb7f091cac518633ba51cc3892c83aa00e9b83a | |
parent | Add arm64/s390/sh love. (diff) | |
download | gentoo-2-36ef98d89f905cbdb169dc4c28f580fc0ef81fe6.tar.gz gentoo-2-36ef98d89f905cbdb169dc4c28f580fc0ef81fe6.tar.bz2 gentoo-2-36ef98d89f905cbdb169dc4c28f580fc0ef81fe6.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
-rw-r--r-- | dev-ruby/mini_magick/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/mini_magick/mini_magick-3.8.0.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-ruby/mini_magick/ChangeLog b/dev-ruby/mini_magick/ChangeLog index cdff9d9bd09d..3ca0b19967bc 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-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.20 2014/04/06 06:39:44 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.21 2014/07/29 06:28:38 graaff Exp $ + +*mini_magick-3.8.0 (29 Jul 2014) + + 29 Jul 2014; Hans de Graaff <graaff@gentoo.org> +mini_magick-3.8.0.ebuild: + Version bump. *mini_magick-3.7.0-r1 (06 Apr 2014) diff --git a/dev-ruby/mini_magick/mini_magick-3.8.0.ebuild b/dev-ruby/mini_magick/mini_magick-3.8.0.ebuild new file mode 100644 index 000000000000..6a00f195e5db --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-3.8.0.ebuild @@ -0,0 +1,49 @@ +# 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.8.0.ebuild,v 1.1 2014/07/29 06:28:38 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 jruby" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +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 =dev-ruby/subexec-0.2*" + +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 + + # Avoid test depending on graphicsmagick + sed -e '/identifies when gm exists/a pending "depends on graphicsmagick"' \ + -i spec/lib/mini_magick_spec.rb || die +} |