Date: Monday, March 29, 2021 @ 11:37:15 Author: kpcyrd Revision: 909036
archrelease: copy trunk to community-any Added: python-pwntools/repos/community-any/PKGBUILD (from rev 909034, python-pwntools/trunk/PKGBUILD) python-pwntools/repos/community-any/pwn.conf (from rev 909034, python-pwntools/trunk/pwn.conf) Deleted: python-pwntools/repos/community-any/PKGBUILD python-pwntools/repos/community-any/pwn.conf ----------+ PKGBUILD | 126 ++++++++++++++++++++++++++++++------------------------------- pwn.conf | 4 - 2 files changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-29 11:37:13 UTC (rev 909035) +++ PKGBUILD 2021-03-29 11:37:15 UTC (rev 909036) @@ -1,63 +0,0 @@ -# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Ding Xiao <tinocodfcds...@mails.tsinghua.edu.cn> -# Contributor: Firmy <firmia...@gmail.com> - -pkgname=python-pwntools -_pyname=pwntools -pkgver=4.3.1 -pkgrel=4 -pkgdesc='CTF framework and exploit development library' -url='https://github.com/Gallopsled/pwntools' -arch=('any') -license=('MIT' 'GPL2' 'BSD') -depends=('python' - 'python-mako' - 'python-pyelftools' - 'python-capstone' - 'ropgadget' - 'python-pyserial' - 'python-requests' - 'python-pip' - 'python-pygments' - 'python-pysocks' - 'python-dateutil' - 'python-packaging' - 'python-psutil' - 'python-intervaltree' - 'python-sortedcontainers' - 'python-unicorn' - 'python-paramiko' - 'ropgadget') -makedepends=('pandoc' 'python-setuptools') -source=(https://github.com/Gallopsled/pwntools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz - pwn.conf) -sha256sums=('9d80cf845d4d6f808d265fcfb8de958ee0cbb2bc52d51aa96e24d9c778224629' - '50916e4e45d026422cd6bfe8de50e7246c61b0b1e0007571e7c04a994282fe89') -b2sums=('7461bf36e010852843cd89f8bd5cfa25ab9a4b9d638b695b66c82727f82ab40c4612923664b9cbdc8b37fa7aaabd1fdc192afdf25a59994d121fcfbfb74c22ea' - 'cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07') - -prepare() { - cd ${_pyname}-${pkgver} - sed 's|>=1.0.2rc1,<1.0.2rc4||' -i setup.py -} - -build() { - cd ${_pyname}-${pkgver} - python setup.py build -} - -check() { - cd "${_pyname}-${pkgver}" - PYTHONPATH=. PWNLIB_NOTERM=true python -c 'import pwn' -} - -package() { - cd ${_pyname}-${pkgver} - python setup.py install -O1 --root="${pkgdir}" --skip-build --only-use-pwn-command - 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} -} - -# vim:set ts=2 sw=2 et: Copied: python-pwntools/repos/community-any/PKGBUILD (from rev 909034, python-pwntools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-29 11:37:15 UTC (rev 909036) @@ -0,0 +1,63 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Ding Xiao <tinocodfcds...@mails.tsinghua.edu.cn> +# Contributor: Firmy <firmia...@gmail.com> + +pkgname=python-pwntools +_pyname=pwntools +pkgver=4.4.0 +pkgrel=1 +pkgdesc='CTF framework and exploit development library' +url='https://github.com/Gallopsled/pwntools' +arch=('any') +license=('MIT' 'GPL2' 'BSD') +depends=('python' + 'python-mako' + 'python-pyelftools' + 'python-capstone' + 'ropgadget' + 'python-pyserial' + 'python-requests' + 'python-pip' + 'python-pygments' + 'python-pysocks' + 'python-dateutil' + 'python-packaging' + 'python-psutil' + 'python-intervaltree' + 'python-sortedcontainers' + 'python-unicorn' + 'python-paramiko' + 'ropgadget') +makedepends=('pandoc' 'python-setuptools') +source=(https://github.com/Gallopsled/pwntools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz + pwn.conf) +sha256sums=('d6eb197a3173fc66e3479b65211d002951bd719215063e5bd7a2af6c767d2b76' + '50916e4e45d026422cd6bfe8de50e7246c61b0b1e0007571e7c04a994282fe89') +b2sums=('bb9f313f17f8c43df2387db6f47f7337a8c615419f5d6e99dfb447782a7189a60d4dc012beb90c2419c370aa083cbea0810d6518f181d88dcc8c9e99ff3c21df' + 'cac0a12eea8abd3d2ee21632e7f2281e7e35c2d7839cfbcba83ae5d0e8f427e9cc2462a6d17d187252b99d9dbbb14393b9d5a63996c42043f553e9b66bfe9e07') + +prepare() { + cd ${_pyname}-${pkgver} + sed 's|>=1.0.2rc1,<1.0.2rc4||' -i setup.py +} + +build() { + cd ${_pyname}-${pkgver} + python setup.py build +} + +check() { + cd "${_pyname}-${pkgver}" + PYTHONPATH=. PWNLIB_NOTERM=true python -c 'import pwn' +} + +package() { + cd ${_pyname}-${pkgver} + python setup.py install -O1 --root="${pkgdir}" --skip-build --only-use-pwn-command + 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} +} + +# vim:set ts=2 sw=2 et: Deleted: pwn.conf =================================================================== --- pwn.conf 2021-03-29 11:37:13 UTC (rev 909035) +++ pwn.conf 2021-03-29 11:37:15 UTC (rev 909036) @@ -1,2 +0,0 @@ -[update] -interval=never Copied: python-pwntools/repos/community-any/pwn.conf (from rev 909034, python-pwntools/trunk/pwn.conf) =================================================================== --- pwn.conf (rev 0) +++ pwn.conf 2021-03-29 11:37:15 UTC (rev 909036) @@ -0,0 +1,2 @@ +[update] +interval=never