summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-14 06:38:59 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-14 06:38:59 +0200
commit193b7b8d9d2d6b8bb86c6f20a33057e9307c18ea (patch)
treeacaf09a05fa5ff2045d537bf5b49fdf747dd5e6f /dev-ruby
parentapp-emulation/wine-any: Drop old (diff)
downloadgentoo-193b7b8d9d2d6b8bb86c6f20a33057e9307c18ea.tar.gz
gentoo-193b7b8d9d2d6b8bb86c6f20a33057e9307c18ea.tar.bz2
gentoo-193b7b8d9d2d6b8bb86c6f20a33057e9307c18ea.zip
dev-ruby/dnsruby: add 1.61.1
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/dnsruby/Manifest1
-rw-r--r--dev-ruby/dnsruby/dnsruby-1.61.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/dnsruby/Manifest b/dev-ruby/dnsruby/Manifest
index e36d1c98ad2b..1dd3eacb933e 100644
--- a/dev-ruby/dnsruby/Manifest
+++ b/dev-ruby/dnsruby/Manifest
@@ -1,2 +1,3 @@
DIST dnsruby-1.60.2.gem 254976 BLAKE2B fa91e3994331fcb37650c905fb00cd58363ca9b90a3943934b2bb3de0ac82b9efeda418bba45673ec3911676dd1b68bd47d079c3ded201c190d17e2ee2bef0f4 SHA512 dcf191421aaf667f59baaa8098099c5532542e1b9e4fa6ad63a727361d985f14adb3d3fee4aef78c4b6ef8809fe06447ee60d7a220af93e57848a57e0ddfaa22
DIST dnsruby-1.61.0.gem 257024 BLAKE2B ba0662b758e8950bf4d9617ee1b36330ba5a66560c8a07985dcd7c41be0881287e4b4de35e009c0319021ba7ebde107f67b3bff0eecbac101ebe32fa0d8b3d97 SHA512 7ea06e40790a822d7eaa604d349acb692103b7dd5faa2b9fce8e3a4bba520d9597e1c6e7c5f74ad64cdcdf2583bce606d444c07b4e52d3ef6630fc7869168015
+DIST dnsruby-1.61.1.gem 257024 BLAKE2B dd5329ec48220b6ddd8b156701b840b1990c12bd1d7d46fcf1fbf62cd86437fa47829fdf95b48aa0d1e2608be524fdb1580019817a96b6ccf7297be490ea97fd SHA512 418dc94931a5a0f8ed136caa29acadf1d45026ab521bf95d0548e7f8122599f405e71a73331921e606542a9178bde99a7ba53aee91459201d73b33f9f0f59b58
diff --git a/dev-ruby/dnsruby/dnsruby-1.61.1.ebuild b/dev-ruby/dnsruby/dnsruby-1.61.1.ebuild
new file mode 100644
index 000000000000..305d820349e9
--- /dev/null
+++ b/dev-ruby/dnsruby/dnsruby-1.61.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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"
+}