Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-benchmarks/ltp: ltp-20150119.ebuild ChangeLog
Date: Tue, 03 Mar 2015 22:55:45
Message-Id: 20150303225541.495A012FAE@oystercatcher.gentoo.org
1 hwoarang 15/03/03 22:55:41
2
3 Modified: ChangeLog
4 Added: ltp-20150119.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.28 app-benchmarks/ltp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 6 Sep 2014 08:19:33 -0000 1.27
24 +++ ChangeLog 3 Mar 2015 22:55:41 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-benchmarks/ltp
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.27 2014/09/06 08:19:33 hwoarang Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.28 2015/03/03 22:55:41 hwoarang Exp $
31 +
32 +*ltp-20150119 (03 Mar 2015)
33 +
34 + 03 Mar 2015; Markos Chandras <hwoarang@g.o> +ltp-20150119.ebuild:
35 + Version bump
36
37 06 Sep 2014; Markos Chandras <hwoarang@g.o> ltp-20140828.ebuild:
38 Fix dodoc. Bug #522156
39
40
41
42 1.1 app-benchmarks/ltp/ltp-20150119.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ltp-20150119.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ltp-20150119.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ltp-20150119.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20150119.ebuild,v 1.1 2015/03/03 22:55:41 hwoarang Exp $
52
53 EAPI="5"
54
55 inherit autotools eutils readme.gentoo
56
57 MY_PN="${PN}-full"
58 MY_P="${MY_PN}-${PV}"
59
60 DESCRIPTION="A testsuite for the linux kernel"
61 HOMEPAGE="http://ltp.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/ltp/LTP%20Source/${P}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
63 LICENSE="GPL-2"
64 SLOT="0"
65
66 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
67 IUSE="expect perl pm open-posix python rt"
68
69 DEPEND="expect? ( dev-tcltk/expect )
70 perl? ( dev-lang/perl )
71 python? ( dev-lang/python )"
72
73 RESTRICT="test"
74
75 S="${WORKDIR}"/${MY_P}
76
77 pkg_setup() {
78 # Don't create groups
79 export CREATE=0
80
81 DOC_CONTENTS="LTP requires root access to run the tests.
82 The LTP root directory is located in /opt/${PN}.
83 For more information please read the ltp-howto located in
84 /usr/share/doc/${PF}"
85 }
86
87 src_prepare() {
88 # regenerate
89 AT_M4DIR="m4" eautoreconf
90 }
91
92 src_configure() {
93 # FIXME: improve me
94 local myconf=
95 use open-posix && myconf+="--with-open-posix-testsuite "
96 use pm && mytconf+="--with-power-management-testsuite "
97 use rt && myconf+="--with-realtime-testsuite "
98 use perl && myconf+="--with-perl "
99 use python && myconf+="--with-python "
100 use expect && myconf+="--with-expect "
101 # Prevent any kernel stuff for now as it leads to sandbox violations
102 myconf+="--without-modules --with-linux-dir=/dev/null"
103
104 # Better put it into /opt/${PN} as everything needs to
105 # be under the same directory..
106
107 econf --prefix=/opt/${PN} ${myconf}
108 }
109
110 src_compile() {
111 # Posix testsuite does not seem to build with -j>1
112 # Is this maintained anymore?
113 if use open-posix; then
114 export MAKEOPTS="-j1"
115 fi
116 emake
117 }
118
119 src_install() {
120 default
121 dosym /usr/libexec/${PN}/runltp /usr/bin/runltp
122 # install docs
123 dodoc doc/MaintNotes
124 for txt in doc/*.txt; do
125 dodoc ${txt}
126 done
127 dodoc -r doc/testcases
128 dohtml -r doc/automation-*.html
129 doman doc/man1/*.1
130 doman doc/man3/*.3
131 readme.gentoo_create_doc
132 }