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

Search

Install

Install this version:

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

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

autounmask =dev-php/amphp-hpack-9999

Or alternatively:

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

Package Information

Description:
HTTP/2 header compression implementation in PHP
Homepage:
https://github.com/amphp/hpack
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_AUTOLOAD="src/Internal"
COMPOSER_INSTALL_PATH="Amp/Http"

inherit composer git-r3

DESCRIPTION="HTTP/2 header compression implementation in PHP"
HOMEPAGE="https://github.com/amphp/hpack"
EGIT_REPO_URI="https://github.com/amphp/hpack.git"

LICENSE="MIT"
SLOT="0"

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

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

composer_enable_tests phpunit

src_prepare() {
	composer_src_prepare

	edo mkdir -p vendor/http2jp
	edo ln -s ../../../../../../../../../../usr/share/php/http2jp/hpack-test-case vendor/http2jp
}

Inherited Eclasses

Dependencies

BDEPEND

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