diff options
Diffstat (limited to 'dev-ruby/xdr')
-rw-r--r-- | dev-ruby/xdr/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/xdr/xdr-3.0.3.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/xdr/Manifest b/dev-ruby/xdr/Manifest index 62896ad01845..af3d74a22ca1 100644 --- a/dev-ruby/xdr/Manifest +++ b/dev-ruby/xdr/Manifest @@ -1,2 +1,3 @@ DIST xdr-3.0.1.gem 24576 BLAKE2B e8518e0d25981462aa1b716e16418c8a0e850a10c3be36b3c542893cd0a75968a13209c82002bf43ee25106b161708159c9c16ac492f32b1dc72c1c52aa7169f SHA512 22911bd41b6a6999f9c231c09d4b4ae731a0b38c5e588be9624ae461fc3099615a20c4f0ac4a2cd614e71104b35974727770ffcbe066ae5f1c12f246fa05e5a5 DIST xdr-3.0.2.tar.gz 22656 BLAKE2B f541f7ad210d21c0cbb154b9d7ac1593a444d771ac604844bd7458da8fcaad8c64c7249175d98b4c12afaf86501004fa42e0b89c22f70d10bf1771816e94e28f SHA512 76de3f9c9d005f366d36b5063300ad4bd2b2c6d6f7e185b5ceb62ad0e00a864c3859831d13932f403bf08ee0ac73b8ba83c895207b4ce2c41456e4f53f0fc495 +DIST xdr-3.0.3.tar.gz 26738 BLAKE2B b12016d6a6b2d20448f09a2cb768a38aaf6411ad3002712ec7b9fbb51058528912b401cbfc9f10f3cfacd57c787deb440a14df30c377aae8935a02fedfc78118 SHA512 e02e4b1580c3c9633924c7e505b8a666aa0a5883ea258e4965231e6f1e0adc379903a9f83da13bfd48dd67ce45b6eb2c02f2df045a53857801c117fde70bc776 diff --git a/dev-ruby/xdr/xdr-3.0.3.ebuild b/dev-ruby/xdr/xdr-3.0.3.ebuild new file mode 100644 index 000000000000..fe5f1072b523 --- /dev/null +++ b/dev-ruby/xdr/xdr-3.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +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:^:#:' -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} |