void-packages/srcpkgs/python-numexpr/template
2019-12-23 18:05:18 +01:00

31 lines
859 B
Bash

# Template file for 'python-numexpr'
pkgname=python-numexpr
version=2.7.0
revision=2
wrksrc="numexpr-${version}"
build_style=python-module
pycompile_module="numexpr"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel python-numpy python3-numpy"
depends="python-numpy"
short_desc="Fast numerical expression evaluator for NumPy (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/pydata/numexpr"
distfiles="${PYPI_SITE}/n/numexpr/numexpr-${version}.tar.gz"
checksum=37324b5981b8962102bdc8640c4f05f5589da5d1df2702418783085cb78ca217
post_install() {
vlicense LICENSE.txt
}
python3-numexpr_package() {
depends="python3-numpy"
pycompile_module="numexpr"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}