sys-block/parted: Set correct subslot dependency for ncurses
authorJustin Lecher <jlec@gentoo.org>
Fri, 21 Aug 2015 08:40:57 +0000 (10:40 +0200)
committerJustin Lecher <jlec@gentoo.org>
Fri, 21 Aug 2015 09:35:01 +0000 (11:35 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sys-block/parted/metadata.xml
sys-block/parted/parted-2.4.ebuild
sys-block/parted/parted-3.2.ebuild

index 57a676994422cf388c2e75216bc7b74f4cb2cb9c..54903f1e1aa063c0ad0337142689fe6d42ce2ecb 100644 (file)
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>livecd</herd>
-<use>
-       <flag name='device-mapper'>
+       <herd>livecd</herd>
+       <use>
+               <flag name="device-mapper">
        Enable device-mapper support from <pkg>sys-fs/lvm2</pkg> in parted
        </flag>
-       <flag name="debug">
+               <flag name="debug">
        Enable debugging as encouraged by upstream: [The default configuration]
        includes --enable-debug (by default), which contains many assertions.
        Obviously, these "waste" space, but in the past, they have caught
        potentially dangerous bugs before they would have done damage, so we think
        it's worth it.  Also, it means we get more bug reports ;)
        </flag>
-</use>
+       </use>
 </pkgmetadata>
index 2e7ae565ce870f4aaba9aa9a4d9eef89f352d5c1..fe0b0e079f2796238fb47bcec508fb44bd4b7cc9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -19,9 +19,9 @@ RESTRICT="test"
 # to fix bug 85999
 RDEPEND="
        >=sys-fs/e2fsprogs-1.27
-       >=sys-libs/ncurses-5.2
+       >=sys-libs/ncurses-5.2:5=
        device-mapper? ( >=sys-fs/lvm2-2.02.45 )
-       readline? ( >=sys-libs/readline-5.2 )
+       readline? ( >=sys-libs/readline-5.2:0= )
        selinux? ( sys-libs/libselinux )
 "
 DEPEND="
index e89f3eb1673708f50e4502203b6c26d4a95bc4cc..a3a8786b034b48d8c4412c63f3a334096895aeb3 100644 (file)
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI=5
+
 inherit autotools eutils
 
 DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
@@ -19,9 +20,9 @@ RESTRICT="test"
 # to fix bug 85999
 RDEPEND="
        >=sys-fs/e2fsprogs-1.27
-       >=sys-libs/ncurses-5.7-r7
+       >=sys-libs/ncurses-5.7-r7:5=
        device-mapper? ( >=sys-fs/lvm2-2.02.45 )
-       readline? ( >=sys-libs/readline-5.2 )
+       readline? ( >=sys-libs/readline-5.2:0= )
        selinux? ( sys-libs/libselinux )
 "
 DEPEND="
@@ -31,9 +32,9 @@ DEPEND="
 "
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-3.2-devmapper.patch
-
-       epatch "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch
+       epatch \
+               "${FILESDIR}"/${PN}-3.2-devmapper.patch \
+               "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch
        eautoreconf
 }