From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- dev-ruby/dnsruby/dnsruby-1.61.3.ebuild | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dev-ruby/dnsruby/dnsruby-1.61.3.ebuild (limited to 'dev-ruby/dnsruby/dnsruby-1.61.3.ebuild') diff --git a/dev-ruby/dnsruby/dnsruby-1.61.3.ebuild b/dev-ruby/dnsruby/dnsruby-1.61.3.ebuild new file mode 100644 index 000000000000..09e3dc0ebb01 --- /dev/null +++ b/dev-ruby/dnsruby/dnsruby-1.61.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +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/addressable-2.5: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" +} -- cgit v1.2.3