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 7EF2958973 for ; Mon, 8 Feb 2016 06:42:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 046E121C045; Mon, 8 Feb 2016 06:42:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E8D621C045 for ; Mon, 8 Feb 2016 06:41:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C426340813 for ; Mon, 8 Feb 2016 06:41:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E0BE8F5 for ; Mon, 8 Feb 2016 06:41:56 +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: <1454913690.70e38454582902c81d4a3f927fc13adaaabb2084.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/oauth2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/oauth2/Manifest dev-ruby/oauth2/oauth2-1.1.0.ebuild X-VCS-Directories: dev-ruby/oauth2/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 70e38454582902c81d4a3f927fc13adaaabb2084 X-VCS-Branch: master Date: Mon, 8 Feb 2016 06:41:56 +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: c20b0bc8-1b2a-4d10-8a37-44c3ec62cdb8 X-Archives-Hash: 423229d691e7f7e154f359e5becf6968 commit: 70e38454582902c81d4a3f927fc13adaaabb2084 Author: Hans de Graaff gentoo org> AuthorDate: Mon Feb 8 06:41:30 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Feb 8 06:41:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e38454 dev-ruby/oauth2: add 1.1.0 Package-Manager: portage-2.2.26 dev-ruby/oauth2/Manifest | 1 + dev-ruby/oauth2/oauth2-1.1.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/oauth2/Manifest b/dev-ruby/oauth2/Manifest index 0390024..8b821aa 100644 --- a/dev-ruby/oauth2/Manifest +++ b/dev-ruby/oauth2/Manifest @@ -1 +1,2 @@ DIST oauth2-1.0.0.gem 21504 SHA256 1925847287bba3d19b0755820f8eef86198754dfa9f77ad53063ffb82d3e4a7d SHA512 80e30c444ffb31a4a2e49a4851bcc0cdf907e9b24c38a6e5f580054ab70df89c951f6e05dec3e9e8b7f1d68ca332b6970fba350d7d309e8a0e6212ff1bafb31c WHIRLPOOL 993b648722f1fbe198339b94c702499de49c6e526358195db822d0ab21c8300b6cacf4af14c4c85e08cf9fc97ea074f196cee06d4b3ce19511aa871c9a450653 +DIST v1.1.0.tar.gz 18376 SHA256 ea76a41dc7c559f9530e19961b5a8cd9a4b3f231f54901b9e6ef09031ce3aa77 SHA512 c4231093929733a662ed6246338508396eb0e8d1be48bff05c43a8e3f6dd38261667cad7db0dc44c3f6fd9152165b13fa46a779a05b3c1ae98f912f337820d2e WHIRLPOOL 0f9269df95ceabbcff65751d89bac5eef6bb18f34114b3045ac658325e7b8145f23fad311473c77e64f3170c45ccc880eb48c05ad6f174c7a42591995498a557 diff --git a/dev-ruby/oauth2/oauth2-1.1.0.ebuild b/dev-ruby/oauth2/oauth2-1.1.0.ebuild new file mode 100644 index 0000000..de1e4a7 --- /dev/null +++ b/dev-ruby/oauth2/oauth2-1.1.0.ebuild @@ -0,0 +1,42 @@ +# 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_TEST="none" +RUBY_FAKEGEM_TASK_DOC="doc:rdoc" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem eutils + +DESCRIPTION="Wrapper for the OAuth 2.0 protocol with a similar style to the OAuth gem" +HOMEPAGE="https://github.com/intridea/oauth2" +SRC_URI="https://github.com/intridea/oauth2/archive/v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/faraday-0.8 + >=dev-ruby/jwt-1.0 =dev-ruby/jwt-1* + >=dev-ruby/multi_json-1.3 =dev-ruby/multi_json-1* + >=dev-ruby/multi_xml-0.5:0 + >=dev-ruby/rack-1.2:*" +ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.5.0:2 )" + +all_ruby_prepare() { + sed -i -e '/simplecov/,/^ end/ s:^:#:' spec/helper.rb || die + + sed -i -e '/yardstick/,/^end/ s:^:#:' \ + -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_test() { + CI=true ${RUBY} -S rspec spec || die +}