# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-php/phpunit/phpunit-3.5.0-r1.ebuild,v 1.4 2011/09/18 11:06:21 olemarkus Exp $ EAPI="2" inherit php-pear-lib-r1 KEYWORDS="~amd64 ~x86" DESCRIPTION="Unit testing framework for PHP5" HOMEPAGE="http://www.phpunit.de/" SRC_URI="http://pear.phpunit.de/get/PHPUnit-${PV}.tgz" LICENSE="BSD" SLOT="0" IUSE="" DEPEND="!dev-php4/phpunit >=dev-php/PEAR-PEAR-1.9.1" RDEPEND="${DEPEND} >=dev-lang/php-5.2.7[simplexml,xml,tokenizer] || ( =dev-lang/php-5.3 ) >=dev-php/PEAR-Image_GraphViz-1.2.1 >=dev-php/PEAR-Log-1.8.7-r1 dev-php/dbunit dev-php/php-codecoverage dev-php/php-timer dev-php/phpunit-mockobject dev-php/phpunit-selenium" need_php_by_category S="${WORKDIR}/PHPUnit-${PV}" 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\"." }