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 +}