From 820653658ddf792ba6648a32553266ffcdb5724e Mon Sep 17 00:00:00 2001 From: Dan Armak Date: Fri, 14 Jan 2005 22:44:26 +0000 Subject: [PATCH] add a blocking dep to split packages on all relevant versions of the parent monolithic package --- eclass/kde-meta.eclass | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass index 6f73ae830340..778cdf4f9530 100644 --- a/eclass/kde-meta.eclass +++ b/eclass/kde-meta.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.11 2005/01/14 11:18:58 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.12 2005/01/14 22:44:26 danarmak Exp $ # # Author Dan Armak # Simone Gotti @@ -105,6 +105,13 @@ DEPEND="$DEPEND kdexdeltas? ( dev-util/xdelta )" # END adapted from kde-dist.eclass +# Add a blocking dep on the package we're derived from +# This is ugly, but I don't know how to get at the category of an ebuild +for x in $(deprange-list $SLOT.0_alpha1 $SLOT.10 $(get-parent-package $(get-current-package))); do + DEPEND="$DEPEND !$x" + RDEPEND="$RDEPEND !$x" +done + # Don't support prepackaged Makefiles with alpha/beta/rc version. # DISABLED - SEMIBROKEN --danarmak # case $myPV in @@ -131,8 +138,6 @@ fi # TODO FIX ends -# The following code adds support for broken-up kde-base-derived ebuilds, e.g. a separate -# kmail ebuild that still uses the big kdepim tarball. KM is short for 'kde meta'. # Set the following variables in the ebuild. Only KMNAME must be set, the rest are optional. # A directory or file can be a path with any number of components (eg foo/bar/baz.h). # Do not include the same item in more than one of KMMODULE, KMMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY, KMCOPYLIB. -- 2.26.2