Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/flac: ChangeLog flac-1.2.1-r3.ebuild
Date: Thu, 03 Jul 2008 21:47:52
Message-Id: E1KEWeY-0000R9-Kq@stork.gentoo.org
1 aballier 08/07/03 21:47:46
2
3 Modified: ChangeLog flac-1.2.1-r3.ebuild
4 Log:
5 Dont needlessly restrict tests, just disable them if running as root as they are expected to fail in that case.
6 (Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64)
7
8 Revision Changes Path
9 1.142 media-libs/flac/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?rev=1.142&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?rev=1.142&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?r1=1.141&r2=1.142
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v
18 retrieving revision 1.141
19 retrieving revision 1.142
20 diff -u -r1.141 -r1.142
21 --- ChangeLog 16 Jun 2008 11:15:01 -0000 1.141
22 +++ ChangeLog 3 Jul 2008 21:47:46 -0000 1.142
23 @@ -1,6 +1,10 @@
24 # ChangeLog for media-libs/flac
25 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.141 2008/06/16 11:15:01 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.142 2008/07/03 21:47:46 aballier Exp $
28 +
29 + 03 Jul 2008; Alexis Ballier <aballier@g.o> flac-1.2.1-r3.ebuild:
30 + Dont needlessly restrict tests, just disable them if running as root as
31 + they are expected to fail in that case.
32
33 16 Jun 2008; Diego Pettenò <flameeyes@g.o>
34 +files/flac-1.2.1-dontbuild-examples.patch,
35
36
37
38 1.4 media-libs/flac/flac-1.2.1-r3.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild?rev=1.4&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild?rev=1.4&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild?r1=1.3&r2=1.4
43
44 Index: flac-1.2.1-r3.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild,v
47 retrieving revision 1.3
48 retrieving revision 1.4
49 diff -u -r1.3 -r1.4
50 --- flac-1.2.1-r3.ebuild 16 Jun 2008 11:15:01 -0000 1.3
51 +++ flac-1.2.1-r3.ebuild 3 Jul 2008 21:47:46 -0000 1.4
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild,v 1.3 2008/06/16 11:15:01 flameeyes Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild,v 1.4 2008/07/03 21:47:46 aballier Exp $
57
58 EAPI=1
59
60 @@ -21,8 +21,6 @@
61 !elibc_uclibc? ( sys-devel/gettext )
62 dev-util/pkgconfig"
63
64 -RESTRICT="test"
65 -
66 PATCHES=( "${FILESDIR}/${P}-asneeded.patch"
67 "${FILESDIR}/${P}-cflags.patch"
68 "${FILESDIR}/${P}-asm.patch"
69 @@ -51,6 +49,14 @@
70 emake || die "emake failed."
71 }
72
73 +src_test() {
74 + if [ $UID != 0 ] ; then
75 + emake check || die "tests failed"
76 + else
77 + ewarn "Tests will fail if ran as root, skipping."
78 + fi
79 +}
80 +
81 src_install() {
82 emake DESTDIR="${D}" install || die "emake install failed."
83
84
85
86
87 --
88 gentoo-commits@l.g.o mailing list