mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-ruby/ruby_smb: update EAPI 6 -> 8, add ruby30, ruby31
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="pure Ruby implementation of the SMB Protocol Family"
|
||||
HOMEPAGE="https://github.com/rapid7/ruby_smb"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/bindata:*
|
||||
dev-ruby/rubyntlm
|
||||
dev-ruby/windows_error"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simple[Cc]ov/d' -e '/coveralls/d' spec/spec_helper.rb
|
||||
sed -i -e '/[Ss]imple[Cc]ov/,/end/d' \
|
||||
-e '/[Cc]overalls/,/end/d' spec/spec_helper.rb
|
||||
sed -i '/TRAVIS/d' spec/spec_helper.rb
|
||||
sed -i -e '1irequire "rubyntlm"; require "time"' spec/spec_helper.rb
|
||||
}
|
||||
Reference in New Issue
Block a user