Install this version:
emerge -a =dev-php/laminas-code-4.17.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/laminas-code-4.17.0
Or alternatively:
emerge --autounmask-write -a =dev-php/laminas-code-4.17.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.17.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="Laminas/Code"
COMPOSER_VENDOR="${PN%%-*}"
COMPOSER_PKG="${PN#*-}"
COMPOSER_PN="${COMPOSER_VENDOR}/${COMPOSER_VENDOR}-${COMPOSER_PKG}"
COMPOSER_SRC="${T}/composer/${COMPOSER_VENDOR}-${COMPOSER_PKG}"
PHP_REQ_USE="phar"
inherit composer
DESCRIPTION="Extensions to the PHP Reflection API"
HOMEPAGE="https://github.com/laminas/laminas-code"
SRC_URI="https://github.com/laminas/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="test? ( dev-php/doctrine-annotations
dev-php/laminas-stdlib )"
COMPOSER_TEST_PATCHES=(
"${FILESDIR}/${PN}"-4.17.0-tests-AbstractGeneratorTest.patch
"${FILESDIR}/${PN}"-4.17.0-tests-AbstractMemberGeneratorTest.patch
"${FILESDIR}/${PN}"-4.17.0-tests-ClassGeneratorTest.patch
"${FILESDIR}/${PN}"-4.17.0-tests-ParameterReflectionTest.patch
"${FILESDIR}/${PN}"-4.17.0-tests-PropertyGeneratorTest.patch )
composer_enable_tests phpunit
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | laminas-code-4.17.0.tar.gz | 47263 bytes | https://github.com/laminas/laminas-code/archive/4.17.0.tar.gz |