dev-php/nyholm-psr7 - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-php/nyholm-psr7-9999

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

autounmask =dev-php/nyholm-psr7-9999

Or alternatively:

emerge --autounmask-write -a =dev-php/nyholm-psr7-9999

Package Information

Description:
A super lightweight PSR-7 implementation
Homepage:
https://github.com/Nyholm/psr7
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="Nyholm/Psr7"

inherit composer git-r3

DESCRIPTION="A super lightweight PSR-7 implementation"
HOMEPAGE="https://github.com/Nyholm/psr7"
EGIT_REPO_URI="https://github.com/Nyholm/psr7.git"

LICENSE="MIT"
SLOT="0"

RDEPEND="dev-php/psr-http-factory
	dev-php/psr-http-message"
BDEPEND="test? ( dev-php/http-interop-http-factory-tests
		dev-php/php-http-message-factory
		dev-php/php-http-psr7-integration-tests )"

PATCHES=( "${FILESDIR}/${PN}"-1.8.2-tests-RequestTest.patch
	"${FILESDIR}/${PN}"-1.8.2-tests-ResponseTest.patch
	"${FILESDIR}/${PN}"-1.8.2-tests-UploadedFileTest.patch
	"${FILESDIR}/${PN}"-1.8.2-tests-UriTest.patch )

composer_enable_tests phpunit

src_prepare() {
	composer_src_prepare

	edo mkdir -p vendor/http-interop/http-factory-tests
	edo ln -s ../../../../../../../../../../usr/share/php/Interop/Http/Factory/ \
		vendor/http-interop/http-factory-tests/test
}

Inherited Eclasses

Dependencies

RDEPEND

dev-php/psr-http-factory
	dev-php/psr-http-message

BDEPEND

test? ( dev-php/http-interop-http-factory-tests
		dev-php/php-http-message-factory
		dev-php/php-http-psr7-integration-tests )