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