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 B5FA015ACFB for ; Fri, 28 Apr 2023 08:49:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 922D6E091A; Fri, 28 Apr 2023 08:49:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 72DA9E091A for ; Fri, 28 Apr 2023 08:49:21 +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 6496B340F54 for ; Fri, 28 Apr 2023 08:49:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4BABA40 for ; Fri, 28 Apr 2023 08:49:18 +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: <1682671755.b61eb60dc7ec33c0e764240eccda5f7e7bb0e15b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/backports/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/backports/Manifest dev-ruby/backports/backports-3.24.1.ebuild X-VCS-Directories: dev-ruby/backports/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b61eb60dc7ec33c0e764240eccda5f7e7bb0e15b X-VCS-Branch: master Date: Fri, 28 Apr 2023 08:49:18 +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: ffd7d7cd-d318-4087-a953-9736b83c0f63 X-Archives-Hash: bc970787bd8ee2364fd235738e7ad245 commit: b61eb60dc7ec33c0e764240eccda5f7e7bb0e15b Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 28 07:35:10 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 28 08:49:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61eb60d dev-ruby/backports: add 3.24.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/backports/Manifest | 1 + dev-ruby/backports/backports-3.24.1.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest index d1b09b968a0a..7ca7fed5a18d 100644 --- a/dev-ruby/backports/Manifest +++ b/dev-ruby/backports/Manifest @@ -1 +1,2 @@ DIST backports-3.23.0.tar.gz 181501 BLAKE2B ef9841366b27b19837e61177f727cbd0acd58650cebab03329c174d699147fadfe51b4ac404d11332e681285c5f0ddcf387bdf6304237ff32c77048a1f5670b6 SHA512 b5b16b78c4dfbadbd60735b29541268cc6446f283ad686add208974fb861b270ffc46ec3cb6702c2ecf760e0de83d31025dbeba90e79383ffda6b4ca0b52a06c +DIST backports-3.24.1.tar.gz 186050 BLAKE2B 5c4f22e12ff4b436c356796b1d8af4cbb8ea038536818bdf97b6c42c57c809c01954147240aa250ee7fc26abf5f9d775d3e0f9b73f6db323aec2c8481d15a68f SHA512 bc29c9eaad86ae99f4a22d6f797bd8a93769761c4bc728539a798e7d0c1fe72cedc665673607d4aab8ac0e7e890789f213842a927eac738674b6089b9961ebf0 diff --git a/dev-ruby/backports/backports-3.24.1.ebuild b/dev-ruby/backports/backports-3.24.1.ebuild new file mode 100644 index 000000000000..60fd239f37d0 --- /dev/null +++ b/dev-ruby/backports/backports-3.24.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="backports.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Backports of Ruby features for older Ruby" +HOMEPAGE="https://github.com/marcandre/backports" +SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die + + sed -i -e '/rubocop/I s:^:#:' Rakefile || die +}