diff --git a/packages/pwntools/PKGBUILD b/packages/pwntools/PKGBUILD deleted file mode 100644 index c72d1e6dd64..00000000000 --- a/packages/pwntools/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). -# See COPYING for license details. - -pkgname=pwntools -pkgver=4.10.0 -pkgrel=5 -pkgdesc='CTF framework and exploit development library.' -arch=('any') -url='https://github.com/Gallopsled/pwntools' -license=('MIT' 'GPL2' 'BSD') -groups=('blackarch' 'blackarch-disassembler' 'blackarch-reversing') -depends=('python' 'python-paramiko' 'python-mako' 'python-pyelftools' - 'python-capstone' 'python-pyserial' 'python-requests' 'python-isort' - 'python-pip' 'python-tox' 'python-pygments' 'python-pysocks' - 'python-dateutil' 'python-psutil' 'python-pypandoc' 'python-sphinx' - 'python-intervaltree' 'ropgadget' 'python-packaging' 'python-six' - 'python-sortedcontainers' 'python-doc2dash' 'python-coveralls' - 'python-unicorn' 'python-colored-traceback' 'python-rpyc') -makedepends=('python-setuptools') -source=("https://github.com/Gallopsled/pwntools/archive/$pkgver.tar.gz" - 'setup.py.patch') -sha512sums=('6d96b71da08661ca225cc21bb06d66333c8ccdb79852bbd679ff7d69b091fe3cc6811f7317e1011e7c6867c5b70aaeb5f02de2fb03882914005fbbde583570d0' - 'f2d1d0a1291685b125ea364c275fa288d750a92592e9343486d45077b64d5e49a65b6b9a6dfb5dce13662666479342d905c910a368f54c372e19bcdc834e2bc6') - -prepare() { - #patch -p1 < setup.py.patch - - cd "$pkgname-$pkgver" - - sed -i 's|python2|python|' pwnlib/elf/datatypes.py -} - -build() { - cd "$pkgname-$pkgver" - - python setup.py build -} - -package() { - cd "$pkgname-$pkgver" - - _tools="asm common constgrep checksec cyclic disasm errno elfdiff elfpatch" - _tools="$_tools debug disablenx hex main phd pwn pwnstrip scramble shellcraft" - _tools="$_tools unhex update template" - - install -Dm 644 LICENSE-pwntools.txt \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - python setup.py install --root="$pkgdir" --prefix=/usr -O1 - - for t in $_tools; do - mv "$pkgdir/usr/bin/$t" "$pkgdir/usr/bin/$pkgname-$t" - done -} - diff --git a/packages/pwntools/setup.py.patch b/packages/pwntools/setup.py.patch deleted file mode 100644 index 67718939de7..00000000000 --- a/packages/pwntools/setup.py.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/pwntools-4.6.0/setup.py 2021-07-12 23:00:40.000000000 +0200 -+++ setup.py 2021-08-18 09:33:39.003332391 +0200 -@@ -60,7 +60,7 @@ - 'psutil>=3.3.0', - 'intervaltree>=3.0', - 'sortedcontainers', -- 'unicorn>=1.0.2rc1,<1.0.2rc4', # see unicorn-engine/unicorn#1100, unicorn-engine/unicorn#1170, Gallopsled/pwntools#1538 -+ 'unicorn', # see unicorn-engine/unicorn#1100, unicorn-engine/unicorn#1170, Gallopsled/pwntools#1538 - 'six>=1.12.0', - 'rpyc', - 'colored_traceback',