commit: fc635ed6517ef17a8dc23c7a6b3a9b32e12afcdf Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Jan 14 07:07:15 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri Jan 14 07:29:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc635ed6
dev-ruby/dnsruby: add 1.61.9 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/dnsruby/Manifest | 1 + dev-ruby/dnsruby/dnsruby-1.61.9.ebuild | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/dnsruby/Manifest b/dev-ruby/dnsruby/Manifest index 9b64a8bd3308..1367d0312e0c 100644 --- a/dev-ruby/dnsruby/Manifest +++ b/dev-ruby/dnsruby/Manifest @@ -1,2 +1,3 @@ DIST dnsruby-1.61.3.gem 259584 BLAKE2B 578d6f2b693de5007d4d15350a4fc6cb948f9e16ee9b0bb511e6b6dc92cf828d30e645522b834a6d42af5dd94b85f0675332b2363e0c2ba3b97c9b35b73bd82f SHA512 4cdf6d83c39c3209873e9bbd15ba33f851f3fb878cf746de98cf615b0f547dfc5af8b4be7d505f87f581755ff73de079b6ea3f6f8c5a11074c1c46d5bc9e8c07 DIST dnsruby-1.61.7.gem 261632 BLAKE2B 28accc37bc8ca99ca348acea3ead30079f72deeff39d31b323344b758b874fca23f65ea7b6f8f8c780d74de491875b0e4a11354af14b5064cf7aa329a7a94a4f SHA512 454378b7eca03483533ca1c1e01a86361c20ce88971ecc6adc72e11bb9ef03709ea1332d2549eefc1c41ed13d5a752b1a7f76e2117ffc9076776663ab6e02d1f +DIST dnsruby-1.61.9.gem 261632 BLAKE2B f86682fbc50bc0b20f59b3a7bb825081824a3dfa5a6de36f3083b39fac9617ff770d3a53c17f015bcaff5dfe5a96ddafd78b1aaf72bcba9bf990a649cf3a0c63 SHA512 ba692db6ab5234c0669076cb5290d5e4613886956d3cea23c22837f99ee2a970e7f86c7c7fdc7542ac4873d324f52b83b0f5e14bb9c3d5107b068fdf419f6ba1 diff --git a/dev-ruby/dnsruby/dnsruby-1.61.9.ebuild b/dev-ruby/dnsruby/dnsruby-1.61.9.ebuild new file mode 100644 index 000000000000..b1b12dd543f6 --- /dev/null +++ b/dev-ruby/dnsruby/dnsruby-1.61.9.ebuild @@ -0,0 +1,35 @@ +# 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_TASK_TEST="" +RUBY_FAKEGEM_DOCDIR="html" +RUBY_FAKEGEM_EXTRADOC="DNSSEC EXAMPLES README.md" +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby DNS client library" +HOMEPAGE="https://github.com/alexdalitz/dnsruby" + +KEYWORDS="~amd64 ~arm ~x86" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/simpleidn-0.1:0" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.4:5 )" + +all_ruby_prepare() { + sed -i -e "/[Cc]overall/d" Rakefile || die + sed -i -e '/display/d' \ + -e '/Display/,/^}/d' test/spec_helper.rb || die +} + +each_ruby_test() { + # only run offline tests + #${RUBY} -I .:lib test/ts_dnsruby.rb || die "test failed" + ${RUBY} -I .:lib test/ts_offline.rb || die "test failed" +}