diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild similarity index 69% rename from dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild rename to dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild index 5485056b129f3..adf9177c8b572 100644 --- a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r1.ebuild +++ b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.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 @@ -9,11 +9,11 @@ DESCRIPTION="Provides a class to decode mime messages (split from PEAR-Mail_Mime LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" +IUSE="test" RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2" +DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )" -#src_install() { -# insinto /usr/share/php -# doins -r Mail -#} +src_test() { + pear run-tests tests || die +}