summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-12 07:46:00 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-12 07:46:00 +0200
commit6f61b825afdfc0129e91e530df6b1f8abc140a0a (patch)
tree568de3524c25c00207f54fa301a5e4630715637c /dev-ruby/xdr/xdr-3.0.1.ebuild
parentdev-ruby/httparty: add 0.18.1 (diff)
downloadgentoo-6f61b825afdfc0129e91e530df6b1f8abc140a0a.tar.gz
gentoo-6f61b825afdfc0129e91e530df6b1f8abc140a0a.tar.bz2
gentoo-6f61b825afdfc0129e91e530df6b1f8abc140a0a.zip
dev-ruby/xdr: add 3.0.1
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/xdr/xdr-3.0.1.ebuild')
-rw-r--r--dev-ruby/xdr/xdr-3.0.1.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/xdr/xdr-3.0.1.ebuild b/dev-ruby/xdr/xdr-3.0.1.ebuild
new file mode 100644
index 000000000000..fbd62bcb17cb
--- /dev/null
+++ b/dev-ruby/xdr/xdr-3.0.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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:*"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die
+}