aports/community/py3-patchworklib/APKBUILD
2023-04-25 07:05:15 +00:00

39 lines
996 B
Plaintext

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-patchworklib
pkgver=0.5.2
pkgrel=1
pkgdesc="A subplot manager for intuitive layouts in matplotlib, seaborn, and plotnine"
url="https://github.com/ponnhide/patchworklib"
arch="noarch !s390x !armhf" # py3-plotnine
license="GPL-3.0-or-later"
depends="
python3
py3-dill
py3-matplotlib
py3-numpy
py3-pandas
py3-seaborn
"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-plotnine"
subpackages="$pkgname-pyc"
source="https://github.com/ponnhide/patchworklib/archive/v$pkgver/patchworklib-$pkgver.tar.gz"
builddir="$srcdir/patchworklib-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
37c86a3ea11108c44a56069a8d88ee29fe1e2e3066ae0c62ec9e5cec2264aca49b2fae200d240c6d47befc8626aa15944cd379b6b93aa7f71537a3d87cbe6a04 patchworklib-0.5.2.tar.gz
"