# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="DNS Enumeration Script" HOMEPAGE="https://github.com/darkoperator/dnsrecon" SRC_URI="https://github.com/darkoperator/dnsrecon/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm64 x86" RDEPEND="${PYTHON_DEPS} >=dev-python/dnspython-2.6.1[${PYTHON_USEDEP}] dev-python/netaddr[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/loguru[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" src_prepare() { rm -r tests || die default } python_install() { distutils-r1_python_install python_foreach_impl python_newscript tools/parser.py dnsrecon-parser }