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 2FB9715838C for ; Fri, 19 Jan 2024 17:57:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18777E29B5; Fri, 19 Jan 2024 17:57:09 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00072E29B5 for ; Fri, 19 Jan 2024 17:57:08 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E7473433A2 for ; Fri, 19 Jan 2024 17:57:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5C5014B5 for ; Fri, 19 Jan 2024 17:57:06 +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: <1705687022.845035a1ba33d70f15a92926ceb9ed6d8d76a780.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/combustion/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/combustion/Manifest dev-ruby/combustion/combustion-1.4.0.ebuild X-VCS-Directories: dev-ruby/combustion/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 845035a1ba33d70f15a92926ceb9ed6d8d76a780 X-VCS-Branch: master Date: Fri, 19 Jan 2024 17:57:06 +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: f4a95f4c-6a8a-479f-b322-00323284299d X-Archives-Hash: 84794330595c18f01dde39e20242206b commit: 845035a1ba33d70f15a92926ceb9ed6d8d76a780 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jan 19 17:53:34 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jan 19 17:57:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=845035a1 dev-ruby/combustion: add 1.4.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/combustion/Manifest | 1 + dev-ruby/combustion/combustion-1.4.0.ebuild | 58 +++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-ruby/combustion/Manifest b/dev-ruby/combustion/Manifest index 1f075d2283ee..beff78fd18fd 100644 --- a/dev-ruby/combustion/Manifest +++ b/dev-ruby/combustion/Manifest @@ -1 +1,2 @@ DIST combustion-1.3.7.tar.gz 16922 BLAKE2B 7edb6d68751bdae2c14f564d99bd5e4815aeb0ac5cbf9f86bf265bcf1cc02f39b36c2f439d1a79930f7fee5670451dee87821150b11b765cf3a251272b6bfb46 SHA512 2aedf160b099f16b2225dacbb8198fbdca6a00196bfaf4f869d651309e36976b3a14383c9b38b4361a5174726117200e0fc9da56f2cf08ec9ea99a5f5dbecf7e +DIST combustion-1.4.0.tar.gz 16955 BLAKE2B fa2d55b6e84316b07221c938b053869f44b23363e69b51cefadc7400f7743c5cfe4d4c36cc01b0a463c64b6c5f59736f1bfef50e3438bb3feecc3be22ac717ef SHA512 24cee50f5a05e782d228cf1987de07610a077bd85a3e46c611b6f5c4f2a7202dcb0576ccb337f8c03f7d7a5e446e05524e5686cf5fdde9e510672b722403c13c diff --git a/dev-ruby/combustion/combustion-1.4.0.ebuild b/dev-ruby/combustion/combustion-1.4.0.ebuild new file mode 100644 index 000000000000..c294438d24f5 --- /dev/null +++ b/dev-ruby/combustion/combustion-1.4.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="Elegant Rails Engine Testing" +HOMEPAGE="https://github.com/pat/combustion" +SRC_URI="https://github.com/pat/combustion/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.0.0:* + >=dev-ruby/railties-3.0.0:* + >=dev-ruby/thor-0.14.6:* +" +# Needed for e.g. cannot load such file -- action_mailer/railtie +ruby_add_bdepend " + test? ( + >=dev-ruby/activemodel-3.0.0:* + >=dev-ruby/activerecord-3.0.0:* + dev-ruby/bundler + dev-ruby/net-smtp + >=dev-ruby/rails-3.0.0:* + dev-ruby/rspec:3 + >=dev-ruby/sqlite3-1.4 + ) +" + +each_ruby_prepare() { + sed -i \ + -e '/rubocop/d' \ + Gemfile || die + + # appraisal, rubocop: useless for us test deps + # mysql2, pg,: optional runtime deps + sed -i \ + -e '/appraisal/d' \ + -e '/mysql2/d' \ + -e '/pg/d' \ + -e '/rubocop/d' \ + ${PN}.gemspec || die + + sed -i -e '/rubocop/d' Rakefile || die +} + +each_ruby_test() { + local -x DB_ADAPTER=sqlite3 + ${RUBY} -S bundle exec rake spec || die +}