commit:     59e6560c0c7c4b01454bee7f05c5957311555172
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 05:56:27 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 05:56:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e6560c

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

 dev-ruby/rbpdf-font/rbpdf-font-1.19.0-r1.ebuild | 30 +++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

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 0000000..48468be
--- /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
+}

Reply via email to