void-packages/srcpkgs/python3-numexpr/template

26 lines
760 B
Bash

# Template file for 'python3-numexpr'
pkgname=python3-numexpr
version=2.10.1
revision=1
build_style=python3-pep517
build_helper="numpy"
make_check_args="-k not(test_max_threads_unset)"
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel python3-numpy"
depends="python3-numpy"
checkdepends="${depends} python3-pytest"
short_desc="Fast numerical expression evaluator for NumPy (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/pydata/numexpr"
distfiles="https://github.com/pydata/numexpr/archive/v${version}.tar.gz"
checksum=e499bd19a7fd9803d5ec1b2cff2e0a11a2f01a109d5326e5a09eff590448c793
pre_check() {
python3 setup.py build_ext --inplace
}
post_install() {
vlicense LICENSE.txt
}