diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-08 15:03:58 +0100 |
commit | 814f4cf860e299a046b649eaee5463427984c09c (patch) | |
tree | 74c45f097899310e599dad6b8df5b63e0f085bc0 /dev-ruby/dnsruby/dnsruby-1.61.7.ebuild | |
parent | 7f0ccc917c7abe6223784c703d86cd14755691fb (diff) |
gentoo resync : 08.07.2021
Diffstat (limited to 'dev-ruby/dnsruby/dnsruby-1.61.7.ebuild')
-rw-r--r-- | dev-ruby/dnsruby/dnsruby-1.61.7.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/dnsruby/dnsruby-1.61.7.ebuild b/dev-ruby/dnsruby/dnsruby-1.61.7.ebuild new file mode 100644 index 000000000000..17cf8f6cfbec --- /dev/null +++ b/dev-ruby/dnsruby/dnsruby-1.61.7.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +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" +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" +} |