aports/testing/py3-proplot/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
this is only a partial rebuild,
including stuff that i built on my personal machine
with python 3.12.2; might fail with 3.12.3
2024-04-15 17:00:47 +02:00

41 lines
1.0 KiB
Plaintext

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-proplot
pkgver=0.9.7
pkgrel=2
pkgdesc="Succinct matplotlib wrapper for making beautiful, publication-quality graphics"
url="https://github.com/proplot-dev/proplot"
arch="noarch"
license="MIT"
depends="py3-matplotlib py3-numpy"
makedepends="
py3-gpep517
py3-setuptools_scm
py3-wheel
"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://github.com/proplot-dev/proplot/archive/v$pkgver/proplot-$pkgver.tar.gz"
builddir="$srcdir/proplot-$pkgver"
options="!check" # issues during the collection | will be fixed before moving to community
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
pytest
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
3fce95d8bad6ed3e691251dfe4fdb6434bbce13d8bce28e8cb2696d390a29687fa033eabd0791b462ea23ca670244d82ac66a0b6e0361a39fb0ba3dadf736b0e proplot-0.9.7.tar.gz
"