summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2020-08-27 12:13:38 -0400
committerBrian Evans <grknight@gentoo.org>2020-08-27 12:13:38 -0400
commit7699a4684c932b9d2e564c57f4b84d3e60e48191 (patch)
tree6618ada8ee825fe79031f12a486a033098793e94 /dev-php/PEAR-Net_SMTP
parentwww-apps/chromedriver-bin: bump to 85.0.4183.83 (diff)
downloadgentoo-7699a4684c932b9d2e564c57f4b84d3e60e48191.tar.gz
gentoo-7699a4684c932b9d2e564c57f4b84d3e60e48191.tar.bz2
gentoo-7699a4684c932b9d2e564c57f4b84d3e60e48191.zip
dev-php/PEAR-Net_SMTP: Remove old reference to a guide; add test function
Closes: https://bugs.gentoo.org/739184 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php/PEAR-Net_SMTP')
-rw-r--r--dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild
index 56fe101e706d..979882cf6f57 100644
--- a/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild
+++ b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild
@@ -13,17 +13,22 @@ HOMEPAGE="https://pear.php.net/package/Net_SMTP"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="examples sasl"
+IUSE="examples sasl test"
DEPEND=""
RDEPEND="dev-lang/php:*
dev-php/PEAR-Net_Socket
dev-php/PEAR-PEAR
sasl? ( dev-php/PEAR-Auth_SASL )"
+BDEPEND="test? ( ${RDEPEND} )"
+RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
src_install() {
- DOCS=( docs/guide.txt )
use examples && HTML_DOCS=( examples )
php-pear-r2_src_install
}
+
+src_test() {
+ pear run-tests tests || die
+}