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.0.ebuild
Date: Tue, 31 May 2011 00:34:16
Message-Id: 20110531003405.2BCA520054@flycatcher.gentoo.org
1 jer 11/05/31 00:34:05
2
3 Modified: ChangeLog
4 Added: parted-3.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 sys-block/parted/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 19 May 2011 03:25:57 -0000 1.6
24 +++ ChangeLog 31 May 2011 00:34:05 -0000 1.7
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-block/parted
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.6 2011/05/19 03:25:57 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.7 2011/05/31 00:34:05 jer Exp $
30 +
31 +*parted-3.0 (31 May 2011)
32 +
33 + 31 May 2011; Jeroen Roovers <jer@g.o> +parted-3.0.ebuild:
34 + Version bump.
35
36 *parted-2.4 (19 May 2011)
37
38
39
40
41 1.1 sys-block/parted/parted-3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: parted-3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.0.ebuild,v 1.1 2011/05/31 00:34:05 jer Exp $
51
52 EAPI="3"
53
54 WANT_AUTOMAKE="1.11"
55
56 inherit autotools eutils
57
58 DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
59 HOMEPAGE="http://www.gnu.org/software/parted"
60 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
65 IUSE="+debug device-mapper nls readline selinux static-libs"
66
67 # specific version for gettext needed
68 # to fix bug 85999
69 RDEPEND="
70 >=sys-fs/e2fsprogs-1.27
71 >=sys-libs/ncurses-5.2
72 nls? ( >=sys-devel/gettext-0.12.1-r2 )
73 readline? ( >=sys-libs/readline-5.2 )
74 selinux? ( sys-libs/libselinux )
75 device-mapper? ( || ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper ) )
76 "
77 DEPEND="
78 ${RDEPEND}
79 dev-util/pkgconfig
80 "
81
82 src_prepare() {
83 # Remove tests known to FAIL instead of SKIP without OS/userland support
84 sed -i libparted/tests/Makefile.am \
85 -e 's|t3000-symlink.sh||g' || die "sed failed"
86 sed -i tests/Makefile.am \
87 -e '/t4100-msdos-partition-limits.sh/d' \
88 -e '/t4100-dvh-partition-limits.sh/d' \
89 -e '/t6000-dm.sh/d' || die "sed failed"
90
91 eautoreconf
92 }
93
94 src_configure() {
95 econf \
96 $(use_with readline) \
97 $(use_enable nls) \
98 $(use_enable debug) \
99 $(use_enable selinux) \
100 $(use_enable device-mapper) \
101 $(use_enable static-libs static) \
102 --disable-rpath \
103 || die "Configure failed"
104 }
105
106 src_test() {
107 if use debug; then
108 # Do not die when tests fail - some requirements are not
109 # properly checked and should not lead to the ebuild failing.
110 emake check
111 else
112 ewarn "Skipping tests because USE=-debug is set."
113 fi
114 }
115
116 src_install() {
117 emake install DESTDIR="${D}" || die "Install failed"
118 dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
119 dodoc doc/{API,FAT,USER.jp}
120 find "${ED}" -name '*.la' -exec rm -f '{}' +
121 }