diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-04-12 08:15:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-04-12 08:16:15 +0200 |
commit | 1a67a88d013f79044d1929bfc8526b09d61b50b3 (patch) | |
tree | aaefeaee9de4a67df40c7e9154faa33fd4212339 /dev-ruby/dnsruby | |
parent | dev-ruby/commonmarker: add 0.23.9 (diff) | |
download | gentoo-1a67a88d013f79044d1929bfc8526b09d61b50b3.tar.gz gentoo-1a67a88d013f79044d1929bfc8526b09d61b50b3.tar.bz2 gentoo-1a67a88d013f79044d1929bfc8526b09d61b50b3.zip |
dev-ruby/dnsruby: add 1.70.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/dnsruby')
-rw-r--r-- | dev-ruby/dnsruby/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/dnsruby/dnsruby-1.70.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/dnsruby/Manifest b/dev-ruby/dnsruby/Manifest index b3ce8c569ae8..f4babec065b7 100644 --- a/dev-ruby/dnsruby/Manifest +++ b/dev-ruby/dnsruby/Manifest @@ -1 +1,2 @@ DIST dnsruby-1.61.9.gem 261632 BLAKE2B f86682fbc50bc0b20f59b3a7bb825081824a3dfa5a6de36f3083b39fac9617ff770d3a53c17f015bcaff5dfe5a96ddafd78b1aaf72bcba9bf990a649cf3a0c63 SHA512 ba692db6ab5234c0669076cb5290d5e4613886956d3cea23c22837f99ee2a970e7f86c7c7fdc7542ac4873d324f52b83b0f5e14bb9c3d5107b068fdf419f6ba1 +DIST dnsruby-1.70.0.gem 261632 BLAKE2B 07adbe23ab2d1605c1562f4403f2dd864171b047df08037763565a3a459f2d3b3cb79343da2c25aadb498a7fc5a81a42af928d65a22c6b736fa7b64fab96721f SHA512 11caddd4ea5c9b8f85c730708d3cd1e1a130059975dfdecbf307862f7cbb85285d193f9ce010a81fbd8a7518ec720a107118018146d67105f6a4dbd41149a130 diff --git a/dev-ruby/dnsruby/dnsruby-1.70.0.ebuild b/dev-ruby/dnsruby/dnsruby-1.70.0.ebuild new file mode 100644 index 000000000000..ebf0ff488b25 --- /dev/null +++ b/dev-ruby/dnsruby/dnsruby-1.70.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +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" +} |