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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A7FFC158087 for ; Wed, 3 Nov 2021 06:43:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07DCCE08CD; Wed, 3 Nov 2021 06:43:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA2A6E08BF for ; Wed, 3 Nov 2021 06:43:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B025342EB3 for ; Wed, 3 Nov 2021 06:43:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBDDA1A0 for ; Wed, 3 Nov 2021 06:43:24 +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: <1635921799.5f5663c8e033306b15604942562a4851ba527ecc.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.7.ebuild X-VCS-Directories: dev-ruby/oauth/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 5f5663c8e033306b15604942562a4851ba527ecc X-VCS-Branch: master Date: Wed, 3 Nov 2021 06:43:24 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 446371b1-9155-4086-9b15-aa874fe43f75 X-Archives-Hash: e39fe0962163fe61d481be5c241a91c6 commit: 5f5663c8e033306b15604942562a4851ba527ecc Author: Hans de Graaff gentoo org> AuthorDate: Wed Nov 3 06:41:49 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Nov 3 06:43:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5663c8 dev-ruby/oauth: add 0.5.7 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/oauth/Manifest | 1 + dev-ruby/oauth/oauth-0.5.7.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest index 45230fd3af3..c9b32ecea0b 100644 --- a/dev-ruby/oauth/Manifest +++ b/dev-ruby/oauth/Manifest @@ -1 +1,2 @@ DIST oauth-0.5.6.tar.gz 60887 BLAKE2B 8dea7bc6b1a3c9d5befa5badbda105fed28004d6627624fedaf1572cc261421e3a8636019bb0a600a28fb6aa933d2b1be5faf613ae3062f7d50b314b86059b17 SHA512 dcb516b90d6cf0ff3f1071fa7bf1e1b30cd998c79205f9a6df001d5c04784ad23ecd430b4e04565a6351efcc780b552dfc38ea962d0a938c9e19a6e5bd3fe070 +DIST oauth-0.5.7.tar.gz 65889 BLAKE2B 71787b6a03156a25edbb006acd05f7aae789e9bc0fffa0afe9d3f0c55a2b991fa20527c493e9933891adc0e32571c1834f1a3f928e12f2a7b3159ebc09d29286 SHA512 4bc217123aaf74482ed118344c57b241b9efea172d872d670a860e8f236fac4ae1956826fcc786025164a5728c62edded8cb453f0051091c48bc87fe1f72f931 diff --git a/dev-ruby/oauth/oauth-0.5.7.ebuild b/dev-ruby/oauth/oauth-0.5.7.ebuild new file mode 100644 index 00000000000..cdb746579c6 --- /dev/null +++ b/dev-ruby/oauth/oauth-0.5.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="oauth.gemspec" + +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 ~ppc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/test-unit:2 + dev-ruby/mocha:1.0 + dev-ruby/webmock + dev-ruby/rack + dev-ruby/actionpack:6.0 + dev-ruby/railties:6.0 +)" + +all_ruby_prepare() { + # Require a compatible version of mocha + sed -i -e '1igem "mocha", "~> 1.0"; gem "railties", "~>6.0.0" ; gem "actionpack", "~>6.0.0"' \ + -e '2i gem "test-unit"; require "test/unit"' \ + -e '/mocha/ s/mini_test/minitest/' \ + -e '/\(byebug\|minitest_helpers\|simplecov\)/I s:^:#:' test/test_helper.rb || die +}