From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1611968-garchives=archives.gentoo.org@lists.gentoo.org>
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 5D77F158041
	for <garchives@archives.gentoo.org>; Sun, 17 Mar 2024 06:46:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 18CF0E29C4;
	Sun, 17 Mar 2024 06:46:41 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 00670E29C4
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Mar 2024 06:46:40 +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 171F933BF39
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Mar 2024 06:46:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8547B1526
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Mar 2024 06:46:38 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
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" <graaff@gentoo.org>
Message-ID: <1710657984.be5dba64163a6dc3a1c466f3dce5afe64d8ea061.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sync/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/sync/Manifest dev-ruby/sync/sync-0.5.0-r1.ebuild
X-VCS-Directories: dev-ruby/sync/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: be5dba64163a6dc3a1c466f3dce5afe64d8ea061
X-VCS-Branch: master
Date: Sun, 17 Mar 2024 06:46:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3ab749c9-b066-494a-aec1-be7e23e2ffd8
X-Archives-Hash: caead07d57a7d8e64d504c4fe1924d47

commit:     be5dba64163a6dc3a1c466f3dce5afe64d8ea061
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 06:32:31 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 06:46:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5dba64

dev-ruby/sync: update EAPI 7 -> 8, fix tests

Closes: https://bugs.gentoo.org/912061
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/sync/Manifest             |  1 +
 dev-ruby/sync/sync-0.5.0-r1.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/dev-ruby/sync/Manifest b/dev-ruby/sync/Manifest
index 05f6e166adc9..bb95b96b4a38 100644
--- a/dev-ruby/sync/Manifest
+++ b/dev-ruby/sync/Manifest
@@ -1 +1,2 @@
+DIST sync-0.5.0-mjit.patch 705 BLAKE2B 3235e6fb9689a046a04802d0e46087970ce80283aea989b598f756953175026ad63a686339ce5767b316bc67a2f1e9d4bb280cbee32408243ba0b6dd7c424c6b SHA512 9b639bafaf262d5ccd4f851ad5969e83b5e8d296a98daa4d12373e714aa0f80b7e242d508149be3da1cbad7d51ac6daf4f326a5f5043c7fcf828c8fc352e5bfc
 DIST sync-0.5.0.tar.gz 4957 BLAKE2B 9b4b1710d2468068387d782109199dd45c783b6d7bb0357851f800df2ac4961a72143cfc2b42f522524cf7148694545ae8eab47ee6629062d8ea1505d9095ba0 SHA512 5f887d9169e0be834c7fa17ae42b71078f25ce3d83e695490cd136adc1799d6b92e4aed41ce3f3d57b3ad193a1ac4de940b37212c2864bbf6331ba3582128166

diff --git a/dev-ruby/sync/sync-0.5.0-r1.ebuild b/dev-ruby/sync/sync-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..471eb2d7da3f
--- /dev/null
+++ b/dev-ruby/sync/sync-0.5.0-r1.ebuild
@@ -0,0 +1,28 @@
+# 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="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A module that provides a two-phase lock with a counter"
+HOMEPAGE="https://github.com/ruby/sync"
+SRC_URI="https://github.com/ruby/sync/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/ruby/sync/commit/8f2821d0819ee7c08506f204c7676f12c5ab1397.patch -> ${P}-mjit.patch"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+all_ruby_prepare() {
+	eapply "${DISTDIR}/${P}-mjit.patch"
+
+	sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}