mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
22 lines
527 B
Bash
22 lines
527 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit php-pear-r2
|
|
|
|
DESCRIPTION="An implementation of Integrated Templates API with template 'compilation' added"
|
|
LICENSE="PHP-3.01"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~hppa ppc64 sparc x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="dev-lang/php:*[ctype]"
|
|
DEPEND="test? ( ${RDEPEND} dev-php/phpunit )"
|
|
PATCHES=( "${FILESDIR}/HTML_Template_Sigma-1.3.0-php7.patch" )
|
|
|
|
src_test() {
|
|
phpunit tests/AllTests.php || die
|
|
}
|