31 lines
859 B
Bash
31 lines
859 B
Bash
# Template file for 'python-numexpr'
|
|
pkgname=python-numexpr
|
|
version=2.6.8
|
|
revision=1
|
|
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>"
|
|
homepage="https://github.com/pydata/numexpr"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/n/numexpr/numexpr-${version}.tar.gz"
|
|
checksum=ee8bc7201aa2f1962c67d27c326a11eef9df887d7b87b1278a1d4e722bf44375
|
|
|
|
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
|
|
}
|
|
}
|