mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-10 02:14:55 +01:00
46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="CTF framework and exploit development library"
|
|
HOMEPAGE="https://github.com/Gallopsled/pwntools"
|
|
SRC_URI="https://github.com/Gallopsled/pwntools/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
#WTF? Most is under an MIT license, but a few pieces are under GPL or a BSD 2-clause licence
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
#REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
RDEPEND=">=dev-python/paramiko-1.15.2[${PYTHON_USEDEP}]
|
|
>=dev-python/mako-1.0.0[${PYTHON_USEDEP}]
|
|
>=dev-python/pyelftools-0.2.4[${PYTHON_USEDEP}]
|
|
>=dev-python/capstone-python-3.0.5[${PYTHON_USEDEP}]
|
|
>=app-exploits/ROPgadget-5.3[${PYTHON_USEDEP}]
|
|
>=dev-python/pyserial-2.7[${PYTHON_USEDEP}]
|
|
>=dev-python/requests-2.0[${PYTHON_USEDEP}]
|
|
>=dev-python/pip-6.0.8[${PYTHON_USEDEP}]
|
|
>=dev-python/tox-1.8.1[${PYTHON_USEDEP}]
|
|
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
|
dev-python/PySocks[${PYTHON_USEDEP}]
|
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
|
dev-python/packaging[${PYTHON_USEDEP}]
|
|
>=dev-python/psutil-3.3.0[${PYTHON_USEDEP}]
|
|
<dev-python/intervaltree-3.0[${PYTHON_USEDEP}]
|
|
<dev-python/sortedcontainers-2.0[${PYTHON_USEDEP}]
|
|
dev-util/unicorn[python,${PYTHON_USEDEP}]
|
|
"
|
|
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
python_prepare_all() {
|
|
#do not mess with docs
|
|
sed -e "/'pypandoc'/d" -i setup.py || die
|
|
distutils-r1_python_prepare_all
|
|
}
|