1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-impacket/APKBUILD
2021-04-05 18:18:45 +00:00

28 lines
988 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-impacket
_pkgname=impacket
pkgver=0.9.22
pkgrel=1
pkgdesc="Collection of Python3 classes providing access to network packets"
url="https://github.com/SecureAuthCorp/impacket"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-impacket" # Backwards compatibility
provides="py-impacket=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -rf "$pkgdir"/usr/share/doc # LICENSE and README.md
}
sha512sums="881ba2c4c2f52b97982ccb5d161c05db7e0461be07f2e4d56e71962bd55019d8b185da32e93f87c2917ceb897cc8e1cb2101bfbca13265f4b614d2a98fa4411c impacket-0.9.22.tar.gz"