summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-09-24 14:46:57 +0000
committerHans de Graaff <graaff@gentoo.org>2010-09-24 14:46:57 +0000
commit95e1464ca2306f3530644ea1b7e8ddd588f7485b (patch)
treed8cd0626f758cf1de78bd73d53057d6b123b9f9a /dev-ruby
parentAdd ~mips keyword, needed by ghostscript-gpl for cups (diff)
downloadgentoo-2-95e1464ca2306f3530644ea1b7e8ddd588f7485b.tar.gz
gentoo-2-95e1464ca2306f3530644ea1b7e8ddd588f7485b.tar.bz2
gentoo-2-95e1464ca2306f3530644ea1b7e8ddd588f7485b.zip
Add ree18 target.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/prawn-core/ChangeLog8
-rw-r--r--dev-ruby/prawn-core/prawn-core-0.8.4-r1.ebuild40
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/prawn-core/ChangeLog b/dev-ruby/prawn-core/ChangeLog
index 7d83aa0d1761..a6d2ee017bd3 100644
--- a/dev-ruby/prawn-core/ChangeLog
+++ b/dev-ruby/prawn-core/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/prawn-core
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/ChangeLog,v 1.5 2010/08/21 21:05:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/ChangeLog,v 1.6 2010/09/24 14:46:57 graaff Exp $
+
+*prawn-core-0.8.4-r1 (24 Sep 2010)
+
+ 24 Sep 2010; Hans de Graaff <graaff@gentoo.org>
+ +prawn-core-0.8.4-r1.ebuild:
+ Add ree18 target.
21 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
-prawn-core-0.7.1.ebuild, -prawn-core-0.7.2.ebuild:
diff --git a/dev-ruby/prawn-core/prawn-core-0.8.4-r1.ebuild b/dev-ruby/prawn-core/prawn-core-0.8.4-r1.ebuild
new file mode 100644
index 000000000000..887f596a83cc
--- /dev/null
+++ b/dev-ruby/prawn-core/prawn-core-0.8.4-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/prawn-core-0.8.4-r1.ebuild,v 1.1 2010/09/24 14:46:57 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 jruby"
+
+RUBY_FAKEGEM_DOCDIR="doc/html"
+RUBY_FAKEGEM_EXTRADOC="HACKING README"
+
+# ttfunk and pdf-inspector are vendored. These packages are maintained
+# separately upstream but never released, so we now keep on using
+# these vendored versions.
+RUBY_FAKEGEM_EXTRAINSTALL="data vendor"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Fast, Nimble PDF Generation For Ruby"
+HOMEPAGE="http://prawn.majesticseacreature.com/"
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+ruby_add_bdepend test "dev-ruby/test-spec dev-ruby/mocha >=dev-ruby/pdf-reader-0.8"
+
+# Older versions of prawn install the same files, but in site_ruby
+# which gets found before the newer gem install path that prawn-core
+# uses.
+RDEPEND="!<dev-ruby/prawn-0.7"
+
+all_ruby_install() {
+ all_fakegem_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples || die "Installing examples failed."
+ fi
+}