summaryrefslogtreecommitdiff
path: root/dev-ruby/omniauth
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-ruby/omniauth
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-ruby/omniauth')
-rw-r--r--dev-ruby/omniauth/Manifest2
-rw-r--r--dev-ruby/omniauth/metadata.xml11
-rw-r--r--dev-ruby/omniauth/omniauth-2.1.3.ebuild50
-rw-r--r--dev-ruby/omniauth/omniauth-2.1.4.ebuild52
4 files changed, 115 insertions, 0 deletions
diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest
new file mode 100644
index 000000000000..4108dd27ff29
--- /dev/null
+++ b/dev-ruby/omniauth/Manifest
@@ -0,0 +1,2 @@
+DIST omniauth-2.1.3.tar.gz 31694 BLAKE2B 83fa6ee6f9c829e2027f3526f034bf868d08970a56e6189b793855983eed5486c8bdd046cdd88fc18e17230f3de79e790b8faf865fb2993497bf05e1f77a88b2 SHA512 b75a48f323a3ed1268f73500fa8d1a19052b4d613f39fc715dcb0e893c8a88571d3fec8a6d96fabe45835da4af7c3f68215fc218102e8f0eda54df78c483c9de
+DIST omniauth-2.1.4.tar.gz 31916 BLAKE2B 14c1df37ad79c0476e884acf7b5ac2534340d228837269857c2af10feedf33867c92c2318e68659e737413d64ad78ba1dce1a647811572c634dfc684688ebc9c SHA512 3636a532c0afaddc98ab4d8ceca396278ae22592558c59a3b16dfc05b41467ffacc8e1bca0a7fe8ecfa488267507dd367d546b98c8eb2b314d77507edeb911a3
diff --git a/dev-ruby/omniauth/metadata.xml b/dev-ruby/omniauth/metadata.xml
new file mode 100644
index 000000000000..290d53d7f6af
--- /dev/null
+++ b/dev-ruby/omniauth/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">omniauth/omniauth</remote-id>
+ </upstream>
+</pkgmetadata>
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
+}
diff --git a/dev-ruby/omniauth/omniauth-2.1.4.ebuild b/dev-ruby/omniauth/omniauth-2.1.4.ebuild
new file mode 100644
index 000000000000..b80a6a7f20c5
--- /dev/null
+++ b/dev-ruby/omniauth/omniauth-2.1.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="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/logger
+ >=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
+}