1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/community/py3-biopython/APKBUILD
omni bdfe53324e community/py3-biopython: drop maintainership
a65b512cdc is their only contribution,
this saves us having to remember or look up their activity and
probability to approve merge requests for this aport.
2025-04-24 08:21:53 +00:00

36 lines
1,017 B
Text

# Contributor: Charles Pritchard <chuck@jumis.com>
# 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
"