diff options
-rw-r--r-- | dev-ruby/ruby_smb/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby_smb/metadata.xml | 13 | ||||
-rw-r--r-- | dev-ruby/ruby_smb/ruby_smb-0.0.12.ebuild | 31 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/ruby_smb/Manifest b/dev-ruby/ruby_smb/Manifest new file mode 100644 index 000000000000..926ea13a938d --- /dev/null +++ b/dev-ruby/ruby_smb/Manifest @@ -0,0 +1 @@ +DIST ruby_smb-0.0.12.gem 59392 SHA256 91d2852ec540f298c996f6b27274eab409dbe3ba61b5a81158cd6a66ba674aec SHA512 8343c18e1592a0b0878fe70999e0cacc32059fc721da4690a7ebfadc1ed86562a177e715ce83a8a7993a3494bfa4195b81d790e5d675a4093a5455a843e8b95f WHIRLPOOL c5662ad0fcb6a2955de831a6f0bc20c37989f8857a6064072d3b238b763c5ee47ef72f67e3cfd5e48db7d90c9c66e73307ca67ee22a666d0012e545df896abb5 diff --git a/dev-ruby/ruby_smb/metadata.xml b/dev-ruby/ruby_smb/metadata.xml new file mode 100644 index 000000000000..9c83e5ce3d57 --- /dev/null +++ b/dev-ruby/ruby_smb/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> +<longdescription lang="en"> +</longdescription> + <upstream> + <remote-id type="github">rapid7/ruby_smb</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/ruby_smb/ruby_smb-0.0.12.ebuild b/dev-ruby/ruby_smb/ruby_smb-0.0.12.ebuild new file mode 100644 index 000000000000..80a8900098a1 --- /dev/null +++ b/dev-ruby/ruby_smb/ruby_smb-0.0.12.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="pure Ruby implementation of the SMB Protocol Family" +HOMEPAGE="https://github.com/rapid7/ruby_smb" + +LICENSE="BSD" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" +#I cannot make tests work, and I'm not spending all day on it +RESTRICT="test" + +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 +} |