Install this version:
emerge -a =dev-php/phpunit-php-invoker-6.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/phpunit-php-invoker-6.0.0
Or alternatively:
emerge --autounmask-write -a =dev-php/phpunit-php-invoker-6.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.0.0 | 9 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
COMPOSER_INSTALL_PATH="SebastianBergmann/Invoker"
PHP_MIN_VER="8.3"
PHP_REQ_USE="pcntl?"
inherit composer
DESCRIPTION="Library to invoke PHP callables with a timeout"
HOMEPAGE="https://github.com/sebastianbergmann/php-invoker"
SRC_URI="https://github.com/sebastianbergmann/${COMPOSER_PKG}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pcntl"
REQUIRED_USE="test? ( pcntl )"
BDEPEND="dev-php/theseer-Autoload"
DOCS=( {ChangeLog,README}.md )
EPHPUNIT_BOOTSTRAP='tests/autoload.php'
composer_enable_tests phpunit
src_prepare() {
default
edo phpab -q -o src/autoload.php -t fedora2 src
}
src_test() {
composer_prepare_tests
edo phpab -q -o tests/autoload.php -t "${FILESDIR}"/autoload-test.php.tpl tests/_fixture
ephpunit
}
Manage flags for this package:
euse -i <flag> -p dev-php/phpunit-php-invoker |
euse -E <flag> -p dev-php/phpunit-php-invoker |
euse -D <flag> -p dev-php/phpunit-php-invoker
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | phpunit-php-invoker-6.0.0.tar.gz | 4442 bytes | https://github.com/sebastianbergmann//archive/6.0.0.tar.gz |