mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
# 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=1.1.1
|
|
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"
|
|
license="MIT"
|
|
depends="python3 py3-matplotlib py3-scipy py3-numpy"
|
|
checkdepends="py3-pytest-xdist"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/konstantint/$_pkgorig/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
options="!check" # new major version breaks some tests | skip for now
|
|
|
|
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 pytest -n auto
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
b01fe31122d8a4f6914aaa24ad09cc571536952f1d22231c7c59a760c2baafce7d6e7bc91de8bfc1efd5d2aca18371f6b834908382407fdb5add806a137d8e16 py3-matplotlib-venn-1.1.1.tar.gz
|
|
"
|