diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2014-10-11 00:35:55 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2014-10-11 00:35:55 +0000 |
commit | ca9cb72d06404b3e8041e6836ff8222959efd8c5 (patch) | |
tree | 9407465f32d30f3a4cb7da52830e82e50004be66 | |
parent | Fix build with USE=doc. Remove multilib eclass. Add ruby21 target. (diff) | |
download | gentoo-2-ca9cb72d06404b3e8041e6836ff8222959efd8c5.tar.gz gentoo-2-ca9cb72d06404b3e8041e6836ff8222959efd8c5.tar.bz2 gentoo-2-ca9cb72d06404b3e8041e6836ff8222959efd8c5.zip |
Add ruby21 target.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key )
-rw-r--r-- | dev-ruby/gruff/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/gruff/gruff-0.5.1-r1.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-ruby/gruff/ChangeLog b/dev-ruby/gruff/ChangeLog index f17e6fd5a90a..0555065df402 100644 --- a/dev-ruby/gruff/ChangeLog +++ b/dev-ruby/gruff/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/gruff # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/ChangeLog,v 1.50 2014/08/25 16:16:36 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/ChangeLog,v 1.51 2014/10/11 00:35:55 mrueg Exp $ + +*gruff-0.5.1-r1 (11 Oct 2014) + + 11 Oct 2014; Manuel Rüger <mrueg@gentoo.org> +gruff-0.5.1-r1.ebuild: + Add ruby21 target. 25 Aug 2014; Manuel Rüger <mrueg@gentoo.org> gruff-0.5.1.ebuild: Mark amd64 stable. Bug #512180. diff --git a/dev-ruby/gruff/gruff-0.5.1-r1.ebuild b/dev-ruby/gruff/gruff-0.5.1-r1.ebuild new file mode 100644 index 000000000000..203ce95f687c --- /dev/null +++ b/dev-ruby/gruff/gruff-0.5.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.5.1-r1.ebuild,v 1.1 2014/10/11 00:35:55 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.md RELEASE.md" + +RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators" + +inherit ruby-fakegem + +ruby_add_rdepend '>=dev-ruby/rmagick-2' +ruby_add_bdepend " + test? ( + dev-ruby/hoe + )" + +DESCRIPTION="RMagick Implementation for JRuby" +HOMEPAGE="http://rubyforge.org/projects/gruff/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-macos" +IUSE="" + +RUBY_PATCHES=( + ${PN}-0.3.6-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]" + +ruby_add_bdepend "test? ( dev-ruby/test-unit )" + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} |