From: Brian Evans Date: Mon, 19 Feb 2018 21:45:35 +0000 (-0500) Subject: dev-php/PEAR-Mail: Revbump to include tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d852c2d46e73d6bae3ce1ae4eb1d6d94bf115b54;p=gentoo.git dev-php/PEAR-Mail: Revbump to include tests Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- 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 35429d9eafae..122fdc24a331 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 +}