Handle implicit dev-libs/check dep via USE=test.
authorMike Frysinger <vapier@gentoo.org>
Tue, 10 Jan 2012 00:17:52 +0000 (00:17 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 10 Jan 2012 00:17:52 +0000 (00:17 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

sys-block/parted/ChangeLog
sys-block/parted/Manifest
sys-block/parted/parted-3.0.ebuild

index ab1e07e6b245c0f632066f462964186af3d3e6fc..e3bc692ea827d90c65935dbc20c3ca86654a2a5c 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for sys-block/parted
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.12 2011/11/26 18:09:50 armin76 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.13 2012/01/10 00:17:52 vapier Exp $
+
+  10 Jan 2012; Mike Frysinger <vapier@gentoo.org> parted-3.0.ebuild:
+  Handle implicit dev-libs/check dep via USE=test.
 
   26 Nov 2011; Raúl Porcel <armin76@gentoo.org> parted-3.0.ebuild:
   alpha/ia64/s390/sh/sparc stable wrt #385221
index 356c271fede9dc2d102cfb7407d0bfb7cd691671..97309d83602bdb1f686e232d2f174f1575fd510b 100644 (file)
@@ -10,13 +10,23 @@ EBUILD parted-2.3-r1.ebuild 1969 RMD160 80d011b6d869f7e861bd3b919dde029ed317b96a
 EBUILD parted-2.3-r2.ebuild 2061 RMD160 27565340c108aaefb5ef0a1ed4a3e0dd44d819d4 SHA1 f40b524130beec1e55d269a0b7357f4b8fe94727 SHA256 74c6198c5423be6eaeb376094cb335ca1c8df2e3f374710a461a56c56a842b03
 EBUILD parted-2.3.ebuild 1894 RMD160 f4b86e3a28d8aeaaeb39af291c62279227d61348 SHA1 ef4f4740b1efd7c592ae343eb7393031e13f2e0a SHA256 fcb3b4a9b336f1b6510b6871ca6c05a4be13709d4b7ea680c426a2ec90531214
 EBUILD parted-2.4.ebuild 2000 RMD160 257b626d43c90a8d8b460b20d25c73484e06e67a SHA1 3f55698880e85a4af92706df3cb2d79dd699f9fc SHA256 7bbe9f2a5670eb1f12945bab359e800a78a61292889dbb7f33db27e70092b2fc
-EBUILD parted-3.0.ebuild 1978 RMD160 69b6e3405af3502c5919758fcfd05211d9cde095 SHA1 4b74d85e0ca12b3a12c7ed24e208435bd3746f9c SHA256 f35cf8464f113e59a79d2d5528881ee81aaec510a234ef3be48780562b356433
-MISC ChangeLog 23399 RMD160 d591bd3ef5f515206b791947c326edeaa7a9b7da SHA1 8df639c7b6574d556eefa5868d57cdabf579f8a4 SHA256 48153171e09b5a70dc051bad5ad475fbcb3a59704eb585b90426b21f170e8c97
+EBUILD parted-3.0.ebuild 2139 RMD160 a8200d81c536da7e428b683af51a54f64d0dbee5 SHA1 ae5e07c0e156e7c0617e14445fb48471d836ac2f SHA256 08de0d135709e332da6ea916a95ac687fc4e49f48403b3fbe8e771b85b85cf7f
+MISC ChangeLog 23519 RMD160 13241d00cc5dc26907053c16320d3f3c46e9d06a SHA1 c85bd0d1d014089250d1c5d7e7663dd6a274cdda SHA256 1ecb215d5d6404539d27e3dc001eb28ee5afdc709027600d7b57e6aa9f722092
 MISC metadata.xml 644 RMD160 42deac3c811b5acc573f7811be6d41783b7dd328 SHA1 bc79bf40569046bb560cc84c431e13caa393aa12 SHA256 53ecb92c7d1e15c7b950ca3cd13bb949830f317ad01df6d3f564b7b24a0a02f0
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
 
-iEYEARECAAYFAk7RK3UACgkQuQc30/atMkCdrwCguyr1x3maWe2e0v0IixuSepMf
-/WkAoLB2kVadw0BGtqk5LGnzAYrMoHNC
-=GyxY
+iQIcBAEBAgAGBQJPC4O4AAoJELEHsLL7fEFWJgYP/j/jq9bN67lUkQYzhU1geG73
+Lr6A7xyQjvTFCctUW9TWJSKSfjF/sHyd+rAQd560qLXM7uaI7pkmN77OhrtzRmYw
+aVgoWKDcTBFGIq8JPqOIFjEF9tbpZVSLpzQ9RjJVWnuvwhgtYPvM162eNjy/CxJb
+bWlAgPQUuHwaqvcALvWZ9LOVYhKvQ/mGGCh/VSxD/uFlmqAtzHw/aOELLI4bxVds
+JYhp5fMPrPyHsM5BwdxY7Oe/vY5EIJ3g3WV2adYKSulZQWeIe1169tZG4r7BoRwF
+1G0cbqRhvaT7VKEsceHFTDUsBvpO7COBY546Nm7ToVv4KE46StwSOWFN8LWeN+BZ
+0e1wk6OMYqVKAX20XcoeTaeEE7lrKjFnOyzJ0In+ULStHJ+C5NkYalYneaYe38/P
+XrF9gVyCnJmuDeTPCdor0RCHaS2iXdhOw2Y8tZeN+cpx/lRiyKbt6qVMa/pRSoRx
+uWakf3rbQXloDgY9kuvNBwex9aT7wnVX179y8h33r4N08APn6WEVRW9cVCzx373j
++nqUQIJ5AulOmwBMn8DyWWj5pzCN9IVNyf3Bf3VuDXZIMAKiSIfIGj3bwl3BNX9K
+DCny87PpfxtcC6k5vyJ4iLYyqf4apPhBV8qy1xpu1Q8aTSO3eTo4YzYb2cHCpgAH
+Yx0cR7jHj6QRkTDXH0w/
+=ZNIh
 -----END PGP SIGNATURE-----
index 9438d35b5f2d92d32f243308146dd97d8611413d..138b6ebe863da421e9cefecd3e088acb4b2fd766 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.0.ebuild,v 1.6 2011/11/26 18:09:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-3.0.ebuild,v 1.7 2012/01/10 00:17:52 vapier Exp $
 
 EAPI="3"
 
@@ -15,7 +15,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86"
-IUSE="+debug device-mapper nls readline selinux static-libs"
+IUSE="+debug device-mapper nls readline selinux static-libs test"
 
 # specific version for gettext needed
 # to fix bug 85999
@@ -30,6 +30,7 @@ RDEPEND="
 DEPEND="
        ${RDEPEND}
        dev-util/pkgconfig
+       test? ( >=dev-libs/check-0.9.3 )
 "
 
 src_prepare() {
@@ -40,6 +41,9 @@ src_prepare() {
                -e '/t4100-msdos-partition-limits.sh/d' \
                -e '/t4100-dvh-partition-limits.sh/d' \
                -e '/t6000-dm.sh/d' || die "sed failed"
+       # there is no configure flag for controlling the dev-libs/check test
+       sed -i configure.ac \
+               -e "s:have_check=[a-z]*:have_check=$(usex test):g" || die
 
        eautoreconf
 }
@@ -52,8 +56,7 @@ src_configure() {
                $(use_enable selinux) \
                $(use_enable device-mapper) \
                $(use_enable static-libs static) \
-               --disable-rpath \
-               || die "Configure failed"
+               --disable-rpath
 }
 
 src_test() {