mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
29 lines
671 B
Bash
29 lines
671 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
|
|
|
|
RUBY_FAKEGEM_TASK_DOC=""
|
|
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="A simple configuration / settings solution that uses an ERB enabled YAML file"
|
|
HOMEPAGE="https://github.com/binarylogic/settingslogic"
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-psych-4.patch" )
|
|
|
|
all_ruby_prepare() {
|
|
sed -i -e '/check_dependencies/d' Rakefile || die
|
|
|
|
# Use rspec 3
|
|
sed -i -e 's/be_false/be false/' spec/settingslogic_spec.rb || die
|
|
}
|