community/python-pwntools to 4.7.0-1

This commit is contained in:
David Beauchamp 2021-11-15 13:12:56 -05:00
parent d7baac8866
commit 0b97753afa

View file

@ -8,7 +8,7 @@
pkgname=python-pwntools
_pyname=pwntools
pkgver=4.6.0
pkgver=4.7.0
pkgrel=1
pkgdesc='CTF framework and exploit development library'
url='https://github.com/Gallopsled/pwntools'
@ -37,9 +37,9 @@ depends=('python'
makedepends=('python-setuptools')
source=(https://github.com/Gallopsled/pwntools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
pwn.conf)
sha256sums=('70e6a99b048372b03ebe8b94f20161e8a7b1bbfa580ec351d7e0310066c79059'
sha256sums=('0eae8558029e383f88b9569c7f711c5b3fc150fc02bd6256b116663809ae797a'
'50916e4e45d026422cd6bfe8de50e7246c61b0b1e0007571e7c04a994282fe89')
b2sums=('e0189cb8e4832c487da3cc2345b2757540aafc5fdc29e18b7ac2bac9df5b67d5a06f36c4b22206e55b607650c11833d194c4449deba9ac50060ca7bd14d58391'
b2sums=('d3cb17a56e3449241ae264d260145d6e2aa607a614cb22fb79a55ef105352380a8f30c8cf22bc25e53700b2a54234380b8050c95f90ac6994156c9daf82dead3'
'cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07')
build() {
@ -58,6 +58,9 @@ package() {
install -Dm 644 "${srcdir}/pwn.conf" -t "${pkgdir}/etc"
install -Dm 644 LICENSE-pwntools.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.{txt,md}
install -Dm 644 extra/bash_completion.d/pwn -t "${pkgdir}/usr/share/bash-completion/completions/"
install -Dm 644 extra/zsh_completion/_pwn -t "${pkgdir}/usr/share/zsh/site-functions/"
}
# vim:set ts=2 sw=2 et: