commit:     d852c2d46e73d6bae3ce1ae4eb1d6d94bf115b54
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 21:45:35 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 21:45:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d852c2d4

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(-)

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 35429d9eafa..122fdc24a33 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
+}

Reply via email to