diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-01-02 13:04:53 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-01-02 13:04:53 +0000 |
commit | f56e0e4172f9e7463c2f1b3c13766e051e013f10 (patch) | |
tree | b682b81947ab84345e3c85e138a32f20ec4e21fd /dev-ruby/mini_magick | |
parent | Remove old versions. (diff) | |
download | gentoo-2-f56e0e4172f9e7463c2f1b3c13766e051e013f10.tar.gz gentoo-2-f56e0e4172f9e7463c2f1b3c13766e051e013f10.tar.bz2 gentoo-2-f56e0e4172f9e7463c2f1b3c13766e051e013f10.zip |
Version bump.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/mini_magick')
-rw-r--r-- | dev-ruby/mini_magick/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/mini_magick/mini_magick-3.1.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-ruby/mini_magick/ChangeLog b/dev-ruby/mini_magick/ChangeLog index f9db114ede90..ea9e2f88966e 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.6 2011/01/02 12:55:47 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mini_magick/ChangeLog,v 1.7 2011/01/02 13:04:53 graaff Exp $ + +*mini_magick-3.1 (02 Jan 2011) + + 02 Jan 2011; Hans de Graaff <graaff@gentoo.org> +mini_magick-3.1.ebuild: + Version bump. 02 Jan 2011; Hans de Graaff <graaff@gentoo.org> -mini_magick-1.3.1.ebuild, -mini_magick-1.3.2.ebuild: diff --git a/dev-ruby/mini_magick/mini_magick-3.1.ebuild b/dev-ruby/mini_magick/mini_magick-3.1.ebuild new file mode 100644 index 000000000000..66b3de8747ee --- /dev/null +++ b/dev-ruby/mini_magick/mini_magick-3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 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.1.ebuild,v 1.1 2011/01/02 13:04:53 graaff Exp $ + +EAPI=2 + +# 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" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Manipulate images with minimal use of memory." +HOMEPAGE="http://github.com/probablycorey/mini_magick" + +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] )" + +# tests are known to fail under imagemagick 6.5 at least, reported upstream: +# http://github.com/probablycorey/mini_magick/issues/#issue/2 +# update: still fails with imagemagick 6.6. +ruby_add_bdepend "test? ( virtual/ruby-test-unit )" + +ruby_add_rdepend ">=dev-ruby/subexec-0.0.4" + +all_ruby_prepare() { + # remove executable bit from all files + find "${S}" -type f -exec chmod -x {} + + + # Remove spec definition part because the gemspec file is not included + sed -i -e '/gemspec/,$ d' Rakefile || die +} |