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 08E4D15802F for ; Sat, 1 Apr 2023 08:26:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50BA2E0878; Sat, 1 Apr 2023 08:26:26 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36A88E0875 for ; Sat, 1 Apr 2023 08:26:26 +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 702CC335D3B for ; Sat, 1 Apr 2023 08:26:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71892A1B for ; Sat, 1 Apr 2023 08:26:22 +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: <1680337578.dfc56e90c18d5d09e33fc9f6329045fd1692249f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/maildir/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/maildir/maildir-2.2.3-r1.ebuild X-VCS-Directories: dev-ruby/maildir/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: dfc56e90c18d5d09e33fc9f6329045fd1692249f X-VCS-Branch: master Date: Sat, 1 Apr 2023 08:26:22 +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: 28380bf4-bccc-41c2-8ef3-384785c39c4a X-Archives-Hash: 684efb8a45eb762601ccf89571cadbc5 commit: dfc56e90c18d5d09e33fc9f6329045fd1692249f Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 1 07:59:21 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 1 08:26:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc56e90 dev-ruby/maildir: update EAPI 7 -> 8 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/maildir/maildir-2.2.3-r1.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dev-ruby/maildir/maildir-2.2.3-r1.ebuild b/dev-ruby/maildir/maildir-2.2.3-r1.ebuild new file mode 100644 index 000000000000..64299a337221 --- /dev/null +++ b/dev-ruby/maildir/maildir-2.2.3-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRAINSTALL="README.rdoc" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A library for reading and writing arbitrary messages in DJB's maildir format" +HOMEPAGE="https://github.com/ktheory/maildir" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="2" +IUSE="test" + +ruby_add_bdepend " + test? ( >=dev-ruby/fakefs-0.3.2 dev-ruby/mail dev-ruby/shoulda-context dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die + sed -i -e 's/shoulda/shoulda-context/' test/helper.rb || die + + # Avoid tests that appear to need activesupport for .blank? support + sed -i -e '/add and remove flags/,/^ end/ s:^:#:' test/test_message.rb || die + sed -i -e '/be removed from flag list/,/^ end/ s:^:#:' test/test_maildir.rb || die +}