summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-05-26 07:24:26 +0200
committerHans de Graaff <graaff@gentoo.org>2016-05-26 07:24:26 +0200
commitc52dbea1632243c4f473574dab08b684858b48f5 (patch)
treec20ecc107e5879f5c68825e2baa49586ff09b12d /dev-ruby/dnsruby
parentdev-ruby/bundler: revert cleanup (diff)
downloadgentoo-c52dbea1632243c4f473574dab08b684858b48f5.tar.gz
gentoo-c52dbea1632243c4f473574dab08b684858b48f5.tar.bz2
gentoo-c52dbea1632243c4f473574dab08b684858b48f5.zip
dev-ruby/dnsruby: add 1.59.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/dnsruby')
-rw-r--r--dev-ruby/dnsruby/Manifest1
-rw-r--r--dev-ruby/dnsruby/dnsruby-1.59.3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/dnsruby/Manifest b/dev-ruby/dnsruby/Manifest
index 9105fd6f2a89..7f6170b6e7d7 100644
--- a/dev-ruby/dnsruby/Manifest
+++ b/dev-ruby/dnsruby/Manifest
@@ -1,2 +1,3 @@
DIST dnsruby-1.59.1.gem 233984 SHA256 ffc1e7c98eb7d57e1325736654193a047d0e384c678ac2996c7a4e58245a649a SHA512 809072ae82056aeb9be085713116412b8cf6b21313c4aba1b112c0526f06d4ba1068e66149265f9fe0effd604641392732d09c28fd31a048a4d460fbf59f884e WHIRLPOOL b1a76dfab5598bcd3eb3c3181b0c0abe1c229e5d470eabbfa538f95ddbfb1b905533a1189ea8515063512bea067b34ff96a077a366740ef0f34d78892fd08181
DIST dnsruby-1.59.2.gem 233984 SHA256 22b55fb116797c4676919eea6ddfdfe101e40bb9019ce4a72e21330fc0b301c8 SHA512 f8b75d98860c6b5e2753b79b59d0b30db47af1b8739564fdaeac93b702ae0a39fdf547422426c2a4cabe3fc9b5b4e1c9b09d687f976d06aa0b0c31cc7a474fdd WHIRLPOOL 5c32217f415fe799e4a976a693bb9ea0ace7b4ccdb90cfff4ead55ace88c6c198a7864b347670ef954a9ce082c9d5b4d78ba7b4552feaefe0c4f4fba540ce28d
+DIST dnsruby-1.59.3.gem 233984 SHA256 ec350a4d5c0994428098693ddda1c1d65e03547a90c28c022d93357887f6ae3a SHA512 7cfd8c15b7691b86473f46c6e28c751f87d63459104c2b550312a717c654c5013751851497e3ab0242202a813c2cbfa2d78cc414aa80641d47ca4b622e3eee09 WHIRLPOOL 35d4ce0549c0a6c12738141980058d4a9c7e602ff2d18240a6948375d453810c87347f48f5eed5c2d0b454200401eab6db3b5cde243a48cfb32e04638ddb4c2f
diff --git a/dev-ruby/dnsruby/dnsruby-1.59.3.ebuild b/dev-ruby/dnsruby/dnsruby-1.59.3.ebuild
new file mode 100644
index 000000000000..90451b8bec87
--- /dev/null
+++ b/dev-ruby/dnsruby/dnsruby-1.59.3.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"
+}