# Maintainer: Michael Schubert github.com/mschubert/PKGBUILDs # Contributor: Clint Valentine pkgname=python-pybigwig _name=pyBigWig pkgver=0.3.22 pkgrel=1 pkgdesc="A Python extension for quick access to bigWig and bigBed files" arch=(any) url=https://github.com/deeptools/pyBigWig license=('MIT') depends=(curl python-numpy) makedepends=(python-build python-installer python-wheel) options=(!emptydirs) source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) sha256sums=('5d4426f754bd7b7f6dc21d6c3f93b58a96a65b6eb2e578ae03b31a71272d2243') build() { cd "$_name-$pkgver" python -m build --wheel --no-isolation --skip-dependency-check } package() { cd "$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }