# Template file for 'python3-ipyparallel'
pkgname=python3-ipyparallel
version=8.8.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-entrypoints python3-decorator python3-pyzmq python3-traitlets
 python3-ipython python3-jupyter_client python3-ipython_ipykernel
 python3-tornado python3-psutil python3-dateutil python3-tqdm"
checkdepends="$depends python3-pytest python3-pytest-asyncio
 python3-testpath python3-matplotlib python3-joblib python3-numpy
 python3-pandas"
short_desc="Interactive parallel computing in Python"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://ipyparallel.readthedocs.io/"
changelog="https://ipyparallel.readthedocs.io/en/latest/changelog.html"
distfiles="${PYPI_SITE}/i/ipyparallel/ipyparallel-${version}.tar.gz"
checksum=2404d59f86a3aaa3bd27bf6b57df777bff5c1363c1c6e60403759d16ed42dc7b
# having HOME=/tmp confuses a few tests
make_check_pre="env HOME=/home"

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
	# tests are broken in musl
	make_check=no
fi

post_install() {
	vlicense COPYING.md
	mv "${DESTDIR}/usr/etc" "${DESTDIR}/etc"
}
