Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-benchmarks/stress: ChangeLog stress-1.0.4.ebuild
Date: Mon, 03 Jun 2013 19:23:25
Message-Id: 20130603192321.B7ABA2171D@flycatcher.gentoo.org
1 radhermit 13/06/03 19:23:21
2
3 Modified: ChangeLog stress-1.0.4.ebuild
4 Log:
5 Update to EAPI 4 and remove old, unnecessary workarounds.
6
7 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
8
9 Revision Changes Path
10 1.48 app-benchmarks/stress/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/stress/ChangeLog?rev=1.48&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/stress/ChangeLog?rev=1.48&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/stress/ChangeLog?r1=1.47&r2=1.48
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v
19 retrieving revision 1.47
20 retrieving revision 1.48
21 diff -u -r1.47 -r1.48
22 --- ChangeLog 18 Dec 2011 20:14:08 -0000 1.47
23 +++ ChangeLog 3 Jun 2013 19:23:21 -0000 1.48
24 @@ -1,6 +1,9 @@
25 # ChangeLog for app-benchmarks/stress
26 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v 1.47 2011/12/18 20:14:08 phajdan.jr Exp $
28 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v 1.48 2013/06/03 19:23:21 radhermit Exp $
30 +
31 + 03 Jun 2013; Tim Harder <radhermit@g.o> stress-1.0.4.ebuild:
32 + Update to EAPI 4 and remove old, unnecessary workarounds.
33
34 18 Dec 2011; Pawel Hajdan jr <phajdan.jr@g.o> stress-1.0.4.ebuild:
35 x86 stable wrt bug #393701
36
37
38
39 1.4 app-benchmarks/stress/stress-1.0.4.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild?rev=1.4&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild?rev=1.4&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild?r1=1.3&r2=1.4
44
45 Index: stress-1.0.4.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild,v
48 retrieving revision 1.3
49 retrieving revision 1.4
50 diff -u -r1.3 -r1.4
51 --- stress-1.0.4.ebuild 18 Dec 2011 20:14:08 -0000 1.3
52 +++ stress-1.0.4.ebuild 3 Jun 2013 19:23:21 -0000 1.4
53 @@ -1,11 +1,12 @@
54 -# Copyright 1999-2011 Gentoo Foundation
55 +# Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild,v 1.3 2011/12/18 20:14:08 phajdan.jr Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild,v 1.4 2013/06/03 19:23:21 radhermit Exp $
59
60 -inherit autotools flag-o-matic
61 +EAPI=4
62
63 -MY_P="${PN}-${PV/_/}"
64 -S="${WORKDIR}/${MY_P}"
65 +inherit flag-o-matic
66 +
67 +MY_P=${PN}-${PV/_/}
68 DESCRIPTION="Imposes stressful loads on different aspects of the system."
69 HOMEPAGE="http://weather.ou.edu/~apw/projects/stress"
70 SRC_URI="http://weather.ou.edu/~apw/projects/stress/${MY_P}.tar.gz"
71 @@ -15,31 +16,8 @@
72 KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 ~sparc x86"
73 IUSE="static"
74
75 -DEPEND="sys-apps/help2man"
76 -RDEPEND=""
77 -
78 -src_unpack() {
79 - unpack ${A}
80 - cd "${S}"
81 -
82 - # Force rebuild of the manpage.
83 - rm -f doc/stress.1
84 -
85 - # Honour Gentoo CFLAGS.
86 - sed -i -e "/CFLAGS/s/-Werror//" \
87 - -e "s/CFLAGS/AM_CFLAGS/" \
88 - src/Makefile.am || die "sed cflags failed"
89 -
90 - eautoreconf
91 -}
92 +S=${WORKDIR}/${MY_P}
93
94 -src_compile() {
95 +src_prepare() {
96 use static && append-ldflags -static
97 - econf
98 - emake || die "emake failed"
99 -}
100 -
101 -src_install() {
102 - emake DESTDIR="${D}" install || die "emake install failed"
103 - dodoc ChangeLog AUTHORS README
104 }