diff options
Diffstat (limited to 'dev-php5/phpunit/phpunit-3.1.8.ebuild')
-rw-r--r-- | dev-php5/phpunit/phpunit-3.1.8.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-php5/phpunit/phpunit-3.1.8.ebuild b/dev-php5/phpunit/phpunit-3.1.8.ebuild new file mode 100644 index 000000000000..7980e16b47ed --- /dev/null +++ b/dev-php5/phpunit/phpunit-3.1.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/phpunit/phpunit-3.1.8.ebuild,v 1.1 2007/10/22 22:35:26 jokey Exp $ + +inherit php-pear-lib-r1 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Unit Testing framework for PHP 5." +HOMEPAGE="http://www.phpunit.de/" +SRC_URI="http://pear.phpunit.de/get/PHPUnit-${PV}.tgz" +LICENSE="BSD" +SLOT="0" +IUSE="minimal" + +DEPEND="!dev-php4/phpunit" +RDEPEND="${DEPEND} + !minimal? ( >=dev-php5/xdebug-2.0.0_rc2 + >=dev-php/PEAR-Image_GraphViz-1.2.1 + >=dev-php/PEAR-Log-1.8.7-r1 + >=dev-php/PEAR-Testing_Selenium-0.2.0 )" + +S="${WORKDIR}/PHPUnit-${PV}" + +need_php_by_category + +pkg_setup() { + has_php + require_php_with_use pcre reflection spl xml tokenizer +} + +pkg_postinst() { + has_php + elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features." + elog "If you want those, emerge ${PHP_PKG} with USE=\"json pdo sqlite mysql\"." +} |