summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-11-21 11:25:04 -0500
committerZero_Chaos <zerochaos@gentoo.org>2018-11-21 13:20:53 -0500
commit1e455ff49971eb591e4f609c058598a0f04fc65d (patch)
tree52b2b04f64698eb9a5eb3b205f852534168c38d9 /dev-ruby/xdr
parentdev-ruby/ruby-macho: metasploit dep (diff)
downloadgentoo-1e455ff49971eb591e4f609c058598a0f04fc65d.tar.gz
gentoo-1e455ff49971eb591e4f609c058598a0f04fc65d.tar.bz2
gentoo-1e455ff49971eb591e4f609c058598a0f04fc65d.zip
dev-ruby/xdr: metasploit dep
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'dev-ruby/xdr')
-rw-r--r--dev-ruby/xdr/Manifest1
-rw-r--r--dev-ruby/xdr/metadata.xml11
-rw-r--r--dev-ruby/xdr/xdr-3.0.0.ebuild33
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/xdr/Manifest b/dev-ruby/xdr/Manifest
new file mode 100644
index 000000000000..66075d58e2aa
--- /dev/null
+++ b/dev-ruby/xdr/Manifest
@@ -0,0 +1 @@
+DIST xdr-3.0.0.gem 24576 BLAKE2B a9366e5a8261dadfc71658e4a8e18b98f418d4993b6a25c3ba5fabc22557e1ba19954f4451d7d95598e9d1d5c597d484f763e6b1a4689740e782ec06ed0041f5 SHA512 8176378330d9060cf8abe0f9ee18f69682674c407934dcc01b76d561acc10a94b573db3b04a17b9940d6a5d1682181ad15147c3e3acce692a3ccb9e275ec0062
diff --git a/dev-ruby/xdr/metadata.xml b/dev-ruby/xdr/metadata.xml
new file mode 100644
index 000000000000..32cdac9bf30d
--- /dev/null
+++ b/dev-ruby/xdr/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="github">stellar/ruby-xdr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/xdr/xdr-3.0.0.ebuild b/dev-ruby/xdr/xdr-3.0.0.ebuild
new file mode 100644
index 000000000000..e5bd8c42c3c2
--- /dev/null
+++ b/dev-ruby/xdr/xdr-3.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23"
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Read/write XDR encoded data structures"
+HOMEPAGE="https://github.com/stellar/ruby-xdr"
+
+LICENSE="Apache-2.0"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/activemodel-5.2.0:*
+ >=dev-ruby/activesupport-5.2.0:*"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler
+ dev-ruby/rake
+ dev-ruby/rspec:3 )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ruby-ng_cucumber
+}