summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-08-10 07:56:27 +0200
committerHans de Graaff <graaff@gentoo.org>2016-08-10 07:56:27 +0200
commit59e6560c0c7c4b01454bee7f05c5957311555172 (patch)
treeff28d7bbe16e0d9e756e5b3a332ed4eb16925a64 /dev-ruby/rbpdf-font
parentdev-ruby/ox: add 2.4.4 (diff)
downloadgentoo-59e6560c0c7c4b01454bee7f05c5957311555172.tar.gz
gentoo-59e6560c0c7c4b01454bee7f05c5957311555172.tar.bz2
gentoo-59e6560c0c7c4b01454bee7f05c5957311555172.zip
dev-ruby/rbpdf-font: fix various issues
add ruby22, ruby23 run tests with proper test-unit version install additional documentation document bundled code status Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/rbpdf-font')
-rw-r--r--dev-ruby/rbpdf-font/rbpdf-font-1.19.0-r1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/rbpdf-font/rbpdf-font-1.19.0-r1.ebuild b/dev-ruby/rbpdf-font/rbpdf-font-1.19.0-r1.ebuild
new file mode 100644
index 000000000000..48468be18c9d
--- /dev/null
+++ b/dev-ruby/rbpdf-font/rbpdf-font-1.19.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# This gem bundles dejavu fonts, freefonts, and ttf2ufm
+# ttf2ufm is a precompiled 32-bit binary
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Font files for the Ruby on Rails RBPDF plugin"
+HOMEPAGE="https://github.com/naitoh/rbpdf"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend ">=dev-ruby/test-unit-3:2"
+
+all_ruby_prepare() {
+ sed -i -e "/bundler/d" Rakefile || die
+ sed -i -e '2igem "test-unit", "~>3.0"' test/test_helper.rb || die
+}