1 |
commit: ff63e217edbcdf79ae7ba5e57e2b2ec046d12e59 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 19 07:27:27 2023 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 07:45:01 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff63e217 |
7 |
|
8 |
dev-ruby/ruby_smb: update EAPI 6 -> 8, add ruby30, ruby31 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/ruby_smb/ruby_smb-1.1.0-r1.ebuild | 29 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 29 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/ruby_smb/ruby_smb-1.1.0-r1.ebuild b/dev-ruby/ruby_smb/ruby_smb-1.1.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..8ccb50a1ddb9 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/ruby_smb/ruby_smb-1.1.0-r1.ebuild |
20 |
@@ -0,0 +1,29 @@ |
21 |
+# Copyright 1999-2023 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+USE_RUBY="ruby27 ruby30 ruby31" |
26 |
+ |
27 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
28 |
+ |
29 |
+inherit ruby-fakegem |
30 |
+ |
31 |
+DESCRIPTION="pure Ruby implementation of the SMB Protocol Family" |
32 |
+HOMEPAGE="https://github.com/rapid7/ruby_smb" |
33 |
+ |
34 |
+LICENSE="BSD" |
35 |
+SLOT="1" |
36 |
+KEYWORDS="~amd64 ~arm ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+ruby_add_rdepend "dev-ruby/bindata:* |
40 |
+ dev-ruby/rubyntlm |
41 |
+ dev-ruby/windows_error" |
42 |
+ |
43 |
+all_ruby_prepare() { |
44 |
+ sed -i -e '/simple[Cc]ov/d' -e '/coveralls/d' spec/spec_helper.rb |
45 |
+ sed -i -e '/[Ss]imple[Cc]ov/,/end/d' \ |
46 |
+ -e '/[Cc]overalls/,/end/d' spec/spec_helper.rb |
47 |
+ sed -i '/TRAVIS/d' spec/spec_helper.rb |
48 |
+ sed -i -e '1irequire "rubyntlm"; require "time"' spec/spec_helper.rb |
49 |
+} |