summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/xdr')
-rw-r--r--dev-ruby/xdr/Manifest1
-rw-r--r--dev-ruby/xdr/xdr-2.0.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/xdr/Manifest b/dev-ruby/xdr/Manifest
index 66075d58e2aa..4025278b8ef4 100644
--- a/dev-ruby/xdr/Manifest
+++ b/dev-ruby/xdr/Manifest
@@ -1 +1,2 @@
+DIST xdr-2.0.0.gem 24064 BLAKE2B 183414b9ef719784729a415adbf85889abe30dfbbc1a7b988a01a841caba6c02c04563b01b5e101a0284729671d1957bfdd78d13781d619a1281f14476cdfa81 SHA512 9ba84364c7a4c52ce415361803491d514f9d83f59b7197301d0c4fa94dc715365a89f3a784a90ec077b54de6b6dd64467386c575b42de375a3a9af6a84a5d650
DIST xdr-3.0.0.gem 24576 BLAKE2B a9366e5a8261dadfc71658e4a8e18b98f418d4993b6a25c3ba5fabc22557e1ba19954f4451d7d95598e9d1d5c597d484f763e6b1a4689740e782ec06ed0041f5 SHA512 8176378330d9060cf8abe0f9ee18f69682674c407934dcc01b76d561acc10a94b573db3b04a17b9940d6a5d1682181ad15147c3e3acce692a3ccb9e275ec0062
diff --git a/dev-ruby/xdr/xdr-2.0.0.ebuild b/dev-ruby/xdr/xdr-2.0.0.ebuild
new file mode 100644
index 000000000000..592fec2cc0c1
--- /dev/null
+++ b/dev-ruby/xdr/xdr-2.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="ruby24"
+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-4.2.7:*
+ >=dev-ruby/activesupport-4.2.7:*"
+
+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
+}