summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-28 08:36:49 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-28 08:36:49 +0000
commit2180463adf64a2f27f128e1799fb9c5b4978da81 (patch)
treed23c2e05c4964c003520bbc131699ab69e78580c /dev-ruby/gruff
parentRevision bump to drop ruby19 from stable version. (diff)
downloadgentoo-2-2180463adf64a2f27f128e1799fb9c5b4978da81.tar.gz
gentoo-2-2180463adf64a2f27f128e1799fb9c5b4978da81.tar.bz2
gentoo-2-2180463adf64a2f27f128e1799fb9c5b4978da81.zip
Revision bump to drop ruby19 from stable version.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/gruff')
-rw-r--r--dev-ruby/gruff/ChangeLog8
-rw-r--r--dev-ruby/gruff/gruff-0.3.6-r1.ebuild4
-rw-r--r--dev-ruby/gruff/gruff-0.3.6-r2.ebuild45
3 files changed, 54 insertions, 3 deletions
diff --git a/dev-ruby/gruff/ChangeLog b/dev-ruby/gruff/ChangeLog
index 1ea355435449..6123667757c2 100644
--- a/dev-ruby/gruff/ChangeLog
+++ b/dev-ruby/gruff/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/gruff
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/ChangeLog,v 1.37 2011/02/13 09:35:15 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/ChangeLog,v 1.38 2011/12/28 08:36:49 graaff Exp $
+
+*gruff-0.3.6-r2 (28 Dec 2011)
+
+ 28 Dec 2011; Hans de Graaff <graaff@gentoo.org> gruff-0.3.6-r1.ebuild,
+ +gruff-0.3.6-r2.ebuild:
+ Revision bump to drop ruby19 from stable version.
13 Feb 2011; Hans de Graaff <graaff@gentoo.org> gruff-0.3.6-r1.ebuild:
Ensure that imagemagick is built with proper options for tests, fixes bug
diff --git a/dev-ruby/gruff/gruff-0.3.6-r1.ebuild b/dev-ruby/gruff/gruff-0.3.6-r1.ebuild
index 664739ee73d8..3dc50db20c14 100644
--- a/dev-ruby/gruff/gruff-0.3.6-r1.ebuild
+++ b/dev-ruby/gruff/gruff-0.3.6-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.3.6-r1.ebuild,v 1.8 2011/02/13 09:35:15 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.3.6-r1.ebuild,v 1.9 2011/12/28 08:36:49 graaff Exp $
EAPI=2
-USE_RUBY="ruby18 ruby19"
+USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC="docs"
diff --git a/dev-ruby/gruff/gruff-0.3.6-r2.ebuild b/dev-ruby/gruff/gruff-0.3.6-r2.ebuild
new file mode 100644
index 000000000000..a23a70a91ca3
--- /dev/null
+++ b/dev-ruby/gruff/gruff-0.3.6-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.3.6-r2.ebuild,v 1.1 2011/12/28 08:36:49 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
+
+RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
+
+inherit ruby-fakegem
+
+ruby_add_rdepend '>=dev-ruby/rmagick-2'
+ruby_add_bdepend "
+ test? (
+ dev-ruby/hoe
+ virtual/ruby-test-unit
+ )
+ doc? ( dev-ruby/hoe )"
+
+DESCRIPTION="RMagick Implementation for JRuby"
+HOMEPAGE="http://rubyforge.org/projects/gruff/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86 ~x86-macos"
+IUSE=""
+
+RUBY_PATCHES=(
+ ${P}-sort-filenames.patch
+ ${P}-fix-tests.patch
+ ${P}-spider.patch
+)
+
+# imagemagick is an indirect dependency through rmagick. However, for
+# gruff to work properly imagemagick needs to be compiled with
+# truetype support and this cannot be expressed in the rmagick
+# dependency. Test also require imagemagick to have jpeg support.
+DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,truetype] )"
+RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"