dev-php/amphp-http-client - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-php/amphp-http-client-9999

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

autounmask =dev-php/amphp-http-client-9999

Or alternatively:

emerge --autounmask-write -a =dev-php/amphp-http-client-9999

Package Information

Description:
Advanced async HTTP client library for PHP
Homepage:
https://github.com/amphp/http-client
License:
MIT

Ebuild Details

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

EAPI=8

COMPOSER_INSTALL_PATH="Amp/Http/Client"

inherit composer git-r3 optfeature

DESCRIPTION="Advanced async HTTP client library for PHP"
HOMEPAGE="https://github.com/amphp/http-client"
EGIT_REPO_URI="https://github.com/amphp/http-client.git"

LICENSE="MIT"
SLOT="0"

RDEPEND="dev-php/amphp-amp
	dev-php/amphp-byte-stream
	dev-php/amphp-hpack
	dev-php/amphp-http
	dev-php/amphp-pipeline
	dev-php/amphp-socket
	dev-php/amphp-sync
	dev-php/league-uri
	dev-php/league-uri-components
	dev-php/league-uri-interfaces
	dev-php/psr-http-message
	dev-php/revolt-event-loop"
BDEPEND="test? ( dev-php/amphp-file
		dev-php/amphp-http-server
		dev-php/laminas-diactoros )"

PATCHES=( "${FILESDIR}/${PN}"-5.3.6-tests-ClientHttpBinIntegrationTest.patch
	"${FILESDIR}/${PN}"-5.3.6-tests-FollowRedirectsTest.patch
	"${FILESDIR}/${PN}"-5.3.6-tests-Http1ConnectionTest.patch
	"${FILESDIR}/${PN}"-5.3.6-tests-Http2ConnectionTest.patch
	"${FILESDIR}/${PN}"-5.3.6-tests-phpunit.xml.patch
	"${FILESDIR}/${PN}"-5.3.6-tests-RequestTest.patch
	"${FILESDIR}/${PN}"-5.3.6-tests-ResponseTest.patch )

composer_enable_tests phpunit

pkg_postinst() {
	optfeature "Support for file request bodies and HTTP archive logging" dev-php/amphp-file
}

Inherited Eclasses

Dependencies

RDEPEND

dev-php/amphp-amp
	dev-php/amphp-byte-stream
	dev-php/amphp-hpack
	dev-php/amphp-http
	dev-php/amphp-pipeline
	dev-php/amphp-socket
	dev-php/amphp-sync
	dev-php/league-uri
	dev-php/league-uri-components
	dev-php/league-uri-interfaces
	dev-php/psr-http-message
	dev-php/revolt-event-loop

BDEPEND

test? ( dev-php/amphp-file
		dev-php/amphp-http-server
		dev-php/laminas-diactoros )