# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1530 2015/02/10 22:21:26 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1531 2015/02/11 02:53:18 grknight Exp $
+
+ 10 Feb 2015; Johannes Huber <johu@gentoo.org> php-pear-r1.eclass,
+ php-pear-lib-r1.eclass:
+ Add EAPI check to silence repoman warnings
10 Feb 2015; Johannes Huber <johu@gentoo.org> kde5.eclass:
Sync SRC_URI calculation with kde overlay, fixes bug #539668.
-# 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-pear-lib-r1.eclass,v 1.27 2012/08/22 15:06:20 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-lib-r1.eclass,v 1.28 2015/02/11 02:53:18 grknight Exp $
# @ECLASS: php-pear-lib-r1.eclass
# @MAINTAINER:
EXPORT_FUNCTIONS pkg_setup src_install
-DEPEND="dev-lang/php
+# Silence repoman warnings
+case "${EAPI:-0}" in
+ 5)
+ PHP_DEPEND="dev-lang/php:*"
+ ;;
+ *)
+ PHP_DEPEND="dev-lang/php"
+ ;;
+esac
+
+DEPEND="${PHP_DEPEND}
>=dev-php/pear-1.9.0"
RDEPEND="${DEPEND}"
-# Copyright 1999-2013 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-pear-r1.eclass,v 1.32 2013/11/25 23:22:57 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.33 2015/02/11 02:53:18 grknight Exp $
# @ECLASS: php-pear-r1.eclass
# @MAINTAINER:
EXPORT_FUNCTIONS pkg_setup src_install
-DEPEND="dev-lang/php
+# Silence repoman warnings
+case "${EAPI:-0}" in
+ 5)
+ PHP_DEPEND="dev-lang/php:*"
+ ;;
+ *)
+ PHP_DEPEND="dev-lang/php"
+ ;;
+esac
+
+DEPEND="${PHP_DEPEND}
>=dev-php/pear-1.8.1"
RDEPEND="${DEPEND}"