From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1342115-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 7A08A158086
	for <garchives@archives.gentoo.org>; Mon, 22 Nov 2021 06:38:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5DF75E0900;
	Mon, 22 Nov 2021 06:38:06 +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 98790E0907
	for <gentoo-commits@lists.gentoo.org>; Mon, 22 Nov 2021 06:38:04 +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 5861C3431CA
	for <gentoo-commits@lists.gentoo.org>; Mon, 22 Nov 2021 06:38:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A27EF1D8
	for <gentoo-commits@lists.gentoo.org>; Mon, 22 Nov 2021 06:37:58 +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: <1637563051.38978f92bbefffe14e6547098c2e44b027bea1dd.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/xdr/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/xdr/Manifest dev-ruby/xdr/xdr-3.0.2.ebuild
X-VCS-Directories: dev-ruby/xdr/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 38978f92bbefffe14e6547098c2e44b027bea1dd
X-VCS-Branch: master
Date: Mon, 22 Nov 2021 06:37:58 +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: 12b68bbd-ccc3-4919-acbe-a073174e1e3e
X-Archives-Hash: c303420b577805f6948ae30d924c071c

commit:     38978f92bbefffe14e6547098c2e44b027bea1dd
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 21 10:08:48 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 06:37:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38978f92

dev-ruby/xdr: add 3.0.2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/xdr/Manifest         |  1 +
 dev-ruby/xdr/xdr-3.0.2.ebuild | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-ruby/xdr/Manifest b/dev-ruby/xdr/Manifest
index 5de4603e1565..62896ad01845 100644
--- a/dev-ruby/xdr/Manifest
+++ b/dev-ruby/xdr/Manifest
@@ -1 +1,2 @@
 DIST xdr-3.0.1.gem 24576 BLAKE2B e8518e0d25981462aa1b716e16418c8a0e850a10c3be36b3c542893cd0a75968a13209c82002bf43ee25106b161708159c9c16ac492f32b1dc72c1c52aa7169f SHA512 22911bd41b6a6999f9c231c09d4b4ae731a0b38c5e588be9624ae461fc3099615a20c4f0ac4a2cd614e71104b35974727770ffcbe066ae5f1c12f246fa05e5a5
+DIST xdr-3.0.2.tar.gz 22656 BLAKE2B f541f7ad210d21c0cbb154b9d7ac1593a444d771ac604844bd7458da8fcaad8c64c7249175d98b4c12afaf86501004fa42e0b89c22f70d10bf1771816e94e28f SHA512 76de3f9c9d005f366d36b5063300ad4bd2b2c6d6f7e185b5ceb62ad0e00a864c3859831d13932f403bf08ee0ac73b8ba83c895207b4ce2c41456e4f53f0fc495

diff --git a/dev-ruby/xdr/xdr-3.0.2.ebuild b/dev-ruby/xdr/xdr-3.0.2.ebuild
new file mode 100644
index 000000000000..72c33e1ec604
--- /dev/null
+++ b/dev-ruby/xdr/xdr-3.0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+RUBY_FAKEGEM_GEMSPEC="xdr.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Read/write XDR encoded data structures"
+HOMEPAGE="https://github.com/astroband/ruby-xdr"
+SRC_URI="https://github.com/astroband/ruby-xdr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-${P}"
+
+LICENSE="Apache-2.0"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/activemodel-5.2.0:*
+	>=dev-ruby/activesupport-5.2.0:*"
+
+all_ruby_prepare() {
+	sed -i -e '/bundler/,/pry/ s:^:#:' spec/spec_helper.rb || die
+
+	sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}