void-packages/srcpkgs/python3-pwntools/template

26 lines
1019 B
Bash

# Template file for 'python3-pwntools'
pkgname=python3-pwntools
version=4.13.0
revision=1
build_style=python3-module
make_install_args="--only-use-pwn-command"
hostmakedepends="python3-setuptools python3-devel"
makedepends="python3-devel"
depends="capstone-python3 python3 python3-Mako python3-Pygments
python3-dateutil python3-intervaltree python3-packaging python3-paramiko
python3-psutil python3-pyelftools python3-pyserial python3-pysocks
python3-requests python3-ropgadget python3-sortedcontainers
python3-colored-traceback"
short_desc="CTF framework and exploit development library"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT, BSD-2-Clause"
homepage="https://github.com/Gallopsled/pwntools"
distfiles="${PYPI_SITE}/p/pwntools/pwntools-${version}.tar.gz"
checksum=1d5ca25383ec10fb64e28d142c1d868f91ea1c53a93d3531d3015d830828d3c3
post_install() {
rm -f ${DESTDIR}/usr/lib/python*/site-packages/*.md
rm -f ${DESTDIR}/usr/lib/python*/site-packages/*.txt
vlicense LICENSE-pwntools.txt LICENSE
}