# Contributor: Charles Pritchard # Maintainer: pkgname=py3-biopython pkgver=1.85 pkgrel=0 pkgdesc="Python tools for computational molecular biology." options="!check" # test_NCBI_qblast hangs url="https://biopython.org/" arch="all" license="BSD-3-Clause" depends="py3-numpy python3" makedepends="py3-gpep517 py3-setuptools py3-wheel py3-numpy-dev python3-dev" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/b/biopython/biopython-$pkgver.tar.gz" builddir="$srcdir/biopython-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m unittest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" a9bff4fdf34f71f74f35a9bbf25887d6fcf84622d77854e11b0da418b6ff88c7d6e49474d82ca2e4da782ea07cc28f03b43b219b798a806ab02e11af21cd9dab biopython-1.85.tar.gz "