summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-10-28 08:35:21 +0200
committerHans de Graaff <graaff@gentoo.org>2016-10-28 08:35:21 +0200
commit864d7b32a60b3cff771c5e753cfa5e1caddb1267 (patch)
tree73acebd98b8cd546c19306f6d11fffc5e7431996 /dev-ruby/domain_name
parentdev-ruby/flexmock: add 2.3.1 (diff)
downloadgentoo-864d7b32a60b3cff771c5e753cfa5e1caddb1267.tar.gz
gentoo-864d7b32a60b3cff771c5e753cfa5e1caddb1267.tar.bz2
gentoo-864d7b32a60b3cff771c5e753cfa5e1caddb1267.zip
dev-ruby/domain_name: add 0.5.20161021
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/domain_name')
-rw-r--r--dev-ruby/domain_name/Manifest1
-rw-r--r--dev-ruby/domain_name/domain_name-0.5.20161021.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest
index b9d6793945eb..2c67181935ac 100644
--- a/dev-ruby/domain_name/Manifest
+++ b/dev-ruby/domain_name/Manifest
@@ -1,3 +1,4 @@
DIST domain_name-0.5.20160615.gem 116224 SHA256 afb018732f1d0b322b213413868cd21011dba62fd77b38ceba2e7a9ee67690b9 SHA512 c21068813f47553a617e28e941e8184d8b98dbf3b298a8899082013e8f83e4dadd49e29fd32137ad485930ef1908b107b0f88391c0ea322c977a1f9d6c8a26c8 WHIRLPOOL 9df0cefda0f38fe37ed3dd81fd83e63c63db1bbe84bbbde57b5c11dd7f4e33d562f397329adb11acbea7ec10dd7329cd599eabbd8f81da6884741a31ba8851ca
DIST domain_name-0.5.20160826.gem 118784 SHA256 bd177e0e1354fbb96fe66ad5330da417c202f88ee7368f3e2eabf642ee7ee765 SHA512 7e01cd405c099198624a3c904adf43ef6c24673d19de3961bf29bbbba08853de3f6c279c3c7d6cdbd9bd1534a59bbdc8d6adc37f275af123d9d0f94dfb71dd33 WHIRLPOOL 62a1d97aa5ad9b1effebf0f3862313daeeb6b69b07d225be3c808cf0bada6a3a721921a61c80123157db8a0dda9d4cf51980fa55d6dff359a0b0adb41be042e0
+DIST domain_name-0.5.20161021.gem 119296 SHA256 549ebe3f9ca703354f319c3733d46a926ef72c9654c769b325df40ff9f49acf8 SHA512 a77436b7c250fac717aeed494c58f2e1444e09a98387e6187746d0756cdfcb4848752415258358f5db9843c08a73aa904a193b5894e8f7499f98c4c3f2118a74 WHIRLPOOL 4a55767b73e4ff3f4d6969af46610abbfaad0e49c320e518f3735434b07a64dde78281d3bc2bde9febfaf3648a9533cfaa91374de3986291bde943d23a438c2c
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.20161021.ebuild b/dev-ruby/domain_name/domain_name-0.5.20161021.ebuild
new file mode 100644
index 000000000000..45680edaed7c
--- /dev/null
+++ b/dev-ruby/domain_name/domain_name-0.5.20161021.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 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
+}