summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-01-18 07:40:25 +0100
committerHans de Graaff <graaff@gentoo.org>2016-01-18 07:40:25 +0100
commite18b1085f34b8bba1b6c47619393898a05ca73e0 (patch)
tree9ae69fcd64bb06f0229e81426c8cb4ba10c796b3 /dev-ruby
parentdev-ruby/async_sinatra: add 1.2.1 (diff)
downloadgentoo-e18b1085f34b8bba1b6c47619393898a05ca73e0.tar.gz
gentoo-e18b1085f34b8bba1b6c47619393898a05ca73e0.tar.bz2
gentoo-e18b1085f34b8bba1b6c47619393898a05ca73e0.zip
dev-ruby/dnsruby: add 1.59.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/dnsruby/Manifest1
-rw-r--r--dev-ruby/dnsruby/dnsruby-1.59.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/dnsruby/Manifest b/dev-ruby/dnsruby/Manifest
index aa36d6dc4650..5838d9512fb7 100644
--- a/dev-ruby/dnsruby/Manifest
+++ b/dev-ruby/dnsruby/Manifest
@@ -1,2 +1,3 @@
DIST dnsruby-1.58.0.gem 230912 SHA256 b21ded4f62fd935f1c2409201ed5f2b97f90f2598baab00e1a6ec0be0149c16d SHA512 e7fc9073574429433aa05d088bfafd8919216f8461d25b967fccad52d22dd820702ae62d503f9b63207a25d335675f1601c2654685493165c1ad4ef912f5cebe WHIRLPOOL daf1427ad9947cd478b70ec39c72bdfc58059e448dad7e7d40f828ef56b9b49f1d31497f820e5ba118f15902a90424042a3f46396a34de2189dd87a0f0b17139
DIST dnsruby-1.59.0.gem 232960 SHA256 45d7236b1d6346fca03522e3192f9545875d887c491d1e63c4dcedf6a87819b8 SHA512 769111d24fd745288b41e083630e7ea7cd078ff6297afe8eff7eb0a95f57a74c9b1dbfd09db122eb45c340243e1eaee86faa3175e750c2b243ac6b92f7c3a804 WHIRLPOOL b9c0f858346d9bb38a92dc4a67fefc3f6dd7fedc468a7ab2b9794fa528c0a7d80426402ee5a812d4598d7177f7b19959d0ca13401a55967ecfca63692997b2b4
+DIST dnsruby-1.59.1.gem 233984 SHA256 ffc1e7c98eb7d57e1325736654193a047d0e384c678ac2996c7a4e58245a649a SHA512 809072ae82056aeb9be085713116412b8cf6b21313c4aba1b112c0526f06d4ba1068e66149265f9fe0effd604641392732d09c28fd31a048a4d460fbf59f884e WHIRLPOOL b1a76dfab5598bcd3eb3c3181b0c0abe1c229e5d470eabbfa538f95ddbfb1b905533a1189ea8515063512bea067b34ff96a077a366740ef0f34d78892fd08181
diff --git a/dev-ruby/dnsruby/dnsruby-1.59.1.ebuild b/dev-ruby/dnsruby/dnsruby-1.59.1.ebuild
new file mode 100644
index 000000000000..90451b8bec87
--- /dev/null
+++ b/dev-ruby/dnsruby/dnsruby-1.59.1.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"
+}