From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1726454-garchives=archives.gentoo.org@lists.gentoo.org>
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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7118D1582EF
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 15:56:18 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 36BB034301B
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 15:56:18 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 350AF1102E0;
	Mon, 10 Mar 2025 15:56:17 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 284BC1102E0
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 15:56:17 +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 CC16C3430BE
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 15:56:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 362E2122C
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 15:56:15 +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: <1741622158.d4b74093f98522910ce94c023962e37e7c057ab6.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/uuidtools/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/uuidtools/Manifest dev-ruby/uuidtools/uuidtools-3.0.0.ebuild
X-VCS-Directories: dev-ruby/uuidtools/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: d4b74093f98522910ce94c023962e37e7c057ab6
X-VCS-Branch: master
Date: Mon, 10 Mar 2025 15:56:15 +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: ab6fdce9-e5bf-472c-a491-0e3746a3b9a4
X-Archives-Hash: b09d493ecad5adc15e94c853c5a8f103

commit:     d4b74093f98522910ce94c023962e37e7c057ab6
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 15:49:07 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 15:55:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b74093

dev-ruby/uuidtools: add 3.0.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/uuidtools/Manifest               |  1 +
 dev-ruby/uuidtools/uuidtools-3.0.0.ebuild | 35 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-ruby/uuidtools/Manifest b/dev-ruby/uuidtools/Manifest
index b303dc0dbd7a..feb0165d5125 100644
--- a/dev-ruby/uuidtools/Manifest
+++ b/dev-ruby/uuidtools/Manifest
@@ -1 +1,2 @@
 DIST uuidtools-2.2.0.gem 27136 BLAKE2B 1760c3fcb193901a552b8d32acddd67a0737b95a79bde47854c11a3a6378b008b0e17339ac2e95157329314f35612adc9355068eaef90f93f4d1976fdd430182 SHA512 17f15e8816fd17d31e1296522d9c68b8da71211556c3284770197b06a6fe01f9038c1e6c6e5e8272b4290cfb23b48914a27717c4705fba17e5d9848257664360
+DIST uuidtools-3.0.0.gem 27136 BLAKE2B 9838c9e68a54fbe2597a43476244e29b6e96387c8c4c5111469c8c5c1df1d13f4adbf0353a2bff1779fb51154749ee805d527dc52007a43739e8bbc317e188f0 SHA512 1c84325e508af0f2675d8159722510a1c26453afabe810056d95531b90bd56c1af6f00838cf4088ae944b33be5a8973ad91592413e1b63e3e0fb59ccce871173

diff --git a/dev-ruby/uuidtools/uuidtools-3.0.0.ebuild b/dev-ruby/uuidtools/uuidtools-3.0.0.ebuild
new file mode 100644
index 000000000000..9d7947f76a31
--- /dev/null
+++ b/dev-ruby/uuidtools/uuidtools-3.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake doc"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple library to generate UUIDs"
+HOMEPAGE="https://github.com/sporkmonger/uuidtools"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+	# Avoid specs that require an actual network interface to get a MAC
+	# address. We can't assume that a network interface is available.
+	sed -e '/when obtaining a MAC address/,/^end/ s:^:#:' \
+		-i spec/uuidtools/mac_address_spec.rb || die
+	sed -e '/should correctly generate timestamp variant UUIDs/,/^  end/ s:^:#:' \
+		-i spec/uuidtools/uuid_creation_spec.rb || die
+	sed -e '/should not treat a timestamp version UUID as a random node UUID/,/^  end/ s:^:#:' \
+		-i spec/uuidtools/uuid_parsing_spec.rb || die
+}