Date: Monday, September 3, 2018 @ 19:07:20 Author: anthraxx Revision: 376448
upgpkg: impacket 0.9.17-1 Modified: impacket/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-09-03 18:57:05 UTC (rev 376447) +++ PKGBUILD 2018-09-03 19:07:20 UTC (rev 376448) @@ -3,16 +3,16 @@ # Contributor: Paolo Giangrandi <peoro.n...@gmail.com> pkgname=impacket -pkgver=0.9.15 +pkgver=0.9.17 pkgrel=1 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' arch=('any') license=('Apache') -depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl') -checkdepends=('python2-pytest') +depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl' 'python2-six' 'python2-ldap3' 'python2-flask') +checkdepends=('python2-pytest' 'python2-pytest-runner') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('31b1b059d01071319bccfc9a57b23eed175bfba61961ec425553916e7d1940ff6ef53d79ef5e43963e1b4f6037f50489ad22cd6935a53f2cd82bc5b2c6d741ce') +sha512sums=('c6a84b5f3e0e08bc44c6648c0c65048c5b9ee63ce7706896f4f9a3c061b3bf64e5e68ca87794162cfc730144eff60c392eea2548edeaba61e04350c857e69c9b') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_} @@ -19,11 +19,17 @@ find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; } +package() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + python2 setup.py build +} + check() { cd ${pkgname}-${pkgname}_${pkgver//./_} + python2 setup.py test PYTHONPATH="./impacket:${PYTHONPATH}" \ PYTHONDONTWRITEBYTECODE=1 \ - py.test2 impacket/testcases/ImpactPacket + py.test2 tests/ImpactPacket } package() {