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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C28BA158092 for ; Fri, 17 Sep 2021 14:46:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8B7BE083D; Fri, 17 Sep 2021 14:46:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB5CAE083D for ; Fri, 17 Sep 2021 14:46:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CACA63430D5 for ; Fri, 17 Sep 2021 14:46:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D073DBE for ; Fri, 17 Sep 2021 14:46:07 +0000 (UTC) From: "Alice Ferrazzi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alice Ferrazzi" Message-ID: <1631889946.65759cecc711840bdce4dba979e2e9094706a56b.alicef@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/tiobench/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/tiobench/Manifest app-benchmarks/tiobench/metadata.xml app-benchmarks/tiobench/tiobench-0.5.0.ebuild X-VCS-Directories: app-benchmarks/tiobench/ X-VCS-Committer: alicef X-VCS-Committer-Name: Alice Ferrazzi X-VCS-Revision: 65759cecc711840bdce4dba979e2e9094706a56b X-VCS-Branch: master Date: Fri, 17 Sep 2021 14:46:07 +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: 74c851e8-99ac-486a-ac32-14b81f44992f X-Archives-Hash: f81ca8fc717177aebd16228b2617e452 commit: 65759cecc711840bdce4dba979e2e9094706a56b Author: Alice Ferrazzi gentoo org> AuthorDate: Fri Sep 17 14:45:21 2021 +0000 Commit: Alice Ferrazzi gentoo org> CommitDate: Fri Sep 17 14:45:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65759cec app-benchmarks/tiobench: bump to v0.5.0 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Alice Ferrazzi gentoo.org> app-benchmarks/tiobench/Manifest | 1 + app-benchmarks/tiobench/metadata.xml | 3 +-- app-benchmarks/tiobench/tiobench-0.5.0.ebuild | 39 +++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/app-benchmarks/tiobench/Manifest b/app-benchmarks/tiobench/Manifest index 2321aa9ff08..6daa7daf8e3 100644 --- a/app-benchmarks/tiobench/Manifest +++ b/app-benchmarks/tiobench/Manifest @@ -1 +1,2 @@ DIST tiobench-0.4.2.tar.gz 32182 BLAKE2B f3c0f78daac0dc8c38de2049f8edfce7443fb43a6aacf31a0b5c12abf80ec0ae4c03b1bd25f954db261027c16dfb73fdffe970a730a853caf25763579c2e7170 SHA512 02e82d86ee889a366c1a00d4fb49f63d926e44ba6e2f297212479a5c13abe008b62c12d44483de7e971b5ebf875d5c07847f1d69dd11b2e87a050e27d8f9f09f +DIST tiobench-0.5.0.tar.gz 32897 BLAKE2B 31abe72515b8fe9c846fb8406d47292a8068ab27a6a37d3544a65a84174c6e301e19b95740896e45689ffc2dbb5b12a0927ff5147f98f8b7820bba411957239c SHA512 5e21555b4f76153537eda3e2eb4a22e40b7223870126aee64e78f9ee417b9ba8555f186b46c1e1d71b15c8512970295d57029da4ae0ce438785476ce27d7c0b5 diff --git a/app-benchmarks/tiobench/metadata.xml b/app-benchmarks/tiobench/metadata.xml index 2dc327a7e02..d8b70044e05 100644 --- a/app-benchmarks/tiobench/metadata.xml +++ b/app-benchmarks/tiobench/metadata.xml @@ -6,7 +6,6 @@ Alice Ferrazzi - mkuoppal/tiobench - tiobench + aliceinwire/tiobench diff --git a/app-benchmarks/tiobench/tiobench-0.5.0.ebuild b/app-benchmarks/tiobench/tiobench-0.5.0.ebuild new file mode 100644 index 00000000000..fdccf6c88e2 --- /dev/null +++ b/app-benchmarks/tiobench/tiobench-0.5.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Portable, robust, fully-threaded I/O benchmark program" +HOMEPAGE="https://github.com/aliceinwire/tiobench" +SRC_URI="https://github.com/aliceinwire/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND="dev-lang/perl" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i \ + -e "s:/usr/local/bin:${EPREFIX}/usr/sbin:" tiobench.pl \ + || die "sed tiobench.pl failed" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LINK="$(tc-getCC)" \ + DEFINES="-DLARGEFILES" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dosbin tiotest tiobench.pl scripts/tiosum.pl + einstalldocs +}