From d852c2d46e73d6bae3ce1ae4eb1d6d94bf115b54 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Mon, 19 Feb 2018 16:45:35 -0500 Subject: [PATCH] dev-php/PEAR-Mail: Revbump to include tests Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- ...{PEAR-Mail-1.4.1.ebuild => PEAR-Mail-1.4.1-r1.ebuild} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename dev-php/PEAR-Mail/{PEAR-Mail-1.4.1.ebuild => PEAR-Mail-1.4.1-r1.ebuild} (67%) diff --git a/dev-php/PEAR-Mail/PEAR-Mail-1.4.1.ebuild b/dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild similarity index 67% rename from dev-php/PEAR-Mail/PEAR-Mail-1.4.1.ebuild rename to dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild index 35429d9eafae7..122fdc24a3313 100644 --- a/dev-php/PEAR-Mail/PEAR-Mail-1.4.1.ebuild +++ b/dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,6 +10,11 @@ DESCRIPTION="Class that provides multiple interfaces for sending emails" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" +IUSE="test" RDEPEND=">=dev-php/PEAR-Net_SMTP-1.4.1" +DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )" + +src_test() { + peardev run-tests tests || die +}