aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-20 11:24:47 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-07-20 11:24:55 +0000
commite962294bf39336f76b2973d6ffd43e7811cdce39 (patch)
tree47732633903d5cb4e3bbf28823c720540e7a2bb7
parentc2e625d05aa53b758882a177d40fb3537c434739 (diff)
downloadaports-e962294bf39336f76b2973d6ffd43e7811cdce39.tar.bz2
aports-e962294bf39336f76b2973d6ffd43e7811cdce39.tar.xz
testing/py-impacket: ugprade to 0.9.15
-rw-r--r--testing/py-impacket/APKBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/testing/py-impacket/APKBUILD b/testing/py-impacket/APKBUILD
index eb23767ef2..3453555514 100644
--- a/testing/py-impacket/APKBUILD
+++ b/testing/py-impacket/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-impacket
_pkgname=impacket
-pkgver=0.9.13
+pkgver=0.9.15
pkgrel=0
pkgdesc="A collection of Python classes providing access to network packets"
url="http://code.google.com/p/impacket/"
@@ -14,28 +14,18 @@ makedepends="python-dev"
install=""
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
- python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python setup.py install --root=$pkgdir/ --optimize=1 || return 1
}
-md5sums="db305aff0dae6a3c09f873a2da248387 impacket-0.9.13.tar.gz"
-sha256sums="56bb18010f13a33947c24d31f51e16d8c688cf9c753c1d52f79a9ba64e5c0dca impacket-0.9.13.tar.gz"
-sha512sums="9c9ba1ea12776b023a4fec4b0f6f60cfed33d337da948111951f452548fd213a5f48698126a9c8735706ae5d05111f0de3f20b17c221567ca98d2c84bb22ccef impacket-0.9.13.tar.gz"
+md5sums="53fb6d1c375dd3ef8fff4ce2b7ff8f15 impacket-0.9.15.tar.gz"
+sha256sums="26af9c0734525448e4a8d56c9c7b05df0146497ec71101c33812f3f3503201eb impacket-0.9.15.tar.gz"
+sha512sums="1d061d19c873c58fc243bc0d49270d39a43fd3c82814862f1d4d1ac0241f162d1f3be765d0778243fd911736c4652dcdd7110ea5f86d1086b1829fa836f61b16 impacket-0.9.15.tar.gz"