# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 shell-completion DESCRIPTION="CTF framework and exploit development library" HOMEPAGE="https://github.com/Gallopsled/pwntools" if [[ ${PV} == "9999" ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/Gallopsled/pwntools.git" else SRC_URI="https://github.com/Gallopsled/pwntools/archive/${PV/_beta/beta}.tar.gz -> ${P}.gh.tar.gz" if [[ ${PV} != *_beta* ]] ; then KEYWORDS="~amd64 ~arm64 ~riscv ~x86" fi S="${WORKDIR}/${PN}-${PV/_beta/beta}" fi LICENSE="MIT GPL-2+ BSD-2" SLOT="0" #