2023-09-25 12:58:01 +00:00

35 lines
1.1 KiB
Plaintext

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-complexheatmap
pkgver=1.5.4
pkgrel=1
pkgdesc="A Python package to plot complex heatmap (clustermap)"
url="https://github.com/DingWB/PyComplexHeatmap"
arch="noarch"
license="MIT"
depends="python3 py3-matplotlib py3-numpy py3-pandas py3-seaborn"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/PyComplexHeatmap/PyComplexHeatmap-$pkgver.tar.gz"
builddir="$srcdir/PyComplexHeatmap-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
# no tests provided by the upstream; use smoke test for now
check() {
PYTHONPATH=build/lib python3 -c "from PyComplexHeatmap import *"
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
08f324ae2d4eb45a78fcf6c79489f03d35fe1edfec02c83207ed3b82c93015c52ef53adb34fac54a7a806b520a549c40019240781a9143c2e6d12c642f464278 py3-complexheatmap-1.5.4.tar.gz
"