ruby_smb-2.0.6.ebuild

This commit is contained in:
blshkv 2020-09-26 08:41:57 +08:00
parent 2fcb99262f
commit f27ed2d36b
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 34 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST ruby_smb-2.0.4.gem 219136 BLAKE2B 02cac4ba51c0b2c58a9bebecd12b9a35edd2d983d5e0ee26a775ba108ec41df59fd318399b9b1814f011f2246812c0e54809fb7731770603c4d722b3056b8ae7 SHA512 79d4a6bacb531f40f4405b9807a76ba57963d656a5104c0977b20ff79f95c31c0cb17d37d0616f35864c0cf8cb7fdce93ac2d012e16b191585d0bc462fd10c31
DIST ruby_smb-2.0.6.gem 222720 BLAKE2B 03921a6043efbf87801c2016074861de3febccbab64d7f7c27a2bc95351041ed3c0437209385faecf8c0a04b477ce62214f8b5378b54951935c0cb9461893218 SHA512 57268a0d744e56fb7e727b7f935be3df59776b5382d45180009e172b6610c9d5b40e48108029bcab08f58ecbe6fcddc67df05a06f1dfcebf1eb419220ed9c3aa

View file

@ -0,0 +1,33 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
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 ~x86"
IUSE=""
ruby_add_rdepend "dev-ruby/bindata:*
dev-ruby/openssl-ccm
dev-ruby/openssl-cmac
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
}