Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-block/parted: ChangeLog parted-3.2.ebuild
Date: Tue, 29 Jul 2014 18:16:23
Message-Id: 20140729181616.72A082004E@flycatcher.gentoo.org
1 jer 14/07/29 18:16:15
2
3 Modified: ChangeLog parted-3.2.ebuild
4 Log:
5 Clean up ebuild.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.48 sys-block/parted/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.48&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.48&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?r1=1.47&r2=1.48
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v
19 retrieving revision 1.47
20 retrieving revision 1.48
21 diff -u -r1.47 -r1.48
22 --- ChangeLog 29 Jul 2014 17:14:10 -0000 1.47
23 +++ ChangeLog 29 Jul 2014 18:16:15 -0000 1.48
24 @@ -1,6 +1,9 @@
25 # ChangeLog for sys-block/parted
26 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.47 2014/07/29 17:14:10 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.48 2014/07/29 18:16:15 jer Exp $
29 +
30 + 29 Jul 2014; Jeroen Roovers <jer@g.o> parted-3.2.ebuild:
31 + Clean up ebuild.
32
33 *parted-3.2 (29 Jul 2014)
34
35
36
37
38 1.2 sys-block/parted/parted-3.2.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.2.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.2.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.2.ebuild?r1=1.1&r2=1.2
43
44 Index: parted-3.2.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.2.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- parted-3.2.ebuild 29 Jul 2014 17:14:10 -0000 1.1
51 +++ parted-3.2.ebuild 29 Jul 2014 18:16:15 -0000 1.2
52 @@ -1,8 +1,8 @@
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.2.ebuild,v 1.1 2014/07/29 17:14:10 jer Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.2.ebuild,v 1.2 2014/07/29 18:16:15 jer Exp $
57
58 -EAPI="4"
59 +EAPI=5
60
61 inherit autotools eutils
62
63 @@ -36,15 +36,19 @@
64
65 src_prepare() {
66 # Remove tests known to FAIL instead of SKIP without OS/userland support
67 - sed -i libparted/tests/Makefile.am \
68 - -e 's|t3000-symlink.sh||g' || die "sed failed"
69 - sed -i tests/Makefile.am \
70 - -e '/t4100-msdos-partition-limits.sh/d' \
71 + sed -i \
72 + -e 's|t3000-symlink.sh||g' \
73 + libparted/tests/Makefile.am || die
74 +
75 + sed -i \
76 -e '/t4100-dvh-partition-limits.sh/d' \
77 - -e '/t6000-dm.sh/d' || die "sed failed"
78 - # there is no configure flag for controlling the dev-libs/check test
79 - sed -i configure.ac \
80 - -e "s:have_check=[a-z]*:have_check=$(usex test):g" || die
81 + -e '/t4100-msdos-partition-limits.sh/d' \
82 + -e '/t6000-dm.sh/d' \
83 + tests/Makefile.am || die
84 + # There is no configure flag for controlling the dev-libs/check test
85 + sed -i \
86 + -e "s:have_check=[a-z]*:have_check=$(usex test):g" \
87 + configure.ac || die
88
89 epatch "${FILESDIR}"/${PN}-3.2-devmapper.patch
90
91 @@ -65,17 +69,14 @@
92
93 src_test() {
94 if use debug; then
95 - # Do not die when tests fail - some requirements are not
96 - # properly checked and should not lead to the ebuild failing.
97 emake check
98 else
99 - ewarn "Skipping tests because USE=-debug is set."
100 + ewarn "Skipping tests because USE=-debug is set"
101 fi
102 }
103 +DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} )
104
105 src_install() {
106 - emake install DESTDIR="${D}"
107 - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
108 - dodoc doc/{API,FAT,USER.jp}
109 - find "${ED}" -name '*.la' -exec rm -f {} +
110 + default
111 + prune_libtool_files
112 }