From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 E79C7158089 for ; Sun, 10 Sep 2023 09:53:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2ABE12BC015; Sun, 10 Sep 2023 09:53:38 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14F6B2BC015 for ; Sun, 10 Sep 2023 09:53:38 +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 F072C335CDF for ; Sun, 10 Sep 2023 09:53:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72E8F10AD for ; Sun, 10 Sep 2023 09:53:35 +0000 (UTC) From: "Hans de Graaff" 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" Message-ID: <1694339611.e8813ba31b801b8c5c790790667654c4bf751312.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/pairing_heap/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/pairing_heap/pairing_heap-3.0.1-r1.ebuild X-VCS-Directories: dev-ruby/pairing_heap/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e8813ba31b801b8c5c790790667654c4bf751312 X-VCS-Branch: master Date: Sun, 10 Sep 2023 09:53:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 58faabcd-1207-4bb7-a733-e2c45aaa302a X-Archives-Hash: 6bdd5c895cf2715644e60bc0b4b512ec commit: e8813ba31b801b8c5c790790667654c4bf751312 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 10 09:49:24 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 10 09:53:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8813ba3 dev-ruby/pairing_heap: add missing test dependency Closes: https://bugs.gentoo.org/912576 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/pairing_heap/pairing_heap-3.0.1-r1.ebuild | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-ruby/pairing_heap/pairing_heap-3.0.1-r1.ebuild b/dev-ruby/pairing_heap/pairing_heap-3.0.1-r1.ebuild new file mode 100644 index 000000000000..146c90eeb3a9 --- /dev/null +++ b/dev-ruby/pairing_heap/pairing_heap-3.0.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="pairing_heap.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Performant priority queue with support for changing priority" +HOMEPAGE="https://github.com/mhib/pairing_heap" +SRC_URI="https://github.com/mhib/pairing_heap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# We normally patch out simplecov but the test suite does not work +# correctly without it. +ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/simplecov )" + +all_ruby_prepare() { + sed -i -e '/require.*\(bundler\|standard\)/ s:^:#:' Rakefile || die + + sed -e 's:_relative ": "./:' \ + -e 's/__dir__/"."/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +}