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: parted-3.1.ebuild ChangeLog
Date: Sun, 04 Mar 2012 18:23:31
Message-Id: 20120304182321.4C5642004B@flycatcher.gentoo.org
1 jer 12/03/04 18:23:21
2
3 Modified: ChangeLog
4 Added: parted-3.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.15 sys-block/parted/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 26 Jan 2012 13:44:06 -0000 1.14
24 +++ ChangeLog 4 Mar 2012 18:23:21 -0000 1.15
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-block/parted
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.14 2012/01/26 13:44:06 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.15 2012/03/04 18:23:21 jer Exp $
30 +
31 +*parted-3.1 (04 Mar 2012)
32 +
33 + 04 Mar 2012; Jeroen Roovers <jer@g.o> +parted-3.1.ebuild:
34 + Version bump.
35
36 26 Jan 2012; Samuli Suominen <ssuominen@g.o> parted-3.0.ebuild:
37 ppc/ppc64 stable wrt #385221
38
39
40
41 1.1 sys-block/parted/parted-3.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/parted/parted-3.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: parted-3.1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.1.ebuild,v 1.1 2012/03/04 18:23:21 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 test"
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 test? ( >=dev-libs/check-0.9.3 )
81 "
82
83 src_prepare() {
84 # Remove tests known to FAIL instead of SKIP without OS/userland support
85 sed -i libparted/tests/Makefile.am \
86 -e 's|t3000-symlink.sh||g' || die "sed failed"
87 sed -i tests/Makefile.am \
88 -e '/t4100-msdos-partition-limits.sh/d' \
89 -e '/t4100-dvh-partition-limits.sh/d' \
90 -e '/t6000-dm.sh/d' || die "sed failed"
91 # there is no configure flag for controlling the dev-libs/check test
92 sed -i configure.ac \
93 -e "s:have_check=[a-z]*:have_check=$(usex test):g" || die
94
95 eautoreconf
96 }
97
98 src_configure() {
99 econf \
100 $(use_with readline) \
101 $(use_enable nls) \
102 $(use_enable debug) \
103 $(use_enable selinux) \
104 $(use_enable device-mapper) \
105 $(use_enable static-libs static) \
106 --disable-rpath
107 }
108
109 src_test() {
110 if use debug; then
111 # Do not die when tests fail - some requirements are not
112 # properly checked and should not lead to the ebuild failing.
113 emake check
114 else
115 ewarn "Skipping tests because USE=-debug is set."
116 fi
117 }
118
119 src_install() {
120 emake install DESTDIR="${D}" || die "Install failed"
121 dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
122 dodoc doc/{API,FAT,USER.jp}
123 find "${ED}" -name '*.la' -exec rm -f '{}' +
124 }