From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1628739-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 67BCB158064
	for <garchives@archives.gentoo.org>; Wed,  8 May 2024 05:06:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AD3D22BC081;
	Wed,  8 May 2024 05:06:48 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8FC0D2BC081
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 May 2024 05:06:48 +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 A32C133BEF5
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 May 2024 05:06:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EE27D1A44
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 May 2024 05:06:44 +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: <1715144788.cec52c8314929f3fa41770f2ce46af5b8cefb2b4.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/multipart-post/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/multipart-post/Manifest dev-ruby/multipart-post/multipart-post-2.4.1.ebuild
X-VCS-Directories: dev-ruby/multipart-post/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: cec52c8314929f3fa41770f2ce46af5b8cefb2b4
X-VCS-Branch: master
Date: Wed,  8 May 2024 05:06:44 +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: c494d5e0-cb2a-4ae6-9577-6f75b56e0468
X-Archives-Hash: ac9d8b0344b124c056edffc7ff0fc710

commit:     cec52c8314929f3fa41770f2ce46af5b8cefb2b4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed May  8 05:05:48 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed May  8 05:06:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec52c83

dev-ruby/multipart-post: add 2.4.1

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

 dev-ruby/multipart-post/Manifest                   |  1 +
 .../multipart-post/multipart-post-2.4.1.ebuild     | 32 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-ruby/multipart-post/Manifest b/dev-ruby/multipart-post/Manifest
index a5203d6c07c4..ed5358fc73ea 100644
--- a/dev-ruby/multipart-post/Manifest
+++ b/dev-ruby/multipart-post/Manifest
@@ -1,2 +1,3 @@
 DIST multipart-post-2.3.0.tar.gz 13151 BLAKE2B 59ac6cfc743a6aaa285dd14a81fedfb123aa09720dc96a7243de94d45b3b23295d5a7de1cfb61c40c64881ad213fbf2debca49d3b1f6de7e1772c60b7d3c4d78 SHA512 ac15090cbf6dc629d57efe4810406571aec8782d021891f1f2764d4f00b735a2282162b06ee140c5b2ad21fd83f3d25028f386768166cef668bb508c235f04b2
 DIST multipart-post-2.4.0.tar.gz 13693 BLAKE2B 2340aed254d98dd6f2444eaa90009893fc6430aa8f9c1c000522afb7656de2545a734246316adf97d40b87078517005e9dd3f281532a1f966d371cff4875bc1d SHA512 9a96dc66424d8a0575f982c58bc016eda93c17195b968821b342873b4b6b02d8f53ae210fb9eea5adedfa0d9bdd70f78b37a0196782bddcd01bbbfd0e757ac38
+DIST multipart-post-2.4.1.tar.gz 13732 BLAKE2B 9a5b606109148a5e2679aa454286b2a8481cc8e90253bb22b13053cfaa45fd1882c6d6b2b7fecc17d49f4d3ced8667aa483a4e5023fc675a5d86f310ab20b40e SHA512 f21500a05428cbcc567be7b1bfdd8c38cfbc4b67cd646f96927478b768f45db996fc3868324c81e4adff5eb4013f0c5bede19802437f4539a334604c4736f8be

diff --git a/dev-ruby/multipart-post/multipart-post-2.4.1.ebuild b/dev-ruby/multipart-post/multipart-post-2.4.1.ebuild
new file mode 100644
index 000000000000..15834224ce07
--- /dev/null
+++ b/dev-ruby/multipart-post/multipart-post-2.4.1.ebuild
@@ -0,0 +1,32 @@
+# 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_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="changelog.md readme.md"
+RUBY_FAKEGEM_GEMSPEC="multipart-post.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Adds a streamy multipart form post capability to Net::HTTP"
+HOMEPAGE="https://github.com/socketry/multipart-post"
+SRC_URI="https://github.com/socketry/multipart-post/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+
+all_ruby_prepare() {
+	sed -i -e '/\(bundler\|covered\)/ s:^:#:' spec/spec_helper.rb || die
+
+	sed -i -e 's:_relative ":"./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Remove warnings since these are only actionable for developers,
+	# not for people consuming this package as part of other tools.
+	sed -i -e '/Top level/ s/warn/# warn/' lib/*.rb || die
+}