# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

COMPOSER_INSTALL_PATH="Symfony/Component/Security/Csrf"
COMPOSER_INSTALL_SRC="."

inherit composer git-r3

DESCRIPTION="Symfony Security CSRF Component"
HOMEPAGE="https://github.com/symfony/security-csrf"
EGIT_REPO_URI="https://github.com/symfony/security-csrf.git"

LICENSE="MIT"
SLOT="0"

RDEPEND="dev-php/symfony-security-core"
BDEPEND="test? ( dev-php/doctrine-deprecations
		dev-php/psr-log
		dev-php/symfony-http-foundation
		dev-php/symfony-http-kernel
		dev-php/symfony-phpunit-bridge )"

DOCS=( {CHANGELOG,README}.md )

composer_enable_tests phpunit