summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-04-06 07:00:36 +0200
committerHans de Graaff <graaff@gentoo.org>2017-04-06 07:00:36 +0200
commita21b33ce5af919939284b22fc655e32f4731c727 (patch)
tree13a035cdf57198513560e5637ce26c60730937f1 /dev-ruby
parentdev-ruby/domain_name: cleanup (diff)
downloadgentoo-a21b33ce5af919939284b22fc655e32f4731c727.tar.gz
gentoo-a21b33ce5af919939284b22fc655e32f4731c727.tar.bz2
gentoo-a21b33ce5af919939284b22fc655e32f4731c727.zip
dev-ruby/domain_name: add 0.5.20170404
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/domain_name/Manifest1
-rw-r--r--dev-ruby/domain_name/domain_name-0.5.20170404.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest
index 661680d68dd7..9aabf33e41c3 100644
--- a/dev-ruby/domain_name/Manifest
+++ b/dev-ruby/domain_name/Manifest
@@ -1,4 +1,5 @@
DIST domain_name-0.5.20161021.gem 119296 SHA256 549ebe3f9ca703354f319c3733d46a926ef72c9654c769b325df40ff9f49acf8 SHA512 a77436b7c250fac717aeed494c58f2e1444e09a98387e6187746d0756cdfcb4848752415258358f5db9843c08a73aa904a193b5894e8f7499f98c4c3f2118a74 WHIRLPOOL 4a55767b73e4ff3f4d6969af46610abbfaad0e49c320e518f3735434b07a64dde78281d3bc2bde9febfaf3648a9533cfaa91374de3986291bde943d23a438c2c
DIST domain_name-0.5.20161129.gem 120320 SHA256 e8f92582942a41348f02eaa7cc061b9b9d54d81ff9251d1bc3f0cc499c78083f SHA512 87faedd07e3ab521c5468108afa09dba26476dc15493e27c3f0bab49ba0deb609d2a43626a0a9573fc36c9343bc9a641fefe61bab0a4525704e3083bcca2edd9 WHIRLPOOL abd5622d2692ae2a15b044e299b53b05d40d94c08c9705033484e02aa8a8ec7502d7ce515a1128886a7f5715c38c356a6a71a7ee60df7671b84a630b2fff87d9
DIST domain_name-0.5.20170223.gem 120320 SHA256 faa895f66fe3c3f9cd9f77bbcc10f3a8456b85163e5480d1c64b804532fd6bad SHA512 08842b21fccb0aeb521e99652cdfb36ac276c96ee83d14438f872287f0e11e0c05818c2b7dfee2deeeefe2be8cf4ff95bc2d30be54dd12fe7b6e84c620e50b24 WHIRLPOOL 3f07670d1d7b6ca2c2377294b8fabc168a4b5f2ed4035ef3b3bb6fabb098f444a0a9f867c26b00d7681d08d43c40f9eab07314d2fb15ce74a97cf2e33356393f
+DIST domain_name-0.5.20170404.gem 120320 SHA256 6e8e5cf80b9fdfae3ef730e73a30bce5da0a1e4a70f6e0a0b8672a28a3471a8a SHA512 3314d87ac3b04337dff047c423ded2f4b99a4b9300528c34388cbc30fbcc7e84ae884969624e046e0dcc1d856e0bb8246b1556ac2dc755a1b4917ccf975fece3 WHIRLPOOL 776368ce6dbc9f3de5efb1441f2659f7857df2b4922c40df7300787f5010a2dfcfd4ded25e9b8d94a68d62b7550a786d53faf148cae26097c3afb42ad4eeb025
DIST domain_name-0.5.24.gem 104448 SHA256 8cbd6aea8859823f89aefeec49232e9d4377456fd42d08accfbc0cc6b32a55f6 SHA512 46caf0be89c3b2f38f79180c14f4eaa1096f12f80feb881dafb394033d2c6118f481c898310d281d15acd5b9a54473c9d9ee8f0e77dda5b03c40a0d6f137f602 WHIRLPOOL df40be6b18f08f242bafeb985a93692e3286a3889b738790108c7df64eff90dfe28c874b06f7cefd7e8ee295753126ee2d32ceb89dca65c71b95721064301161
diff --git a/dev-ruby/domain_name/domain_name-0.5.20170404.ebuild b/dev-ruby/domain_name/domain_name-0.5.20170404.ebuild
new file mode 100644
index 000000000000..31f011b00b19
--- /dev/null
+++ b/dev-ruby/domain_name/domain_name-0.5.20170404.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+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="~alpha ~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
+}