From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7560459CA3 for ; Thu, 10 Mar 2016 06:00:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A511E0888; Thu, 10 Mar 2016 06:00:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D117E087B for ; Thu, 10 Mar 2016 06:00:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E91CB340CCC for ; Thu, 10 Mar 2016 06:00:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 089A2209C for ; Thu, 10 Mar 2016 06:00:45 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1457589363.71e45321b6b3e7e704f3c4ef8972e7a428caebbc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/domain_name/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/domain_name/Manifest dev-ruby/domain_name/domain_name-0.5.20160309.ebuild X-VCS-Directories: dev-ruby/domain_name/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 71e45321b6b3e7e704f3c4ef8972e7a428caebbc X-VCS-Branch: master Date: Thu, 10 Mar 2016 06:00:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6e2272e3-2894-4952-bdb3-8ed078b72f3a X-Archives-Hash: 73e7fa0803f28be4ccf0bbfd21f316c4 commit: 71e45321b6b3e7e704f3c4ef8972e7a428caebbc Author: Hans de Graaff gentoo org> AuthorDate: Thu Mar 10 05:56:03 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Mar 10 05:56:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e45321 dev-ruby/domain_name: add 0.5.2060309 Package-Manager: portage-2.2.26 dev-ruby/domain_name/Manifest | 1 + .../domain_name/domain_name-0.5.20160309.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-ruby/domain_name/Manifest b/dev-ruby/domain_name/Manifest index 30a5d8c..d0ca419 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 0000000..f0bb1c3 --- /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 +}