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