From: Brian Evans Date: Tue, 14 Apr 2015 18:32:51 +0000 (+0000) Subject: Specify :* as slot by default to silence repoman warnings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8bf75243047ebcdb74a04c87d1af849be0bf84a1;p=gentoo.git Specify :* as slot by default to silence repoman warnings --- diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 4e0ba548430d..fd58081a3e0e 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1587 2015/04/14 14:08:34 chewi Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1588 2015/04/14 18:32:51 grknight Exp $ + + 14 Apr 2015; php-lib-r1.eclass: + Specify :* as slot by default to silence repoman warnings 14 Apr 2015; James Le Cuirot java-utils-2.eclass: Consider SLOTs when checking Java dependencies. Comment out the longer error diff --git a/eclass/php-lib-r1.eclass b/eclass/php-lib-r1.eclass index 9961eeb5b6af..635a1d02485d 100644 --- a/eclass/php-lib-r1.eclass +++ b/eclass/php-lib-r1.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-lib-r1.eclass,v 1.11 2012/02/12 21:48:58 mabi Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-lib-r1.eclass,v 1.12 2015/04/14 18:32:51 grknight Exp $ # @ECLASS: php-lib-r1.eclass # @MAINTAINER: @@ -16,8 +16,16 @@ inherit depend.php EXPORT_FUNCTIONS src_install +# Silence repoman warnings +case "${EAPI:-0}" in + 0|1|2|3|4) + DEPEND="dev-lang/php" + ;; + *) + DEPEND="dev-lang/php:*" + ;; +esac -DEPEND="dev-lang/php" RDEPEND="${DEPEND}" # @ECLASS-VARIABLE: PHP_LIB_NAME