From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1300026-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C628139345 for <garchives@archives.gentoo.org>; Wed, 7 Jul 2021 07:48:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F206E09C4; Wed, 7 Jul 2021 07:48:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 26A43E09C6 for <gentoo-commits@lists.gentoo.org>; Wed, 7 Jul 2021 07:48:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6D0E342BAF for <gentoo-commits@lists.gentoo.org>; Wed, 7 Jul 2021 07:48:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 187057C7 for <gentoo-commits@lists.gentoo.org>; Wed, 7 Jul 2021 07:48:07 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> 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" <graaff@gentoo.org> Message-ID: <1625643455.89bcc98ce7ba0cfe3de2910a9aa12c3f0847db94.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.0.4.ebuild X-VCS-Directories: dev-ruby/omniauth/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 89bcc98ce7ba0cfe3de2910a9aa12c3f0847db94 X-VCS-Branch: master Date: Wed, 7 Jul 2021 07:48:07 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a5c3f371-7dfd-49f3-ab73-f88042ad1708 X-Archives-Hash: 19ae167174535058b40102dfb70b4e37 commit: 89bcc98ce7ba0cfe3de2910a9aa12c3f0847db94 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Jul 7 07:36:31 2021 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Jul 7 07:37:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89bcc98c dev-ruby/omniauth: add 2.0.4 Bug: https://bugs.gentoo.org/761960 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/omniauth/Manifest | 1 + dev-ruby/omniauth/omniauth-2.0.4.ebuild | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/omniauth/Manifest b/dev-ruby/omniauth/Manifest index ef5990b9823..414327ceb69 100644 --- a/dev-ruby/omniauth/Manifest +++ b/dev-ruby/omniauth/Manifest @@ -1 +1,2 @@ DIST omniauth-1.9.1.tar.gz 26528 BLAKE2B da096ce924972c867ade4cde7e6ec90f5a7de41947f5d04ad092174baf3073ba6b235ff998551d9bbc7f6dfa2a4290eef1e1d962590591cf29f89395a554f3a9 SHA512 687ab9ad47d57d1cbe01fb7ed37754fecb3b75b7e62853070b5880ad6347a2834524a8d4042271ecd7f708ab35b7b5bd3203058ef03c3317f26f88a7639c2672 +DIST omniauth-2.0.4.tar.gz 30951 BLAKE2B 6086a737e043ae37e6c7c4b1e4d597a08e6dc490c5d71f7847e9c5a8880bbbd1117470efbbe12e150bf238bf6e5413493712f1c09ae5e37f5d7b7676b6da023e SHA512 c92ce881388c9793e96354caee764cbabb28c69ca63b32f304693c4859eb8bf994e86b2cc9dbeb57993347e6f2787c43eab967c36730d5c47a3c4767d16847eb diff --git a/dev-ruby/omniauth/omniauth-2.0.4.ebuild b/dev-ruby/omniauth/omniauth-2.0.4.ebuild new file mode 100644 index 00000000000..79e5a2b31ca --- /dev/null +++ b/dev-ruby/omniauth/omniauth-2.0.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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/intridea/omniauth" +SRC_URI="https://github.com/intridea/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* + dev-ruby/rack-protection + >=dev-ruby/hashie-3.4.6:*" +ruby_add_bdepend "doc? ( dev-ruby/yard ) + test? ( dev-ruby/rack-test )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/d' \ + Rakefile ${PN}.gemspec || die "sed failed" + sed -i -e '/RUBY_VERSION/,/^end/ s:^:#: ; /freeze/ s:^:#:' 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 +}