Install this version:
emerge -a =dev-php/symfony-http-client-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/symfony-http-client-9999
Or alternatively:
emerge --autounmask-write -a =dev-php/symfony-http-client-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 9 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
COMPOSER_INSTALL_PATH="Symfony/Component/HttpClient"
COMPOSER_INSTALL_SRC="."
inherit composer git-r3
DESCRIPTION="Symfony HttpClient Component"
HOMEPAGE="https://github.com/symfony/http-client"
EGIT_REPO_URI="https://github.com/symfony/http-client.git"
LICENSE="MIT"
SLOT="0"
IUSE="ipv6"
RDEPEND="dev-php/psr-log
dev-php/symfony-deprecation-contracts
dev-php/symfony-http-client-contracts
dev-php/symfony-polyfill-php83
dev-php/symfony-service-contracts"
BDEPEND="test? ( dev-php/amphp-http-client
dev-php/doctrine-deprecations
dev-php/guzzlehttp-promises
dev-php/nyholm-psr7
dev-php/php-http-httplug
dev-php/psr-http-client
dev-php/symfony-cache
dev-php/symfony-dependency-injection
dev-php/symfony-http-kernel
dev-php/symfony-messenger
dev-php/symfony-phpunit-bridge
>=dev-php/symfony-process-7
dev-php/symfony-rate-limiter
dev-php/symfony-stopwatch )"
DOCS=( {CHANGELOG,README}.md )
composer_enable_tests phpunit
src_prepare() {
composer_src_prepare
use ipv6 || eapply "${FILESDIR}/${PN}"-7.3.3-test-no-ipv6.patch
# dev-php/amphp-http-client-5 requires php 8.4
has_version ">=dev-lang/php-8.4" || edo rm Tests/AmpHttpClientTest.php
}
Manage flags for this package:
euse -i <flag> -p dev-php/symfony-http-client |
euse -E <flag> -p dev-php/symfony-http-client |
euse -D <flag> -p dev-php/symfony-http-client
dev-php/psr-log dev-php/symfony-deprecation-contracts dev-php/symfony-http-client-contracts dev-php/symfony-polyfill-php83 dev-php/symfony-service-contracts
test? ( dev-php/amphp-http-client dev-php/doctrine-deprecations dev-php/guzzlehttp-promises dev-php/nyholm-psr7 dev-php/php-http-httplug dev-php/psr-http-client dev-php/symfony-cache dev-php/symfony-dependency-injection dev-php/symfony-http-kernel dev-php/symfony-messenger dev-php/symfony-phpunit-bridge >=dev-php/symfony-process-7 dev-php/symfony-rate-limiter dev-php/symfony-stopwatch )