From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1611210-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 BB0AF158044
	for <garchives@archives.gentoo.org>; Fri, 15 Mar 2024 06:08:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 39EE3E29CD;
	Fri, 15 Mar 2024 06:08:10 +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 1CF41E29A5
	for <gentoo-commits@lists.gentoo.org>; Fri, 15 Mar 2024 06:08:10 +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 1135533DF47
	for <gentoo-commits@lists.gentoo.org>; Fri, 15 Mar 2024 06:08:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F9F91515
	for <gentoo-commits@lists.gentoo.org>; Fri, 15 Mar 2024 06:08:07 +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: <1710482870.9e2c5f84da3d6c3de789e2a86d2cc8cd64238219.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/dry-struct/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/dry-struct/Manifest dev-ruby/dry-struct/dry-struct-1.6.0.ebuild dev-ruby/dry-struct/metadata.xml
X-VCS-Directories: dev-ruby/dry-struct/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 9e2c5f84da3d6c3de789e2a86d2cc8cd64238219
X-VCS-Branch: master
Date: Fri, 15 Mar 2024 06:08:07 +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: aff5c90c-1bc6-44b5-887a-49b1800a99ac
X-Archives-Hash: fdd71951767fccc05109ffb3ecf6e145

commit:     9e2c5f84da3d6c3de789e2a86d2cc8cd64238219
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 14:49:30 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 06:07:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2c5f84

dev-ruby/dry-struct: new package, add 1.6.0

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

 dev-ruby/dry-struct/Manifest                |  1 +
 dev-ruby/dry-struct/dry-struct-1.6.0.ebuild | 42 +++++++++++++++++++++++++++++
 dev-ruby/dry-struct/metadata.xml            | 11 ++++++++
 3 files changed, 54 insertions(+)

diff --git a/dev-ruby/dry-struct/Manifest b/dev-ruby/dry-struct/Manifest
new file mode 100644
index 000000000000..93ee03259b59
--- /dev/null
+++ b/dev-ruby/dry-struct/Manifest
@@ -0,0 +1 @@
+DIST dry-struct-1.6.0.tar.gz 37804 BLAKE2B c41a764cea576126ace4729dcc34ccd88c80f8751d8e9e11c825fc4caccd3a2cf5b7c92b129d2275cc8731f70ae98271462a359e8f6acf3c5ba2242513d20e6b SHA512 78258a74fd4b359142d42133df4f632dca7518959a15e42d544ee3b3e94ff5f2c7d14b2ed38609a125c788d092203d574d46f5a1030f9ec28738f76d24d7cdcc

diff --git a/dev-ruby/dry-struct/dry-struct-1.6.0.ebuild b/dev-ruby/dry-struct/dry-struct-1.6.0.ebuild
new file mode 100644
index 000000000000..8b4fd4535562
--- /dev/null
+++ b/dev-ruby/dry-struct/dry-struct-1.6.0.ebuild
@@ -0,0 +1,42 @@
+# 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_BINWRAP=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="dry-struct.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Typed structs and value objects"
+
+HOMEPAGE="https://dry-rb.org/gems/dry-struct/"
+SRC_URI="https://github.com/dry-rb/dry-struct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+IUSE=""
+
+ruby_add_rdepend "
+	dev-ruby/dry-core:1
+	>=dev-ruby/dry-types-1.7:1
+	>=dev-ruby/ice_nine-0.11:0
+	>=dev-ruby/zeitwerk-2.6:2
+"
+
+ruby_add_bdepend "test? (
+	dev-ruby/dry-monads
+	dev-ruby/dry-struct
+)"
+
+all_ruby_prepare() {
+	# Avoid broken spec, already fixed upstream.
+	sed -e '/with Test::User/ s/context/xcontext/' \
+		-i spec/extensions/pretty_print_spec.rb || die
+}

diff --git a/dev-ruby/dry-struct/metadata.xml b/dev-ruby/dry-struct/metadata.xml
new file mode 100644
index 000000000000..c0346959b54a
--- /dev/null
+++ b/dev-ruby/dry-struct/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>ruby@gentoo.org</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">dry-rb/dry-struct</remote-id>
+  </upstream>
+</pkgmetadata>