Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
Date: Sat, 12 Jun 2021 04:47:34
Message-Id: 1623473050.62de2001a767b918eb0b9e63847b3d1a70a1d84d.sam@gentoo
1 commit: 62de2001a767b918eb0b9e63847b3d1a70a1d84d
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 12 04:44:10 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 12 04:44:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62de2001
7
8 app-benchmarks/ioping: add 1.2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-benchmarks/ioping/Manifest | 1 +
13 app-benchmarks/ioping/ioping-1.2.ebuild | 30 ++++++++++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest
17 index eb34bea7266..9d246c51f90 100644
18 --- a/app-benchmarks/ioping/Manifest
19 +++ b/app-benchmarks/ioping/Manifest
20 @@ -1 +1,2 @@
21 DIST ioping-1.1.tar.gz 29251 BLAKE2B 2f0ec642c3545b8e603f90187f48bf44e1ef665a99bc04af4d5e6441016c9509875e8e05c1cc8715fd080c8a498c7374cf5db562a3203d7075edbe85683ccdbb SHA512 67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201
22 +DIST ioping-1.2.tar.gz 30819 BLAKE2B 5f46ee783d51e4bea88a6036fba97c053e507f53183344d17fbfa6dd304d6cb76737ccff23c46ccce1fff8107d94e4e192264a3bf22062a7ea96b2a4475fb311 SHA512 4029f1b50dc292734088dc741e594c56021610aad16a0b9f42875b5fe91fbdf8d566a41dab0384aa739350f74e62688efdaf88168ab0d838b9c848ddd1c5dd96
23
24 diff --git a/app-benchmarks/ioping/ioping-1.2.ebuild b/app-benchmarks/ioping/ioping-1.2.ebuild
25 new file mode 100644
26 index 00000000000..7a53e98ef21
27 --- /dev/null
28 +++ b/app-benchmarks/ioping/ioping-1.2.ebuild
29 @@ -0,0 +1,30 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit toolchain-funcs
36 +
37 +DESCRIPTION="Simple disk I/0 latency measuring tool"
38 +HOMEPAGE="https://github.com/koct9i/ioping"
39 +SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-3"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
44 +IUSE="netdata"
45 +
46 +src_prepare() {
47 + use netdata && eapply "${FILESDIR}/${P}-netdata.patch"
48 + eapply_user
49 +}
50 +
51 +src_configure() {
52 + tc-export CC
53 +}
54 +
55 +src_install() {
56 + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
57 +
58 + dodoc changelog README.md
59 +}