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/omniauth/
Date: Fri, 28 Feb 2025 14:21:53 +0000 (UTC)	[thread overview]
Message-ID: <1740752501.dbda84d037eb528dc08bde5a6315b8782c5f1a3f.graaff@gentoo> (raw)

commit:     dbda84d037eb528dc08bde5a6315b8782c5f1a3f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 14:10:38 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 14:21:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbda84d0

dev-ruby/omniauth: add 2.1.3

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

 dev-ruby/omniauth/Manifest              |  1 +
 dev-ruby/omniauth/omniauth-2.1.3.ebuild | 50 +++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest
index c8f809b5a41e..5e06235f82a3 100644
--- a/dev-ruby/omniauth/Manifest
+++ b/dev-ruby/omniauth/Manifest
@@ -1 +1,2 @@
 DIST omniauth-2.1.2.tar.gz 31631 BLAKE2B 73faa82db781c3980eae55f3fa8a099d3ec0769326201f51f57840566a3b2da2331bdaaddd4ef17d957e389ea8863fc7bfdc11f0278753c27f3a7eabc01ec138 SHA512 bd0c65af815502f3df2dbb104ede35de093c6cc6f25285e9bbcdd58df3d31ac6c05d410888a40aca86a00b17a4851856d158593b06415e8b69ff426f171b9857
+DIST omniauth-2.1.3.tar.gz 31694 BLAKE2B 83fa6ee6f9c829e2027f3526f034bf868d08970a56e6189b793855983eed5486c8bdd046cdd88fc18e17230f3de79e790b8faf865fb2993497bf05e1f77a88b2 SHA512 b75a48f323a3ed1268f73500fa8d1a19052b4d613f39fc715dcb0e893c8a88571d3fec8a6d96fabe45835da4af7c3f68215fc218102e8f0eda54df78c483c9de

diff --git a/dev-ruby/omniauth/omniauth-2.1.3.ebuild b/dev-ruby/omniauth/omniauth-2.1.3.ebuild
new file mode 100644
index 000000000000..a0eb3afeb7ff
--- /dev/null
+++ b/dev-ruby/omniauth/omniauth-2.1.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A generalized Rack framework for multiple-provider authentication"
+HOMEPAGE="https://github.com/omniauth/omniauth"
+SRC_URI="https://github.com/omniauth/omniauth/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="doc test"
+
+ruby_add_rdepend "
+	>=dev-ruby/rack-2.2.3
+	dev-ruby/rack-protection
+	>=dev-ruby/hashie-3.4.6:*"
+ruby_add_bdepend "doc? ( dev-ruby/yard )
+	test? ( dev-ruby/rack-test dev-ruby/rack:2.2 dev-ruby/rack-protection:3 )"
+
+all_ruby_prepare() {
+	sed -i -e '/[Bb]undler/d' \
+		Rakefile ${PN}.gemspec || die "sed failed"
+	sed -e '/RUBY_VERSION/,/^end/ s:^:#: ; /freeze/ s:^:#:' \
+		-e '2igem "rack", "<3"; gem "rack-protection", "~> 3.0"' \
+		-e '/simplecov/,/^end/ s:^:#:' \
+		-i spec/helper.rb || die "sed failed"
+	# maruku fails, resorting to default markdown implementation
+	sed -i -e '/maruku/d' .yardopts || die "sed failed"
+
+	sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_compile() {
+	all_fakegem_compile
+
+	if use doc ; then
+		yard || die "yard failed"
+	fi
+}


             reply	other threads:[~2025-02-28 14:21 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-28 14:21 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-02  9:36 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/omniauth/ Hans de Graaff
2025-06-03  7:44 Hans de Graaff
2024-07-18  6:05 Hans de Graaff
2024-07-18  6:05 Hans de Graaff
2024-02-11  7:26 Hans de Graaff
2023-12-20  7:13 Hans de Graaff
2023-08-29 16:53 Hans de Graaff
2023-08-29 16:53 Hans de Graaff
2023-02-04  7:08 Hans de Graaff
2022-12-04 15:08 Hans de Graaff
2022-04-14  5:01 Hans de Graaff
2021-07-07  7:48 Hans de Graaff
2021-07-07  7:48 Hans de Graaff
2020-08-01  9:05 Hans de Graaff
2020-03-03  7:25 Hans de Graaff
2019-11-09  6:28 Hans de Graaff
2019-03-30  6:46 Hans de Graaff
2018-12-15  6:31 Hans de Graaff
2018-09-11  4:50 Hans de Graaff
2018-02-07  7:05 Hans de Graaff
2017-12-28  6:34 Hans de Graaff
2017-12-28  6:34 Hans de Graaff
2017-10-11  5:26 Hans de Graaff
2017-09-29 14:20 Hans de Graaff
2017-09-29 14:20 Hans de Graaff
2017-03-07  6:10 Hans de Graaff
2017-02-19  7:05 Hans de Graaff
2017-02-06  6:41 Hans de Graaff
2017-01-18  7:16 Hans de Graaff
2017-01-18  7:16 Hans de Graaff
2016-10-31  1:44 Manuel Rüger
2016-05-09 22:29 Manuel Rüger
2015-12-24  6:37 Hans de Graaff
2015-12-12  7:35 Hans de Graaff
2015-08-13 18:59 Peter Wilmott

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=1740752501.dbda84d037eb528dc08bde5a6315b8782c5f1a3f.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