From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19FBC138330 for ; Sun, 27 May 2018 07:19:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0418DE0929; Sun, 27 May 2018 07:19:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0A83E0929 for ; Sun, 27 May 2018 07:19:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E37EF335CB5 for ; Sun, 27 May 2018 07:19:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A53727A for ; Sun, 27 May 2018 07:19:53 +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: <1527405588.a6c617409db4a63aac10cd67fb386b0e5c935c8a.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/elasticsearch-transport/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.5.ebuild X-VCS-Directories: dev-ruby/elasticsearch-transport/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: a6c617409db4a63aac10cd67fb386b0e5c935c8a X-VCS-Branch: master Date: Sun, 27 May 2018 07:19:53 +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: fe58af3c-ad4e-44e6-9184-b712e00e57b8 X-Archives-Hash: 4dc51c05afcacca0eb8fdf878145c2ee commit: a6c617409db4a63aac10cd67fb386b0e5c935c8a Author: Hans de Graaff gentoo org> AuthorDate: Sun May 27 07:19:27 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun May 27 07:19:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6c61740 dev-ruby/elasticsearch-transport: run unit tests Package-Manager: Portage-2.3.36, Repoman-2.3.9 .../elasticsearch-transport-5.0.5.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.5.ebuild b/dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.5.ebuild index b3c5e1ac179..e27df7cddeb 100644 --- a/dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.5.ebuild +++ b/dev-ruby/elasticsearch-transport/elasticsearch-transport-5.0.5.ebuild @@ -5,7 +5,9 @@ EAPI=6 USE_RUBY="ruby23 ruby24" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" -RUBY_FAKEGEM_TASK_DOC=doc +RUBY_FAKEGEM_RECIPE_DOC=rdoc + +RUBY_FAKEGEM_TASK_TEST="NOTURN=true test" inherit ruby-fakegem @@ -30,13 +32,11 @@ ruby_add_bdepend " dev-ruby/mocha:1.0 dev-ruby/pry dev-ruby/shoulda-context + dev-ruby/curb + dev-ruby/patron ) " -# Tests need additional modules (at least 'turn') packaged. Then someone -# should look into running them and so on. -RESTRICT="test" - RUBY_S=${MY_P}/${PN} all_ruby_prepare() { @@ -47,4 +47,8 @@ all_ruby_prepare() { sed -e '/bundler/d' \ -e '/require.*cane/,/end/d' \ -i Rakefile || die + + # Tweak test setup to only run unit tests since we don't have a live cluster + sed -i -e "s/RUBY_VERSION > '1.9'/false/" \ + -e '/module Elasticsearch/,$ s:^:#:' test/test_helper.rb || die }