public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/oauth/
Date: Fri,  5 May 2023 05:56:58 +0000 (UTC)	[thread overview]
Message-ID: <1683266215.c2da00861ff3f521176aaa3df20496900ad01643.graaff@gentoo> (raw)

commit:     c2da00861ff3f521176aaa3df20496900ad01643
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri May  5 05:53:32 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri May  5 05:56:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2da0086

dev-ruby/oauth: add 0.6.2

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/oauth/Manifest           |  1 +
 dev-ruby/oauth/oauth-0.6.2.ebuild | 53 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest
index b00f5bccbf13..d978bfb874ca 100644
--- a/dev-ruby/oauth/Manifest
+++ b/dev-ruby/oauth/Manifest
@@ -1 +1,2 @@
 DIST oauth-0.5.14.tar.gz 68764 BLAKE2B 19c7f463d5fcba62a609355834ba93adf1efa05b2ce25fc5d9d3623da15d35a7cb54eff9201bb4f373a66629781f5937326430a7a1c9c615929bcc5bae099a67 SHA512 646ed55a602e9e7b8e8d59532c89929305abeeda6b38fc38bdf1d5e400deec7f5884d988bcbb9e3537eb3a0921dacb73cb5238af27e9885aff95b67196f62c99
+DIST oauth-0.6.2.tar.gz 81702 BLAKE2B 2775c0711beb9f3612844ae07ff59953d4db72c0f9a797c6eac49132a021a48481a13f4b1428b2037b0a04b83b5d79e621cccd4a794fe3a339a1ceb468f0b165 SHA512 22f4f734daa42339bbaed1d1d449a4591ef4404aaf8cf1753ba705735a176f6142853b2c4f5e8ff3afa3e9899163af1c5598685664326d58a5b529d94b65441f

diff --git a/dev-ruby/oauth/oauth-0.6.2.ebuild b/dev-ruby/oauth/oauth-0.6.2.ebuild
new file mode 100644
index 000000000000..8d6f693b0b7f
--- /dev/null
+++ b/dev-ruby/oauth/oauth-0.6.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="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"
+IUSE=""
+
+ruby_add_rdepend "
+	dev-ruby/snaky_hash:1
+	>=dev-ruby/version_gem-1.1:1
+"
+
+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() {
+	sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# 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 's/if RUN_COVERAGE/if false/' test/test_helper.rb || die
+
+	# Avoid test tripped up by kwargs confusion
+	sed -i -e '/test_authorize/askip "kwargs confusion"' test/units/cli_test.rb || die
+}
+
+each_ruby_test() {
+	${RUBY} -Ilib:test:. -e 'Dir["test/**/*test*.rb"].each {|f| require f}' || die
+}


             reply	other threads:[~2023-05-05  5:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05  5:56 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-14  7:27 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/oauth/ Hans de Graaff
2024-07-16  4:06 Hans de Graaff
2023-09-15 14:56 Hans de Graaff
2023-08-27 10:16 Jakov Smolić
2023-08-26 13:47 Arthur Zamarin
2023-08-26 13:30 Sam James
2023-08-26  6:53 Hans de Graaff
2023-07-11  8:13 Jakov Smolić
2023-01-13  8:28 Hans de Graaff
2022-07-26  9:49 Hans de Graaff
2022-05-05  5:50 Hans de Graaff
2022-05-01  6:34 Hans de Graaff
2022-05-01  6:34 Hans de Graaff
2021-11-11  7:04 Hans de Graaff
2021-11-03  6:43 Hans de Graaff
2021-07-05 11:51 Hans de Graaff
2021-04-08  6:07 Hans de Graaff
2021-02-16  6:03 Hans de Graaff
2021-01-22  7:05 Hans de Graaff
2020-05-31  8:09 Hans de Graaff
2019-05-04 19:14 Hans de Graaff
2018-08-05 20:37 Hans de Graaff
2018-04-29  9:42 Hans de Graaff
2018-03-25 19:45 Sergei Trofimovich
2018-02-17  8:05 Hans de Graaff
2018-02-07  6:30 Hans de Graaff
2018-02-07  5:52 Thomas Deutschmann
2017-09-24  7:10 Hans de Graaff
2017-07-12  4:48 Hans de Graaff
2017-06-28  6:09 Hans de Graaff
2016-12-20  0:52 Manuel Rüger
2016-05-09  6:33 Hans de Graaff
2016-03-06  6:23 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1683266215.c2da00861ff3f521176aaa3df20496900ad01643.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox