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 88CF7158015 for ; Wed, 20 Dec 2023 07:13:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 358762BC01F; Wed, 20 Dec 2023 07:13:47 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1EA682BC013 for ; Wed, 20 Dec 2023 07:13:47 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A40034076D for ; Wed, 20 Dec 2023 07:13:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AB941441 for ; Wed, 20 Dec 2023 07:13:44 +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: <1703056167.e0bae4685597a6fd82001ecfe10b580980911e0f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/omniauth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/omniauth/Manifest dev-ruby/omniauth/omniauth-2.1.2.ebuild X-VCS-Directories: dev-ruby/omniauth/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e0bae4685597a6fd82001ecfe10b580980911e0f X-VCS-Branch: master Date: Wed, 20 Dec 2023 07:13:44 +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: dfe7e617-1230-4ec1-bdb6-ca5b0096e2f3 X-Archives-Hash: 98f487bd882e77fc0ca538d654b4a697 commit: e0bae4685597a6fd82001ecfe10b580980911e0f Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 20 07:09:27 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 20 07:09:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0bae468 dev-ruby/omniauth: add 2.1.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/omniauth/Manifest | 1 + dev-ruby/omniauth/omniauth-2.1.2.ebuild | 49 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest index 048653b8c667..a06ad6dd5df9 100644 --- a/dev-ruby/omniauth/Manifest +++ b/dev-ruby/omniauth/Manifest @@ -1 +1,2 @@ DIST omniauth-2.1.1.tar.gz 31414 BLAKE2B 180ee40499a61e8b6360dc4c462ca10933dc7bac976f76dd8c9579e73da6618ffae71ed532fab024f0eb65c3830db1e52f866c40b6e160e65c8fa403c7c1ab37 SHA512 e86fbd3c1f239b4950f17fdfe4ebd97a9a135831b63892dd009bae97f4372b3a6fa2452233e414c6097c3b835ee4e75821e795599da9613affdaf163d31964a3 +DIST omniauth-2.1.2.tar.gz 31631 BLAKE2B 73faa82db781c3980eae55f3fa8a099d3ec0769326201f51f57840566a3b2da2331bdaaddd4ef17d957e389ea8863fc7bfdc11f0278753c27f3a7eabc01ec138 SHA512 bd0c65af815502f3df2dbb104ede35de093c6cc6f25285e9bbcdd58df3d31ac6c05d410888a40aca86a00b17a4851856d158593b06415e8b69ff426f171b9857 diff --git a/dev-ruby/omniauth/omniauth-2.1.2.ebuild b/dev-ruby/omniauth/omniauth-2.1.2.ebuild new file mode 100644 index 000000000000..ebf0636a87e2 --- /dev/null +++ b/dev-ruby/omniauth/omniauth-2.1.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +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" +KEYWORDS="~amd64" +SLOT="$(ver_cut 1)" +IUSE="" + +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 )" + +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"' \ + -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 +}