summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/mini_magick')
-rw-r--r--dev-ruby/mini_magick/ChangeLog7
-rw-r--r--dev-ruby/mini_magick/Manifest10
-rw-r--r--dev-ruby/mini_magick/mini_magick-3.1.ebuild43
3 files changed, 55 insertions, 5 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/Manifest b/dev-ruby/mini_magick/Manifest
index 46ff5dfbcb19..6f85b0f12a6d 100644
--- a/dev-ruby/mini_magick/Manifest
+++ b/dev-ruby/mini_magick/Manifest
@@ -4,14 +4,16 @@ Hash: SHA256
AUX mini_magick-1.2.5-tests-tempdir.patch 551 RMD160 2e7bd13df54084ca317e8298456ce3f11e063459 SHA1 3dae6c8c7427e084aedfb95ada9729cf514da5cc SHA256 d45733a58ee6fe7a3f27442190b907bdceaa3ea0daa0860bec9138ff9735e8de
DIST mini_magick-1.2.5.gem 1082368 RMD160 a43812248126cab16a4eb56610af6f68745d23f3 SHA1 d1875a9baf658f7ff051071378dbfbf258316a4e SHA256 ced23395ff771a1d1475a5efbf611feb33d4278dde9bdcd567b83a8771294485
DIST mini_magick-1.3.3.gem 41472 RMD160 60df421470faac1c06e02bf86442f3445129417a SHA1 6a2e605ef872e36e09142c7d5c4ddfbd94de87ab SHA256 4634f09a8e6a879ab1baee58cdb15ea18aa08802c2c6a24d8b46d51e3e00b94d
+DIST mini_magick-3.1.gem 45568 RMD160 cbd5e25f2fd4e8d456a4ba720669e1b58b048490 SHA1 e1facf5cab203e54129c0fdf37d38f110787aebb SHA256 514cef555bd1cee2807243f0f1602a0f6dad7f74cc552d50a4cfc6fa34811839
EBUILD mini_magick-1.2.5.ebuild 1267 RMD160 b36e6f700eb56eb1ec787502a9fc90955af010a1 SHA1 4ec4d72fcb7e1c3f1aeee92567a0b0c77324e024 SHA256 c1c529c01b4a80fc2003eac1bc27fdb849ced6a16daa8460bedd8569f565f4ea
EBUILD mini_magick-1.3.3.ebuild 1422 RMD160 1169ad3a4cb5b66b6cfe58aac287c328e0499675 SHA1 1474b529a8fd50e65aa74827a45c2e1d0ffacd4d SHA256 f2e7dc522ff96f9ea445c14c3ff0a3d1f619af700c7984628fd79aa15202c5c0
-MISC ChangeLog 1222 RMD160 156124e3635ea8bfa00049b0ef1193139e3f8c56 SHA1 80f99b47ab865d1e647c98e04c9f528ef608824e SHA256 28b1ea92b342f8560483c7743d9f1f938517cbcaee7602b2d72ac470289f7bb8
+EBUILD mini_magick-3.1.ebuild 1420 RMD160 4e5c78951dbe446272917e3870e09f2c68e7c940 SHA1 268f449bf2a0d24707f3782ee17b3687a56e4d8c SHA256 8ebbea9b8fdc731b5dee397f528eadc1f2c80e7d80aac515d6df5f001b0cac50
+MISC ChangeLog 1346 RMD160 f23fff40bbf3861a5d53db1c403dc9891f92a7fb SHA1 775c8ce9b349d601b2a33b05547be70de382609b SHA256 a5c9702b440798653cd45fd181e7e5a489f17f9af60ad12ddbda102ae1a561a5
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iF4EAREIAAYFAk0gdd4ACgkQrnu0mw69JkqbkQD/aM7RfGWU/JVu01c20jZKPShZ
-wpsR1EEpyA0bj+JLQB4A/iOA/iAN9tPU8Hw+9g6SMP/i0pl1msljG9v63a/yIIoh
-=W5u0
+iF4EAREIAAYFAk0gd/oACgkQrnu0mw69JkrT/AEAjVvxzFe9tjJoxgtbr4ALRS+f
+yUIaDyjbZLaVBH8gFYoA/0MCpfMw7MCnsvlUe7DUAX39DJSdnV7V1xr0llF8k+RJ
+=e+Jv
-----END PGP SIGNATURE-----
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
+}