27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
# Template file for 'python3-pwntools'
|
|
pkgname=python3-pwntools
|
|
version=4.8.0
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
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"
|
|
make_install_args="--only-use-pwn-command"
|
|
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=42052e2d883710e4e1da041e91675a6d719fb4e5ef2dd245cb2853da11269290
|
|
#make_check=no # needs unpackaged rpyc
|
|
|
|
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
|
|
}
|