1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/py3-matplotlib-venn/APKBUILD
2023-02-27 20:10:01 +00:00

33 lines
1.1 KiB
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-matplotlib-venn
_pkgorig=matplotlib-venn
pkgver=0.11.9
pkgrel=0
pkgdesc="Functions for plotting area-proportional two- and three-way Venn diagrams in matplotlib"
url="https://github.com/konstantint/matplotlib-venn"
arch="noarch !riscv64" # py3-matplotlib
license="MIT"
depends="python3 py3-matplotlib py3-scipy py3-numpy"
checkdepends="python3-dev py3-pytest"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/konstantint/$_pkgorig/archive/$pkgver/$_pkgorig-$pkgver.tar.gz
fix-imports.patch"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
c59bbd697497e090355d761fd11d65f05e28f4650b6c258173a4ac1ce63b32ec16866626a309ff2fbabf282b23e3e76db38599e61a09f6978a46814a5cc8aa6f py3-matplotlib-venn-0.11.9.tar.gz
a5886263f373fa1705b4afc93488338e5f09296bb6640bea4ff865fa5485e95c1299aa7208d741652a903fbb26beb30069f2a2adb0b74ba1da8414d0ac8885cb fix-imports.patch
"