dev-php/amphp-hpack - 3.2.2 (nest)

Search

Install

Install this version:

emerge -a =dev-php/amphp-hpack-3.2.2

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

autounmask =dev-php/amphp-hpack-3.2.2

Or alternatively:

emerge --autounmask-write -a =dev-php/amphp-hpack-3.2.2

Package Information

Description:
HTTP/2 header compression implementation in PHP
Homepage:
https://github.com/amphp/hpack
License:
MIT

Ebuild Details

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

EAPI=9

COMPOSER_INSTALL_AUTOLOAD="src/Internal"
COMPOSER_INSTALL_PATH="Amp/Http"

inherit composer

DESCRIPTION="HTTP/2 header compression implementation in PHP"
HOMEPAGE="https://github.com/amphp/hpack"
SRC_URI="https://github.com/amphp/${COMPOSER_PKG}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="test? ( dev-php/http2jp-hpack-test-case
		dev-php/nikic-php-fuzzer )"

COMPOSER_TEST_PATCHES=(
	"${FILESDIR}/${PN}"-3.2.2-tests-phpunit.xml.patch
	"${FILESDIR}/${PN}"-3.2.2-tests-HPackTest.patch )
composer_enable_tests phpunit

src_test() {
	composer_prepare_tests
	edo mkdir -p vendor/http2jp
	edo ln -s ../../../../../../../../../../usr/share/php/http2jp/hpack-test-case vendor/http2jp
	ephpunit
}

Inherited Eclasses

Dependencies

BDEPEND

test? ( dev-php/http2jp-hpack-test-case
		dev-php/nikic-php-fuzzer )

Manifest for 3.2.2

Type File Size Source URLs
DIST amphp-hpack-3.2.2.tar.gz 261819 bytes https://github.com/amphp//archive/v3.2.2.tar.gz