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 3BBC6158083 for ; Mon, 9 Sep 2024 05:38:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36FC0E29E6; Mon, 9 Sep 2024 05:38:09 +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 02E67E29E5 for ; Mon, 9 Sep 2024 05:38:09 +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 EA4AB3430A2 for ; Mon, 9 Sep 2024 05:38:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A7BA1F24 for ; Mon, 9 Sep 2024 05:38:06 +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: <1725860276.c40ff2467493abf573ceb13cf1efac4ef76e4667.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/benchmark-ips/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/benchmark-ips/Manifest dev-ruby/benchmark-ips/benchmark-ips-2.14.0.ebuild X-VCS-Directories: dev-ruby/benchmark-ips/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c40ff2467493abf573ceb13cf1efac4ef76e4667 X-VCS-Branch: master Date: Mon, 9 Sep 2024 05:38:06 +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: 4553feb0-bb94-43e0-8c82-3ad727be965b X-Archives-Hash: 062c680f9a4ee4651006f1ac547359e0 commit: c40ff2467493abf573ceb13cf1efac4ef76e4667 Author: Hans de Graaff gentoo org> AuthorDate: Mon Sep 9 05:35:57 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Sep 9 05:37:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40ff246 dev-ruby/benchmark-ips: add 2.14.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/benchmark-ips/Manifest | 1 + dev-ruby/benchmark-ips/benchmark-ips-2.14.0.ebuild | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-ruby/benchmark-ips/Manifest b/dev-ruby/benchmark-ips/Manifest index 180ffe448ddf..2b6aefc79d83 100644 --- a/dev-ruby/benchmark-ips/Manifest +++ b/dev-ruby/benchmark-ips/Manifest @@ -1,2 +1,3 @@ DIST benchmark-ips-2.12.0.tar.gz 20676 BLAKE2B 1473fb8cc42d62cf6b7206d91c9d959707109e3ade9d712d82ab5ccfdcc48bb4874bae4c37370561aa60fe8c99078564a22a5a216daa6b870015329db1094af1 SHA512 ad4a7133b73d3ead583513704cbf00ef858b7fc5477686d3841614f05a83f3b4551b1fcab78e9a8affe7c8487112d9fde5012bf8a8e13621d289d792ff27c061 DIST benchmark-ips-2.13.0.tar.gz 20781 BLAKE2B 61a04395559a75b012c168345926f0f92954453081da4a0280b99f95f91c66633b04f99caf485a2b35036428719149154792e463cf7b4f6ab57c176506456235 SHA512 a167dbd4ecaf233c36da7cbfb2283447124ef190b174dc4f9f3281bf4de01b86044e55972fd25560b2612b1eed329e6f2d737f16d2e0961e04fce861b64a747f +DIST benchmark-ips-2.14.0.tar.gz 22007 BLAKE2B c313ac8f3100e35bbe4b179948be249e689b830bc6072897671d9e658bd3b4b58d8c49d6eed3131e9bbb5e3d22249bc91889c584c6f0a6a9775a7789bda43b49 SHA512 fadea7a0a3a040d90f8b4d085e6a416c0f61f83cfbfd6d62a3d0bbb91309f615f30ec616761b1fe6c52114b7d65de07d8f35049281cec6c7de93854a974678a7 diff --git a/dev-ruby/benchmark-ips/benchmark-ips-2.14.0.ebuild b/dev-ruby/benchmark-ips/benchmark-ips-2.14.0.ebuild new file mode 100644 index 000000000000..cfd793ca72c1 --- /dev/null +++ b/dev-ruby/benchmark-ips/benchmark-ips-2.14.0.ebuild @@ -0,0 +1,30 @@ +# 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_EXTRADOC="History.md README.md" +RUBY_FAKEGEM_GEMSPEC="benchmark-ips.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A iterations per second enhancement to Benchmark" +HOMEPAGE="https://github.com/evanphx/benchmark-ips" +SRC_URI="https://github.com/evanphx/benchmark-ips/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.6:5 )" + +all_ruby_prepare() { + sed -i -e '1i require "tempfile"' test/test_benchmark_ips.rb || die + sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +}