# Maintainer: Kuan-Yen Chou pkgname=python-pypacker pkgver=5.4 pkgrel=2 pkgdesc="The fastest and simplest packet manipulation lib for Python" arch=('x86_64') url="https://gitlab.com/mike01/pypacker" license=('GPL') depends=('python' 'python-netifaces') makedepends=('python-build' 'python-installer' 'python-wheel') source=("https://gitlab.com/mike01/pypacker/-/archive/v$pkgver/pypacker-v$pkgver.tar.gz") sha256sums=('aee51eb3c506fee7d7a9055c7f43021666cc272d57c989c3482bc906bf4eb68d') build() { cd "$srcdir/pypacker-v$pkgver" python -m build --wheel --no-isolation } package() { cd "$srcdir/pypacker-v$pkgver" python -m installer \ --destdir="$pkgdir" \ --prefix=/usr \ --compile-bytecode=1 \ dist/*.whl } # vim: set ts=4 sw=4 et :