dev-php/symfony-http-foundation - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-php/symfony-http-foundation-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-php/symfony-http-foundation-9999

Or alternatively:

emerge --autounmask-write -a =dev-php/symfony-http-foundation-9999

Package Information

Description:
Defines an object-oriented layer for the HTTP specification
Homepage:
https://github.com/symfony/http-foundation
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 9 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

COMPOSER_INSTALL_PATH="Symfony/Component/HttpFoundation"
COMPOSER_INSTALL_SRC="."

inherit composer git-r3

DESCRIPTION="Defines an object-oriented layer for the HTTP specification"
HOMEPAGE="https://github.com/symfony/http-foundation"
EGIT_REPO_URI="https://github.com/symfony/http-foundation.git"

LICENSE="MIT"
SLOT="0"
IUSE="ipv6"

RDEPEND="dev-php/symfony-deprecation-contracts
	dev-php/symfony-polyfill-mbstring"
BDEPEND="test? ( dev-db/redis
		dev-php/doctrine-dbal
		dev-php/pecl-memcached
		dev-php/predis
		dev-php/symfony-clock
		dev-php/symfony-dependency-injection
		dev-php/symfony-expression-language
		dev-php/symfony-http-kernel
		dev-php/symfony-mime
		dev-php/symfony-phpunit-bridge
		>=dev-php/symfony-process-7
		dev-php/symfony-rate-limiter
		net-misc/curl )"

PATCHES=( "${FILESDIR}/${PN}"-7.4.14-tests-common.inc.patch )

DOCS=( {CHANGELOG,README}.md )

composer_enable_tests phpunit

src_prepare() {
	composer_src_prepare

	use ipv6 || edo rm Tests/{IpUtilsTest,RequestTest}.php
}

src_test() {
	edo "${EPREFIX}"/usr/sbin/redis-server - <<- EOF
		daemonize yes
		pidfile "${T}/redis.pid"
		port 6379
		bind 127.0.0.1
	EOF
	REDIS_HOST=127.0.0.1 ephpunit
	edo kill "$(<"${T}/redis.pid")"
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-php/symfony-http-foundation | euse -E <flag> -p dev-php/symfony-http-foundation | euse -D <flag> -p dev-php/symfony-http-foundation

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

dev-php/symfony-deprecation-contracts
	dev-php/symfony-polyfill-mbstring

BDEPEND

test? ( dev-db/redis
		dev-php/doctrine-dbal
		dev-php/pecl-memcached
		dev-php/predis
		dev-php/symfony-clock
		dev-php/symfony-dependency-injection
		dev-php/symfony-expression-language
		dev-php/symfony-http-kernel
		dev-php/symfony-mime
		dev-php/symfony-phpunit-bridge
		>=dev-php/symfony-process-7
		dev-php/symfony-rate-limiter
		net-misc/curl )