dev-php/league-flysystem - 3.35.2 (nest)

Search

Install

Install this version:

emerge -a =dev-php/league-flysystem-3.35.2

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

autounmask =dev-php/league-flysystem-3.35.2

Or alternatively:

emerge --autounmask-write -a =dev-php/league-flysystem-3.35.2

Package Information

Description:
Abstraction for local and remote filesystems
Homepage:
https://github.com/thephpleague/flysystem
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.35.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_PATH="League/Flysystem"
PHP_REQ_USE="fileinfo?,ftp?,zip?"

inherit composer

DESCRIPTION="Abstraction for local and remote filesystems"
HOMEPAGE="https://github.com/thephpleague/flysystem"
SRC_URI="https://github.com/thephpleague/${COMPOSER_PKG}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="fileinfo ftp zip"
REQUIRED_USE="test? ( fileinfo ftp zip )"

RDEPEND="dev-php/league-flysystem-local
	dev-php/league-mime-type-detection"
BDEPEND="test? ( dev-php/guzzlehttp-psr7 )"

COMPOSER_TEST_PATCHES=(
	"${FILESDIR}/${PN}"-3.35.2-tests-ConfigTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-DirectoryAttributesTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-DirectoryListingTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-ExceptionInformationTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-FileAttributesTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-FilesystemTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-InMemoryFilesystemAdapterTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-MountManagerTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-PathPrefixerTest.patch
	"${FILESDIR}/${PN}"-3.35.2-tests-WhitespacePathNormalizerTest.patch )
composer_enable_tests phpunit

src_test() {
	edo composer create-project -q --no-install --prefer-source "${COMPOSER_PN}:${PV}" "${COMPOSER_SRC}"
	edo cp -r "${COMPOSER_SRC}"/{phpunit.xml.dist,phpunit.php,test_files,mocked-functions.php} "${S}"
	edo cp -r "${COMPOSER_SRC}"/src/{AdapterTestUtilities,InMemory,*Test.php} "${S}"/src
	composer_test_patch
	ephpunit
	# clean up test files before install
	edo rm -rf src/{AdapterTestUtilities,InMemory,*Test.php}
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-php/league-flysystem | euse -E <flag> -p dev-php/league-flysystem | euse -D <flag> -p dev-php/league-flysystem

Global/Standard Flags

ftp
zip

Inherited Eclasses

Dependencies

RDEPEND

dev-php/league-flysystem-local
	dev-php/league-mime-type-detection

BDEPEND

test? ( dev-php/guzzlehttp-psr7 )

Manifest for 3.35.2

Type File Size Source URLs
DIST league-flysystem-3.35.2.tar.gz 16328 bytes https://github.com/thephpleague//archive/3.35.2.tar.gz