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 30B3559CA3 for ; Sun, 6 Mar 2016 12:04:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C26E321C032 for ; Sun, 6 Mar 2016 12:04:21 +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 6522FE03EC for ; Sun, 6 Mar 2016 06:23:58 +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 7677E340A7D for ; Sun, 6 Mar 2016 06:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFF188F6 for ; Sun, 6 Mar 2016 06:23:52 +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: <1457245427.79a68a744d2d9f839c544890368d6f55683daeda.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/oauth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/oauth/Manifest dev-ruby/oauth/oauth-0.5.1.ebuild X-VCS-Directories: dev-ruby/oauth/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 79a68a744d2d9f839c544890368d6f55683daeda X-VCS-Branch: master Date: Sun, 6 Mar 2016 06:23:52 +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: c5e4370c-8fd4-4a1c-8d16-700812b74831 X-Archives-Hash: 08fd9aaac32afebc9c2ae17c2b5d02c9 commit: 79a68a744d2d9f839c544890368d6f55683daeda Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 6 06:23:47 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 6 06:23:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a68a74 dev-ruby/oauth: add 0.5.1 Drop x86 keyword due to missing keywords in dependencies, bug 563858. Package-Manager: portage-2.2.26 dev-ruby/oauth/Manifest | 1 + dev-ruby/oauth/oauth-0.5.1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest index d2e4fd4..bf150f7 100644 --- a/dev-ruby/oauth/Manifest +++ b/dev-ruby/oauth/Manifest @@ -1 +1,2 @@ DIST oauth-0.4.7.gem 50688 SHA256 bca47d77c946af466872269e37e470837858b1305d5143e5a56c50356e02b2cc SHA512 7d8df61574aaf53ffcb206c6a210546c36b67b2c545d6b31afef2961ee135050923f427dc4720379b7689eef9d921015c26fedd8b11bbd13761dd498155fc550 WHIRLPOOL 5a9dd0eeb2137db2b9810482dca116bf38c06ed75dff2df434118c147ed907d4fdad55dfd2e9c0751b42a110cd240c2ff70bfca75bcffc7f08dd454f65ca7591 +DIST oauth-0.5.1.tar.gz 46675 SHA256 462839c6a685b72d619e050869d15abb889f98b010ee97a19ea5a2bc4e39ad91 SHA512 fe00e4455ab72edb38051e0c203f27b299b624cdc3ba031de9aea33c1429a54a364f066297dae86c22b723859ab8bd8854b02d344ec49a535c28b256e96593a6 WHIRLPOOL b9813500cc920a74ac7b48414bcb80f266cad4f8407fc9a62ac1c0da69c92dcd83f1b837de2b7caf8e2a89727c794bc3b0652f1091981e70d82122e7fd6470a9 diff --git a/dev-ruby/oauth/oauth-0.5.1.ebuild b/dev-ruby/oauth/oauth-0.5.1.ebuild new file mode 100644 index 0000000..39c3094 --- /dev/null +++ b/dev-ruby/oauth/oauth-0.5.1.ebuild @@ -0,0 +1,45 @@ +# 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_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="HISTORY README.rdoc TODO" + +inherit ruby-fakegem + +DESCRIPTION="A RubyGem for implementing both OAuth clients and servers" +HOMEPAGE="https://github.com/oauth-xx/oauth-ruby" +SRC_URI="https://github.com/oauth-xx/oauth-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86-macos" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/test-unit:2 + dev-ruby/mocha:1.0 + dev-ruby/webmock + dev-ruby/rack )" + +all_ruby_prepare() { + # Require a compatible version of mocha + sed -i -e '1igem "mocha", "~> 1.0"' \ + -e '2i gem "test-unit"; require "test/unit"' \ + -e '/byebug/ s:^:#:' test/test_helper.rb || die + + # Remove tests that require Rails 2.3 since that is ruby18-only. + rm -f test/test_action_controller_request_proxy.rb || die + + # Remove typhoeus tests since they require an old version. + rm -f test/test_typhoeus_request_proxy.rb || die +} + +each_ruby_test() { + ${RUBY} -I.:lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +}