1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
4 _pyname=${pkgname#python-}
7 pkgdesc='PPM compression/decompression library'
9 url="https://codeberg.org/miurahr/$_pyname"
12 makedepends=(python-{build,installer,wheel}
13 python-setuptools-scm)
14 checkdepends=(python-pytest-benchmark python-py-cpuinfo python-hypothesis)
15 _archive="$_pyname-$pkgver"
16 source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/${_pyname}/$_archive.tar.gz")
17 sha256sums=('075c9bd297e3b0a87dd7aeabca7fee668218acbe69ecc1c6511064558de8840f')
26 local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
27 export PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_pyver"
33 python -m installer -d "$pkgdir" dist/*.whl