summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-17 08:18:36 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-17 08:18:36 +0200
commit9d0049c3fe54a833eeb24a36fc5a4efab22592da (patch)
tree6a49112fe05db6114cb1d375dfc724f63ffce9fd /dev-ruby/ruby_smb
parentapp-emulation/virtualbox: add gnome2-utils (diff)
downloadgentoo-9d0049c3fe54a833eeb24a36fc5a4efab22592da.tar.gz
gentoo-9d0049c3fe54a833eeb24a36fc5a4efab22592da.tar.bz2
gentoo-9d0049c3fe54a833eeb24a36fc5a4efab22592da.zip
dev-ruby/ruby_smb: add 1.0.3
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/ruby_smb')
-rw-r--r--dev-ruby/ruby_smb/Manifest1
-rw-r--r--dev-ruby/ruby_smb/ruby_smb-1.0.3.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/ruby_smb/Manifest b/dev-ruby/ruby_smb/Manifest
index 8d53cc5840c0..ea2ea8f0d743 100644
--- a/dev-ruby/ruby_smb/Manifest
+++ b/dev-ruby/ruby_smb/Manifest
@@ -1,3 +1,4 @@
DIST ruby_smb-0.0.23.gem 149504 BLAKE2B fe9e8dab2d0437cff691293b71473c5bbbc697952e1ce2ca52176922a7fffdeecf05e38ec139ee6f5f8c6615b2f80e6ded3b6c50390b9a7c7d06c777ce738491 SHA512 eaa779a3e9e3858142ed5581fddf5afd1f05106257e314c8811ca05fc80ce50c7944c8cbc147d652aad4c8fc4b3247c97f9f57eed44887de47abd51fe576e5e1
DIST ruby_smb-0.0.24.gem 150016 BLAKE2B bd9af5646e151dd61d89057c325f4246dd2bed686fffc56cc1d281615093223a71dc3f2cb67d8e2f6ddacdbfafd4121e46b4109de652f90363451cb905fee2be SHA512 bef4a57edd906f84eaa46072d508578e23834e08d0f66b28feaf3f7c861474bbfc763b9f4e117537d635165fa6f0d1d2430a9e4dadf23bbf99485893ce735cc2
DIST ruby_smb-1.0.2.gem 150016 BLAKE2B 4d661a12fee0430be8e071069d8457d4a11f197087bd1cf208f206e705285ea236a445a9396d13868335ef67c4ad7972890ffa22fe2efc3c98ef0d3503474033 SHA512 e8c1314d34e282bb117ea5587b18a41c25315c515cc5141d1a4bc98b423c25ac923e5c8836eda039f201204f82587bfc3d2ee89193277231424b99f512b27a59
+DIST ruby_smb-1.0.3.gem 150016 BLAKE2B 0958a17c1140a543d3065c147a534d5426529fbf1477e3ca2624317a4c21907f08e1e0e0690c72415ba6c0577fd611c255637ea8adc48f1d934b2fab253e5130 SHA512 7649d064618ecb28b828c55ab5184dcf13a989dd0ddcf67e431fcc8147308c649b5a8ce7b826451487eb19a9d1daf0bb22d6d9288a0108a9cc771b364a11be13
diff --git a/dev-ruby/ruby_smb/ruby_smb-1.0.3.ebuild b/dev-ruby/ruby_smb/ruby_smb-1.0.3.ebuild
new file mode 100644
index 000000000000..bb1733e03cf3
--- /dev/null
+++ b/dev-ruby/ruby_smb/ruby_smb-1.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~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
+}