summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-11-05 07:14:15 +0100
committerHans de Graaff <graaff@gentoo.org>2016-11-05 07:14:15 +0100
commit22661a32cab60efd247b08294c037e9444aa6010 (patch)
tree9e8423b393e76e22faacffa336796fdeed58b5f0 /dev-ruby/dnsruby
parentdev-ruby/dnsruby: cleanup (diff)
downloadgentoo-22661a32cab60efd247b08294c037e9444aa6010.tar.gz
gentoo-22661a32cab60efd247b08294c037e9444aa6010.tar.bz2
gentoo-22661a32cab60efd247b08294c037e9444aa6010.zip
dev-ruby/dnsruby: add 1.60.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/dnsruby')
-rw-r--r--dev-ruby/dnsruby/Manifest1
-rw-r--r--dev-ruby/dnsruby/dnsruby-1.60.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/dnsruby/Manifest b/dev-ruby/dnsruby/Manifest
index e435fce543e5..4c98234b482c 100644
--- a/dev-ruby/dnsruby/Manifest
+++ b/dev-ruby/dnsruby/Manifest
@@ -1 +1,2 @@
DIST dnsruby-1.59.3.gem 233984 SHA256 ec350a4d5c0994428098693ddda1c1d65e03547a90c28c022d93357887f6ae3a SHA512 7cfd8c15b7691b86473f46c6e28c751f87d63459104c2b550312a717c654c5013751851497e3ab0242202a813c2cbfa2d78cc414aa80641d47ca4b622e3eee09 WHIRLPOOL 35d4ce0549c0a6c12738141980058d4a9c7e602ff2d18240a6948375d453810c87347f48f5eed5c2d0b454200401eab6db3b5cde243a48cfb32e04638ddb4c2f
+DIST dnsruby-1.60.0.gem 244736 SHA256 bf9bd6d5e3610e51ac83da8bbad3ee7180b62cfe2f7e3f8df2e7ba355b93a56d SHA512 696f2cd72c09bfe6b6eecb59979f872843e7ebea320130edb86eb662ad8b5ad657bea0709614093b5dcdf6c95ebfebdae500ae5622fe999a4cdc03e1ad4b5fc6 WHIRLPOOL 4a0278344bf9a8428c11699a8107181fac2720509df338834148d42c105e596895284a985f2b47b4055b34545f6050b1102598ddd8b87a5b9f8f57dd3276dde5
diff --git a/dev-ruby/dnsruby/dnsruby-1.60.0.ebuild b/dev-ruby/dnsruby/dnsruby-1.60.0.ebuild
new file mode 100644
index 000000000000..90451b8bec87
--- /dev/null
+++ b/dev-ruby/dnsruby/dnsruby-1.60.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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 ~x86"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+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"
+}