3 pkgname=python-fastbencode
6 pkgdesc='Implementation of bencode with optional fast C extensions'
8 url='https://github.com/breezy-team/fastbencode'
11 makedepends=(python-build python-installer cython python-setuptools python-wheel)
12 source=(https://pypi.io/packages/source/f/fastbencode/fastbencode-$pkgver.tar.gz)
13 sha256sums=('578eb9c4700d6705d71fbc8d7d57bca2cd987eca2cec1d9e77b9e0702db1e56f')
16 cd fastbencode-$pkgver
17 python -m build --wheel --no-isolation
21 cd fastbencode-$pkgver
22 python -m unittest discover -vs fastbencode/tests
26 cd fastbencode-$pkgver
27 python -m installer --destdir="$pkgdir" dist/*.whl