summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-24 07:58:02 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-24 08:29:45 +0100
commit6caafd674cb26f5d6363edf4d9a1f0d176f75ed9 (patch)
treebc113fdf0ed2b15cb2f800a6c76fefc767cae650 /dev-ruby/rbpdf-font
parentdev-ruby/multi_test: cleanup (diff)
downloadgentoo-6caafd674cb26f5d6363edf4d9a1f0d176f75ed9.tar.gz
gentoo-6caafd674cb26f5d6363edf4d9a1f0d176f75ed9.tar.bz2
gentoo-6caafd674cb26f5d6363edf4d9a1f0d176f75ed9.zip
dev-ruby/rbpdf-font: add ruby30
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rbpdf-font')
-rw-r--r--dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r1.ebuild b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r1.ebuild
new file mode 100644
index 000000000000..c38e425b6a9c
--- /dev/null
+++ b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# This gem bundles dejavu fonts, freefonts, and ttf2ufm
+# ttf2ufm is a precompiled 32-bit binary
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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
+}