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 5FFCF158011 for ; Fri, 13 Jan 2023 08:28:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1F9AE07F9; Fri, 13 Jan 2023 08:28:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 9CD4FE0826 for ; Fri, 13 Jan 2023 08:28:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A8729340A9D for ; Fri, 13 Jan 2023 08:28:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DBC6836 for ; Fri, 13 Jan 2023 08:28:35 +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: <1673598509.247f5f296325c582be45854e6aeb9e9342ec89a3.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.14.ebuild X-VCS-Directories: dev-ruby/oauth/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 247f5f296325c582be45854e6aeb9e9342ec89a3 X-VCS-Branch: master Date: Fri, 13 Jan 2023 08:28:35 +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: 67b4df8d-33da-43ec-9f2a-a28fe4a90ee0 X-Archives-Hash: c8024977724872915a7d16f686c4f65d commit: 247f5f296325c582be45854e6aeb9e9342ec89a3 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jan 13 08:26:50 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jan 13 08:28:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247f5f29 dev-ruby/oauth: add 0.5.14 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/oauth/Manifest | 1 + dev-ruby/oauth/oauth-0.5.14.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest index 85f3d66865d4..9e0f781b453a 100644 --- a/dev-ruby/oauth/Manifest +++ b/dev-ruby/oauth/Manifest @@ -1,2 +1,3 @@ DIST oauth-0.5.10.tar.gz 67073 BLAKE2B 30d5823151412f53af41f28f7d5831bcfa7e7cf0b86d3a122b825fd086c00dab7fca7a4838b7ed5ebb269725af7c2a64cf771fc598bd6a97b9968e480ce78b4c SHA512 0ff5cd07052e210b1948496844166e1095b09d9c39592b6b11fa3aa4909fd8debec55237493d292dc60f4fe513ddf1a8f58cdb0215949241cf753d4e53aa107e +DIST oauth-0.5.14.tar.gz 68764 BLAKE2B 19c7f463d5fcba62a609355834ba93adf1efa05b2ce25fc5d9d3623da15d35a7cb54eff9201bb4f373a66629781f5937326430a7a1c9c615929bcc5bae099a67 SHA512 646ed55a602e9e7b8e8d59532c89929305abeeda6b38fc38bdf1d5e400deec7f5884d988bcbb9e3537eb3a0921dacb73cb5238af27e9885aff95b67196f62c99 DIST oauth-0.5.8.tar.gz 67852 BLAKE2B 7dc19a2f84f585fd517d677bf441c5964b45566ffea3cbd7612061db115a5570cf8315b4cbdd8788f9b0ff336b6eea91922f17c0ce17a4c626731282bd8203ca SHA512 3bf8298ea5bcffe1fe61ba894a5cfcb04a5814348154749e056ea18d975b00b10db7ed226f2187ffb9f414b755022bf32ff4bb2c02f1f429f6a9a7062032d82e diff --git a/dev-ruby/oauth/oauth-0.5.14.ebuild b/dev-ruby/oauth/oauth-0.5.14.ebuild new file mode 100644 index 000000000000..2092a7815cc8 --- /dev/null +++ b/dev-ruby/oauth/oauth-0.5.14.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="oauth" +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 ~riscv ~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.1 + dev-ruby/railties:6.1 +)" + +all_ruby_prepare() { + # Require a compatible version of mocha + sed -i -e '1igem "mocha", "~> 1.0"; gem "railties", "~>6.1.0" ; gem "actionpack", "~>6.1.0"; require "action_dispatch"' \ + -e '/mocha/ s/mini_test/minitest/' \ + -e '/\(byebug\|minitest_helpers\|simplecov\)/I s:^:#:' test/test_helper.rb || die + + # Avoid test tripped up by kwargs confusion + sed -i -e '/test_authorize/askip "kwargs confusion"' test/units/test_cli.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/**/*test*.rb"].each {|f| require f}' || die +}