dev-ruby/prawn-svg - 0.40.0 (guru)

Search

Install

Install this version:

emerge -a =dev-ruby/prawn-svg-0.40.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ruby/prawn-svg-0.40.0

Or alternatively:

emerge --autounmask-write -a =dev-ruby/prawn-svg-0.40.0

Package Information

Description:
Provides support for SVG in Prawn
Homepage:
https://github.com/mogest/prawn-svg
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.40.0 8 ~amd64 ~ppc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_DOC="yard"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"

inherit ruby-fakegem

DESCRIPTION="Provides support for SVG in Prawn"
HOMEPAGE="https://github.com/mogest/prawn-svg"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

ruby_add_rdepend "
	>=dev-ruby/css_parser-1.6.0
	>=dev-ruby/matrix-0.4.2
	>=dev-ruby/prawn-0.11.1
	>=dev-ruby/rexml-3.4.2
"

all_ruby_prepare() {
	# avoid useless dependencies
	sed -i '/rubocop/d' Gemfile || die
	rm -f Gemfile.lock || die
	# replace Bundler usage with direct requires for Gentoo environment
	sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die
	sed -i '1i require "prawn-svg"' spec/spec_helper.rb || die
}

Inherited Eclasses