diff options
-rw-r--r-- | dev-ruby/xdr/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/xdr/xdr-3.0.2.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/xdr/Manifest b/dev-ruby/xdr/Manifest index 5de4603e1565..62896ad01845 100644 --- a/dev-ruby/xdr/Manifest +++ b/dev-ruby/xdr/Manifest @@ -1 +1,2 @@ DIST xdr-3.0.1.gem 24576 BLAKE2B e8518e0d25981462aa1b716e16418c8a0e850a10c3be36b3c542893cd0a75968a13209c82002bf43ee25106b161708159c9c16ac492f32b1dc72c1c52aa7169f SHA512 22911bd41b6a6999f9c231c09d4b4ae731a0b38c5e588be9624ae461fc3099615a20c4f0ac4a2cd614e71104b35974727770ffcbe066ae5f1c12f246fa05e5a5 +DIST xdr-3.0.2.tar.gz 22656 BLAKE2B f541f7ad210d21c0cbb154b9d7ac1593a444d771ac604844bd7458da8fcaad8c64c7249175d98b4c12afaf86501004fa42e0b89c22f70d10bf1771816e94e28f SHA512 76de3f9c9d005f366d36b5063300ad4bd2b2c6d6f7e185b5ceb62ad0e00a864c3859831d13932f403bf08ee0ac73b8ba83c895207b4ce2c41456e4f53f0fc495 diff --git a/dev-ruby/xdr/xdr-3.0.2.ebuild b/dev-ruby/xdr/xdr-3.0.2.ebuild new file mode 100644 index 000000000000..72c33e1ec604 --- /dev/null +++ b/dev-ruby/xdr/xdr-3.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" +RUBY_FAKEGEM_GEMSPEC="xdr.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Read/write XDR encoded data structures" +HOMEPAGE="https://github.com/astroband/ruby-xdr" +SRC_URI="https://github.com/astroband/ruby-xdr/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-${P}" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +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 + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |