summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-03-10 06:56:03 +0100
committerHans de Graaff <graaff@gentoo.org>2016-03-10 06:56:03 +0100
commit71e45321b6b3e7e704f3c4ef8972e7a428caebbc (patch)
treeb92ffe4d450d02c2330a9ed751bc685461f2fbef
parentdev-ruby/jquery-rails: cleanup (diff)
downloadgentoo-71e45321b6b3e7e704f3c4ef8972e7a428caebbc.tar.gz
gentoo-71e45321b6b3e7e704f3c4ef8972e7a428caebbc.tar.bz2
gentoo-71e45321b6b3e7e704f3c4ef8972e7a428caebbc.zip
dev-ruby/domain_name: add 0.5.2060309
Package-Manager: portage-2.2.26
-rw-r--r--dev-ruby/domain_name/Manifest1
-rw-r--r--dev-ruby/domain_name/domain_name-0.5.20160309.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest
index 30a5d8c6a768..d0ca419ee46d 100644
--- a/dev-ruby/domain_name/Manifest
+++ b/dev-ruby/domain_name/Manifest
@@ -1,3 +1,4 @@
DIST domain_name-0.5.20160216.gem 113664 SHA256 d9880da350cb447a05a2081d237dfbd1df3e0deb92b2fd795eb223e15b038c4f SHA512 2b4e3edacf84ff8cfcbe5534778370841e02d7162703cff449e986a23a8b118c083544af81082ad79ef113fec5025c0b6a78d4767905b72f60cf220d23b98197 WHIRLPOOL 03a12183165715b5043e33e8de9d024b0698418d34c4f9c849cc4f145f0e8928392bb3057e763ec0c1b3e7cd0f5eefbdcfcd5df9f7c6b426b1137197d0e5336a
+DIST domain_name-0.5.20160309.gem 113664 SHA256 51d7801d1dc076f29900243c305ebe50a2e30d6d16aca931a5ee8c2af5bf3bca SHA512 e9a9e87fbe8f1e1ee6b14122683593737d7f8efb99f0acd38f3324adecda5a4e8ef72f9c449939fce59ca093ce33daaaea531b9916f151047f393b7d03d56fdb WHIRLPOOL 8338135ae1935a4b5e5b867d856f3d9d5d8e2af25cec12419569b1bcb67b6dbdc0082d0aaf40dddd53146cd9c6a281e12669149c6f4f59333d53992116dcbff4
DIST domain_name-0.5.24.gem 104448 SHA256 8cbd6aea8859823f89aefeec49232e9d4377456fd42d08accfbc0cc6b32a55f6 SHA512 46caf0be89c3b2f38f79180c14f4eaa1096f12f80feb881dafb394033d2c6118f481c898310d281d15acd5b9a54473c9d9ee8f0e77dda5b03c40a0d6f137f602 WHIRLPOOL df40be6b18f08f242bafeb985a93692e3286a3889b738790108c7df64eff90dfe28c874b06f7cefd7e8ee295753126ee2d32ceb89dca65c71b95721064301161
DIST domain_name-0.5.25.gem 112128 SHA256 5b492888a095f2f00027a268932c93d0432bf8ada568a5c601ff53ce6a761b9b SHA512 cdc89ef2cc93d014727e203ffaa3921f3548077bcf4dfacc83a03f887a88393cea01efcf072ca785b375a6b24cdbd69f201f2fbd81a7341595e6ed2a5d2b362c WHIRLPOOL 1f5a9577aab4aea61eb88d590bd52b07cb21c597646ad28fce6631baee3ea527282393ce392a830232081a70c0628c6666e0fb29d5aec640cae44ff887d0261b
diff --git a/dev-ruby/domain_name/domain_name-0.5.20160309.ebuild b/dev-ruby/domain_name/domain_name-0.5.20160309.ebuild
new file mode 100644
index 000000000000..f0bb1c3e2148
--- /dev/null
+++ b/dev-ruby/domain_name/domain_name-0.5.20160309.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Domain Name manipulation library for Ruby"
+HOMEPAGE="https://github.com/knu/ruby-domain_name"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/unf-0.0.5-r1:0"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/test-unit-2.5.5
+ dev-ruby/shoulda
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/,/end/ d; i gem "unf"' test/helper.rb || die
+ rm Gemfile* || die
+
+ # Remove development dependencies
+ sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rdoc\)/d' \
+ ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid dependency on git.
+ sed -i -e 's/`git ls-files`/""/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib:test test/test_*.rb
+}