# 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 git-r3 DESCRIPTION="Abstraction for local and remote filesystems" HOMEPAGE="https://github.com/thephpleague/flysystem" EGIT_REPO_URI="https://github.com/thephpleague/flysystem.git" LICENSE="MIT" SLOT="0" 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 )" 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