# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 DESCRIPTION="Identifies and fingerprints Web Application Firewall (WAF) products" HOMEPAGE="https://github.com/sandrogauci/wafw00f" SRC_URI="https://github.com/EnableSecurity/wafw00f/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="amd64 ~x86" IUSE="socks5" RDEPEND="${DEPEND} dev-python/requests[socks5?,${PYTHON_USEDEP}] >=dev-python/pluginbase-0.3[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] )" distutils_enable_tests pytest src_prepare(){ rm setup.py eapply_user }