dev-ruby/bogus - 0.1.7-r1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-ruby/bogus-0.1.7-r1

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

autounmask =dev-ruby/bogus-0.1.7-r1

Or alternatively:

emerge --autounmask-write -a =dev-ruby/bogus-0.1.7-r1

Package Information

Description:
Ensuring that the things you stub or mock actually exist
Homepage:
https://github.com/psyho/bogus
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.1.7-r1 8 ~amd64 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 ruby40"

RUBY_FAKEGEM_RECIPE_TEST="rspec3"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"

inherit ruby-fakegem

DESCRIPTION="Ensuring that the things you stub or mock actually exist"
HOMEPAGE="https://github.com/psyho/bogus"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

ruby_add_rdepend ">=dev-ruby/dependor-0.0.4"

PATCHES=(
	"${FILESDIR}"/bogus-0.1.7-erb6.patch
)

all_ruby_prepare() {
	sed -i -e '/simplecov/,/^end/ s:^:#:' \
		-e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die

	# Avoid dependency on unpackaged nulldb
	rm -f spec/bogus/fakes/fake_ar_attributes_spec.rb || die

	# Avoid keyword specs failing on ruby30
	rm -r spec/bogus/ruby_2* || die
}

Inherited Eclasses