gentoo-ebuilds/dev-ruby/syslogger/syslogger-1.6.6-r2.ebuild
Hans de Graaff 4147cbc46d
dev-ruby/syslogger: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2025-06-30 07:56:10 +02:00

33 lines
698 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_BINWRAP=""
# if ever needed
#GITHUB_USER="crohr"
#GITHUB_PROJECT="${PN}"
inherit ruby-fakegem
DESCRIPTION="Drop-in replacement for the standard Logger, that logs to the syslog"
HOMEPAGE="https://github.com/crohr/syslogger"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/activejob )"
all_ruby_prepare() {
sed -i -e '/[Bb]undler/d' Rakefile || die
sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
}