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 8E33B158041 for ; Mon, 1 Apr 2024 14:25:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41EB4E2A76; Mon, 1 Apr 2024 14:25:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 210B1E2A76 for ; Mon, 1 Apr 2024 14:25:43 +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 53026343003 for ; Mon, 1 Apr 2024 14:25:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8EBA114E4 for ; Mon, 1 Apr 2024 14:25:40 +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: <1711981527.0b4acfd039f2e5d24b5ae3750301c2c662c372d8.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/letter_opener/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/letter_opener/Manifest dev-ruby/letter_opener/letter_opener-1.10.0.ebuild X-VCS-Directories: dev-ruby/letter_opener/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 0b4acfd039f2e5d24b5ae3750301c2c662c372d8 X-VCS-Branch: master Date: Mon, 1 Apr 2024 14:25:40 +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: cbfadff3-c1ed-4288-baf3-5ed1c474bda7 X-Archives-Hash: 7fc3a0c34b28e1a33a643ae9f0360256 commit: 0b4acfd039f2e5d24b5ae3750301c2c662c372d8 Author: Hans de Graaff gentoo org> AuthorDate: Mon Apr 1 12:47:19 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Apr 1 14:25:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4acfd0 dev-ruby/letter_opener: add 1.10.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/letter_opener/Manifest | 1 + dev-ruby/letter_opener/letter_opener-1.10.0.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-ruby/letter_opener/Manifest b/dev-ruby/letter_opener/Manifest index d03815100bad..5e946ade9bc7 100644 --- a/dev-ruby/letter_opener/Manifest +++ b/dev-ruby/letter_opener/Manifest @@ -1,2 +1,3 @@ +DIST letter_opener-1.10.0.tar.gz 12789 BLAKE2B e9c5294f4bce2998b431d5547bf3e52ca219ad8da189f3d36c447465e6730ed5647dacde50e825f67dcb2376256698ec2d571f6470f35d9acec6612859d72ddf SHA512 5675150164c144273d73524c1c4acf62fecaf1495bbdfe5825497080569a2a51d8846c99d7270017c9f540da23fdc6e401626f30c368c8e57c40ee384363db15 DIST letter_opener-1.8.1.tar.gz 12680 BLAKE2B 3204a5f6a33f722f255f126597655f6209d87764ff9b92ac770a35342906b9d192a62aade992709aaa55baa03046a342f48c4671d3a47a5fd5350bc2e7e7d0e1 SHA512 ce360bcb9f8c07e1319f74187ff85ef799d0a3387f0081ffe3cff2e8b52a9445c22b39fed4b729aee23fb67121c5e47b280ef502f95940aacbb6be31533185be DIST letter_opener-1.9.0.tar.gz 12776 BLAKE2B f9ad3358d65e4943f4bfa7d19ab870277d17cbe0ed99f203a262b5070b27386ce709d02e99b9f65ec61715791a599e93c020cfe06033081a2a16e742059b21e2 SHA512 55bed88be20280757347e38cfacc031b178f65a490f26caab5a981b186df8cff1a68dc154bddf091817e415a4760ed2d6487c3453d0df93c406e13924a5715eb diff --git a/dev-ruby/letter_opener/letter_opener-1.10.0.ebuild b/dev-ruby/letter_opener/letter_opener-1.10.0.ebuild new file mode 100644 index 000000000000..7e076a2e7904 --- /dev/null +++ b/dev-ruby/letter_opener/letter_opener-1.10.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Preview mail in the browser instead of sending" +HOMEPAGE="https://github.com/ryanb/letter_opener" +SRC_URI="https://github.com/ryanb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/mail-2.6:* )" +ruby_add_rdepend "|| ( dev-ruby/launchy:3 >=dev-ruby/launchy-2.2:0 )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die + sed -i -e '4irequire "letter_opener"' spec/spec_helper.rb || die + + # Avoid tests that require some kind of browser + sed -i -e '/opens email/askip "requires installed browser"' spec/letter_opener/delivery_method_spec.rb || die +}