Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fabric/qperf/
Date: Sun, 28 Feb 2021 13:57:31
Message-Id: 1614520633.5fca87340c9cec6a9b2972133d02669fe89118f2.soap@gentoo
1 commit: 5fca87340c9cec6a9b2972133d02669fe89118f2
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 28 13:57:13 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 13:57:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fca8734
7
8 sys-fabric/qperf: [QA] Fix garbage ebuild
9
10 * Committed by Patrick Lauer in afdc961612ef66cd9d10452464314c88ade4eb82:
11 - doesn't use GLEP 66
12 - adds eutils
13 - completely garbles metadata/block order
14 - adds literal "v0.4.11.tar.gz"
15 - rdma-core is also needed at runtime
16 - eapply_user after eautoreconf
17 - unnecessary overrides of src_compile/src_install
18
19 Package-Manager: Portage-3.0.16, Repoman-3.0.2
20 Signed-off-by: David Seifert <soap <AT> gentoo.org>
21
22 sys-fabric/qperf/qperf-0.4.11.ebuild | 30 ++++++++++--------------------
23 1 file changed, 10 insertions(+), 20 deletions(-)
24
25 diff --git a/sys-fabric/qperf/qperf-0.4.11.ebuild b/sys-fabric/qperf/qperf-0.4.11.ebuild
26 index 931a85b5553..596a222382b 100644
27 --- a/sys-fabric/qperf/qperf-0.4.11.ebuild
28 +++ b/sys-fabric/qperf/qperf-0.4.11.ebuild
29 @@ -1,34 +1,24 @@
30 # Copyright 1999-2021 Gentoo Authors
31 # Distributed under the terms of the GNU General Public License v2
32
33 -EAPI="7"
34 +EAPI=7
35
36 -inherit eutils autotools
37 +inherit autotools
38
39 +DESCRIPTION="Measure RDMA and IP performance"
40 HOMEPAGE="https://www.openfabrics.org/"
41 -LICENSE="|| ( GPL-2 BSD-2 )"
42 +SRC_URI="https://github.com/linux-rdma/qperf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43
44 -SRC_URI="https://github.com/linux-rdma/qperf/archive/v0.4.11.tar.gz -> ${P}.tar.gz"
45 -DESCRIPTION="Measure RDMA and IP performance"
46 +LICENSE="|| ( GPL-2 BSD-2 )"
47 +SLOT="0"
48 KEYWORDS="~amd64 ~x86 ~amd64-linux"
49 -IUSE=""
50
51 -SLOT=0
52 -DEPEND="
53 - sys-cluster/rdma-core
54 - "
55 +DEPEND="sys-cluster/rdma-core"
56 RDEPEND="
57 - !sys-fabric/openib-userspace"
58 + ${DEPEND}
59 + !sys-fabric/openib-userspace"
60
61 src_prepare() {
62 + default
63 eautoreconf
64 - eapply_user
65 -}
66 -
67 -src_compile() {
68 - emake
69 -}
70 -
71 -src_install() {
72 - emake install DESTDIR="${D}"
73 }