Skip to content

Commit

Permalink
New package: pwntools-4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abenson committed Aug 18, 2020
1 parent 9afadf9 commit c21c313
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
12 changes: 12 additions & 0 deletions srcpkgs/pwntools/patches/dont-pollute-sitepackages.patch
@@ -0,0 +1,12 @@
--- setup.py.orig
+++ setup.py
@@ -84,9 +84,6 @@
python_requires = '>=2.7',
packages = find_packages(),
version = '4.2.1',
- data_files = [('',
- glob.glob('*.md') + glob.glob('*.txt')),
- ],
package_data = {
'pwnlib': [
'data/crcsums.txt',
27 changes: 27 additions & 0 deletions srcpkgs/pwntools/template
@@ -0,0 +1,27 @@
# Template file for 'pwntools'
pkgname=pwntools
version=4.2.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-paramiko python3-Mako python3-pyelftools capstone-python3
python3-pyserial python3-requests python3-Pygments python3-pysocks
python3-dateutil python3-packaging python3-psutil python3-intervaltree
python3-sortedcontainers unicorn-python3 python3-six python3-setuptools
ROPgadget"
short_desc="CTF framework and exploit development library"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://pwntools.com"
distfiles="https://github.com/Gallopsled/pwntools/archive/${version}.tar.gz"
checksum=8f1a4bf7b668de6b222df887fdd820b7ff05547e7ff9a13ebbd10eecf43c7a78

post_install() {
cd ${DESTDIR}/usr/bin
for f in *; do
mv $f pwntools-$f
done
cd -
vlicense LICENSE-pwntools.txt
}

0 comments on commit c21c313

Please sign in to comment.