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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 65759158017 for ; Tue, 28 Sep 2021 00:31:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B17DE0931; Tue, 28 Sep 2021 00:31:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E813CE0931 for ; Tue, 28 Sep 2021 00:31:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D6FD342DD0 for ; Tue, 28 Sep 2021 00:31:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C85D2EA for ; Tue, 28 Sep 2021 00:31:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1632789053.85da06614ec58425f14de9cc16d852f7f4335903.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/roadie-rails/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/roadie-rails/Manifest dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild X-VCS-Directories: dev-ruby/roadie-rails/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 85da06614ec58425f14de9cc16d852f7f4335903 X-VCS-Branch: master Date: Tue, 28 Sep 2021 00:31:32 +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: 4f67c2c2-2b72-415b-970b-279774752597 X-Archives-Hash: 6a6d2e75127dfc698778d58ac63499d1 commit: 85da06614ec58425f14de9cc16d852f7f4335903 Author: Azamat H. Hackimov gmail com> AuthorDate: Tue May 4 20:12:14 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 28 00:30:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85da0661 dev-ruby/roadie-rails: update to 2.2.0 Closes: https://bugs.gentoo.org/787533 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Azamat H. Hackimov gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20683 Signed-off-by: Sam James gentoo.org> dev-ruby/roadie-rails/Manifest | 1 + dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest index bf054ffa2fc..3aaa01f90ea 100644 --- a/dev-ruby/roadie-rails/Manifest +++ b/dev-ruby/roadie-rails/Manifest @@ -1 +1,2 @@ DIST roadie-rails-2.1.1.tar.gz 56419 BLAKE2B 6a54797c77267a61ab63d72743fbd3f98d4137d917ddebf0335c30d03e5efb9e2907679237eea168384b54ea93bbe9be3aad4dcbf6364d411ebaa6e2ba7638fb SHA512 ceffe9746cded4f5dca83c614dc6ffb65203455775df9f56a402837018c0a322c7edad37ca05c72bc70fa8d19cfb4f9eba5b2fde1cbff7f8b28312e95140f353 +DIST roadie-rails-2.2.0.tar.gz 56005 BLAKE2B b3251d095074dcbaf6879f8344a9f6d1426abd2824a667f8ddb1d6be186c1c89bc3425972abc62495038b263780339840b792a961809e80d181c043e8f558012 SHA512 4042d549f19adb48144306d7f646d7462b72c3775b41e6ad68ffc75aad8704c28f828bd2928fc9cb3a97d0a2ebee86446b17d2ba31d3b1b163e668cb4d85bb0f diff --git a/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild new file mode 100644 index 00000000000..d939b3c7c11 --- /dev/null +++ b/dev-ruby/roadie-rails/roadie-rails-2.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby26" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hooks Roadie into your Rails application to help with email generation" +HOMEPAGE="https://github.com/Mange/roadie-rails" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +#RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/roadie-3.1 + || ( dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )" +ruby_add_bdepend " + test? ( + dev-ruby/bundler + || ( dev-ruby/rails:6.1 dev-ruby/rails:6.0 dev-ruby/rails:5.2 ) + dev-ruby/rspec-rails + dev-ruby/rspec-collection_matchers )" + +all_ruby_prepare() { + sed -i -e '/codecov/ s:^:#:' Gemfile || die + sed -i -e 's/git ls-files/find . -print/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid already removed rails version + sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +}